Closed CdeMills closed 2 years ago
Hi Pascal, sorry to hear it doesn't work for you.
(1) Please execute maxima, and in the Maxima console, enter:
:lisp (require 'asdf)
What does it say in response?
(2) In the Maxima console, please enter:
:lisp (load "load-maxima-jupyter.lisp")
What does it say?
Thanks for any info, Robert
Maxima 5.43.2 http://maxima.sourceforge.net using Lisp SBCL 2.0.1-5.fc34 Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. (%i1) :lisp (require 'asdf)
(uiop UIOP asdf ASDF) (%i1) :lisp (load "load-maxima-jupyter.lisp") While evaluating the form starting at line 14, column 0 of Maxima encountered a Lisp error:
Component :MAXIMA-JUPYTER not found
Regards
Pascal
There is another session:
(%i1) :lisp (require 'asdf)
(uiop UIOP asdf ASDF)
(%i1) :lisp (load "maxima-jupyter.asd")
T :lisp (load "load-maxima-jupyter.lisp")
While evaluating the form starting at line 14, column 0 of Maxima encountered a Lisp error:
Component :ALEXANDRIA not found, required by #<SYSTEM "maxima-jupyter">
Looks like quicklisp does not automatically pull the required files
Regards
Pascal
Quicklisp automatically installs dependencies, so something is wrong. I suggest starting SCBL and trying (ql:quickload :common-lisp-jupyter)
OK, found the right sequence: 1) install quicklisp 2) launch maxima, then (%i1) :lisp (load "~/quicklisp/setup.lisp")
T (%i1) :lisp (load "load-maxima-jupyter.lisp")
... This fetches a few packages through quicklisp
(%i1) jupyter_install()
Thank you for your help.
Regards
Pascal
Pascal, I'm glad to hear you got it sorted out. It occurs to me that it would be good to have load-maxima-jupyter.lisp
verify that Quicklisp and ASDF are present before trying to do anything. Let me think about that.
Le jeu. 16 déc. 2021 à 07:25, Robert Dodier @.***> a écrit :
Pascal, I'm glad to hear you got it sorted out. It occurs to me that it would be good to have load-maxima-jupyter.lisp verify that Quicklisp and ASDF are present before trying to do anything. Let me think about that.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/robert-dodier/maxima-jupyter/issues/107#issuecomment-995477379, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG46437ZBOTSWKXGO6PPCDURGA6BANCNFSM5KCBQP2Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Dear Robert,
the fix is quite simple with SBCL. Create a file .sbclrc in your $HOME with content: (require 'asdf) (load "~/quicklisp/setup.lisp")
That's it. Those two lines pre-load the asdf tool and enable the quicklisp subsystem. Plain and square.
Now ... the combination of Maxima and Jupyter provides beautifull results. Great work.
Regards
Pascal
Hello, I would like to create a notebook with Maxima. The platform is x86_64 linux machine with Fedora35. 1) installed maxima-runtime-sbcl-5.43.2-5.fc35.x86_64 + maxima-5.43.2-5.fc35.x86_64 2) installed sbcl-2.0.1-5.fc34.x86_64 3) cloned the jupyter-maxima repository and cd() into it 4) launched maxima: Maxima 5.43.2 http://maxima.sourceforge.net using Lisp SBCL 2.0.1-5.fc34 Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. (%i1) load("load-maxima-jupyter.lisp"); ; ; compilation unit aborted ; caught 1 fatal ERROR condition
loadfile: failed to load load-maxima-jupyter.lisp -- an error. To debug this try: debugmode(true);
How to debug further ? I have no idea why the unit fails to compile.
Regards
Pascal Dupuis