Closed schrum2 closed 1 year ago
Sorry, accidentally posted before I was finished. I did look at the file in question, and saw this code:
(defmacro with-timeout (timeout &body body)
#+clisp
`(mt:with-timeout (,timeout (error 'timeout))
,@body)
#+(or allegro cmucl)
`(mp:with-timeout (,timeout (error 'timeout))
,@body)
#+sbcl
`(sb-ext:with-timeout ,timeout
,@body)
#-(or allegro clisp cmucl sbcl)
`(progn
,@body))
I've only tried this using clisp, and would prefer to stick with it rather than trying a different version like sbcl.
I also tried running
(ql:quickload "mt")
but got the error
** - Continuable Error
System "mt" not found
Is there anything I can do to fix this? Is the problem perhaps somehow with the way the GitHub codespace is configured? It's basically just an Ubuntu terminal, but I've worked with their troubleshooting team before regarding weird configuration issues on their images.
mt is an internal package clisp provides. How old is the clisp you're using?
Whatever is installed by the command
sudo apt install clisp
Which is apparently version GNU CLISP 2.49.92 (2018-02-18)
, but like I said, this code worked fine less than a year ago, and given the date on the version number I assume the same version of clisp was being installed at that time when I and others were installing clisp on fresh GitHub codespaces
Yeah, well, the feature was added to parachute in the time since.
The mt:with-timeout
function is documented here: https://clisp.sourceforge.io/impnotes/mt.html#with-timeout
And requires clisp with threads. I guess whatever apt installs does not have threads.
Also the current source for parachute has #+(and clisp mt)
for this function, so your parachute is also out of date.
I have a project on GitHub that I have not used since last November. Whenever I work with the project, I use GitHub codespaces, and I have a set list of instructions for installing needed programs and components so that I can work on the project. One of those components is parachute, and the project worked fine before. However, in the past few months, I suppose that something changed either with the latest parachute version, with how quicklisp works, or possibly this codespaces, but I'm asking here first for advice on the error message since it comes from the parachute source code.
Specifically, on a brand new GitHub codespace, I run the following commands:
Then, I go into
clisp
and run these commands:That last command should install parachute, but leads to this output ending in an error message: