Ralf,

Thanks for this. I tried your installation procedure on my "Linux Mint
19.3 Tricia base: Ubuntu 18.04 bionic"  system and everything seemed
to work fine except the installation of JupyText.

After performing the steps in
  * (optional) Install JupyText
when I run
  jfricas $FDIR/foo.input
or even just
  jfricas
I get the error message:
[C 12:38:09.008 NotebookApp] Bad config encountered during initialization:
[C 12:38:09.008 NotebookApp] The 'contents_manager_class' trait of
<notebook.notebookapp.NotebookApp object at 0x7fa3b6333860> instance
must be a type, but 'jupytext.TextFileContentsManager' could not be
imported

When I checked the config file:
  xed $HOME/.jupyter/jupyter_notebook_config.py
I noticed that the installation command
--
3. Make Jupytext available.

sed -i 's|^# *c.NotebookApp.contents_manager_class
=.*|c.NotebookApp.contents_manager_class =
"jupytext.TextFileContentsManager"|;s|^#
*c.NotebookApp.use_redirect_file = .*|c.NotebookApp.use_redirect_file
= False|' $HOME/.jupyter/jupyter_notebook_config.py
--
failed to add the line
  c.NotebookApp.use_redirect_file = False
presumably because the file did not previously contain any line like
  # *c.NotebookApp.use_redirect_file = .*

Adding the line manually did not help.

In any case I guess jupyter is really complaining about
"jupytext.TextFileContentsManager". Commenting this line out allows
jfricas to start again but obviously
  jfricas $FDIR/foo.input
still does not work.

Regards,
Bill.

On Sun, 1 May 2022 at 16:22, Ralf Hemmecke <[email protected]> wrote:
>
> Hello,
>
> unfortunately there were some issues at
> https://github.com/fricas/jfricas/issues
> claiming that jfricas didn't work although it worked perfectly for myself.
>
> Kurt figured out that there were compatibility problems with the
> webserver hunchentoot (that was loaded when jfricas started) and the
> SBCL version on which the current 1,3,7 release is based on.
>
> After quite some discussion and many wasted hours in finding a simple
> way for a user to make jFriCAS work, I decided that the simplest method
> is to put hunchentoot into the FRICASsys image and distribute it
> together with FriCAS. The main goal was to make it simple for a user.
>
> I have now compiled a binary FriCAS distribution that includes
> hunchentoot and that works together with jfricas (no no -- not from PyPI).
>
> I would like to ask the community to give feedback to
>
> http://hemmecke.org/fricas/dist/1.3.7/
>
> any (un)successful feedback is welcome.
>
> Ralf (with quite a lot of help from Kurt and Qian)
>
> --
> You received this message because you are subscribed to the Google Groups 
> "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/fricas-devel/8e7a57bb-42d4-3ab8-ccd4-8b03eca37090%40hemmecke.org.

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/CAC6x94Ro0ijJYPUPuZYdp8emX1VTyb-%3Dd1UM%2BXafFHcve-7tmA%40mail.gmail.com.

Reply via email to