1. Phix fix
- Posted by axtens_bruce 6 days ago
- 182 views
Forked from Re: Suddenly very quiet. Is everyone okay?
I just simply got sick of smacking my head against that brick wall
And you left a big dent in that wall too:
(10:38:56.93) c:\Users\bugma\Dropbox\Projects\phix-track>bin\configlet.exe info Updating cached 'problem-specifications' data... Concepts that aren't a prerequisite for any Practice Exercise: none Concepts that aren't practiced by any Practice Exercise: none Concepts that are a prerequisite, but aren't practiced by any Practice Exercise: none There are 26 non-deprecated exercises in `exercism/problem-specifications` that are both unimplemented and not in the track config `exercises.foregone` array: With canonical data: baffling-birthdays bank-account camicia flower-field go-counting intergalactic-transmission killer-sudoku-helper line-up micro-blog parallel-letter-frequency piecing-it-together rational-numbers rectangles relative-distance rest-api satellite sgf-parsing split-second-stopwatch swift-scheduling zipper Without canonical data: dot-dsl error-handling hangman lens-person paasio tree-building Track summary: 0 Concept Exercises (plus 0 work-in-progress) 112 Practice Exercises (plus 0 work-in-progress) 112 Exercises in total (plus 0 work-in-progress) 0 Concepts
2. Re: Phix fix
- Posted by axtens_bruce 6 days ago
- 177 views
So I've installed Linux Phix in WSL and
bugmagnet@LAPTOP-H6HBEGA9:/mnt/c/Users/bugma/Dropbox/Projects/phix-track$ bin/verify-exercises Checking acronym exercise... Checking affine-cipher exercise... Checking all-your-base exercise... /mnt/c/Users/bugma/Dropbox/Projects/phix-track/bin/run.exw:41 assertion failure --> see /mnt/c/Users/bugma/Dropbox/Projects/phix-track/bin/ex.err Press Enter...Checking allergies exercise... Checking alphametics exercise... [ALL THE REST ARE OK]Let's get that fixed and we can move on to other things
3. Re: Phix fix
- Posted by axtens_bruce 6 days ago
- 189 views
assertion failure
I was expecting the assertion failure to be a bit more verbose
4. Re: Phix fix
- Posted by axtens_bruce 6 days ago
- 163 views
So after forking phix-test-runner and building the docker image I get
bugmagnet@LAPTOP-H6HBEGA9:/mnt/c/Users/bugma/Dropbox/Projects/phix-test-runner$ bin/run-tests-in-docker.sh
failed to fetch metadata: fork/exec /usr/local/lib/docker/cli-plugins/docker-buildx: no such file or directory
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Sending build context to Docker daemon 55.3kB
Step 1/8 : FROM ubuntu:24.04
---> 97bed23a3497
Step 2/8 : ARG PHIX_VERSION=1.0.5a
---> Using cache
---> 333753918bc0
Step 3/8 : RUN apt update && apt install -y wget unzip
---> Using cache
---> f42c79a2dd7c
Step 4/8 : RUN zipname="phix.${PHIX_VERSION}.zip" && wget "http://phix.x10.mx/p64" && wget "http://phix.x10.mx/${zipname}" && mv p64 p && chmod 777 p && mv p /usr/local/bin/p && unzip "${zipname}" -d /usr/local/phix && mv /usr/local/phix/builtins /usr/local/bin/builtins && cd /usr/local/bin && find "/usr/local/phix" -type f -executable -exec ln -s {} \; && echo "done?"
---> Using cache
---> ee186e32add7
Step 5/8 : RUN p --version
---> Using cache
---> b6822f2c2694
Step 6/8 : WORKDIR /opt/test-runner
---> Using cache
---> 9b38a9594cc7
Step 7/8 : COPY . .
---> Using cache
---> f15d97d5e365
Step 8/8 : ENTRYPOINT ["/opt/test-runner/bin/run.sh"]
---> Using cache
---> d41568a18f5e
Successfully built d41568a18f5e
Successfully tagged exercism/phix-test-runner:latest
all-fail: testing...
all-fail: done
all-fail: comparing results.json to expected_results.json
empty-file: testing...
empty-file: done
empty-file: comparing results.json to expected_results.json
partial-fail: testing...
partial-fail: done
partial-fail: comparing results.json to expected_results.json
success: testing...
success: done
success: comparing results.json to expected_results.json
syntax-error: testing...
syntax-error: done
syntax-error: comparing results.json to expected_results.json
5. Re: Phix fix
- Posted by petelomax 6 days ago
- 155 views
So I've installed Linux Phix in WSL and
I would need a newbie step-by-step guide that a four-year-old could follow to do that.
bugmagnet@LAPTOP-H6HBEGA9:/mnt/c/Users/bugma/Dropbox/Projects/phix-track$ bin/verify-exercises Checking acronym exercise... Checking affine-cipher exercise... Checking all-your-base exercise... /mnt/c/Users/bugma/Dropbox/Projects/phix-track/bin/run.exw:41 assertion failure --> see /mnt/c/Users/bugma/Dropbox/Projects/phix-track/bin/ex.err Press Enter...Checking allergies exercise... Checking alphametics exercise... [ALL THE REST ARE OK]
Let's get that fixed and we can move on to other things
assertion failure
I was expecting the assertion failure to be a bit more verbose
Line 41 appears to be assert(create_directory(tmp_dir),"cannot create directory "&tmp_dir).
6. Re: Phix fix
- Posted by axtens_bruce 5 days ago
- 130 views
So I've installed Linux Phix in WSL and
I would need a newbie step-by-step guide that a four-year-old could follow to do that.
Will work on that
Line 41 appears to be assert(create_directory(tmp_dir),"cannot create directory "&tmp_dir).
Which I worked out but I was rather hoping the assert would tell me. So shall try to work that out.
7. Re: Phix fix
- Posted by axtens_bruce 5 days ago
- 130 views
So I've installed Linux Phix in WSL and
I would need a newbie step-by-step guide that a four-year-old could follow to do that.
Will work on that
See this video. It's about as simple as it gets. That's not me but my accent is similar.

