But nothing happens. I do not see anything in my browser. But I can
see that Jupyter is running if I enter
   http://localhost:8888/?token=c5c300794e7855ba2e9e1d32a372041518f27089419dcef2
in the browser. If I logout and then exit (control-C) the Jupyter
session in the terminal, then

Yes, that also puzzled me in the beginning. That problem should go away if you set

c.NotebookApp.use_redirect_file = False

in $HOME/.jupyter/jupyter_notebook_config.py (under the assumption that you describe the same problem that I saw in Ubuntu 22.04).

Maybe I still need the redirect line?  Should I add it manually or
should the sed script be modified a little?

Can you figure out why the sed script didn't work? There obviously can be bugs, since I only claim that it "works for me". ;-)

The actual problem is the jupytext line. What happened to
c.NotebookApp.contents_manager_class in your case? Obviously it points
to jupytext.

Yes. I see
--
c.NotebookApp.contents_manager_class = "jupytext.TextFileContentsManager"
--

Looks fine.

I see the following when I install
--
(jfricas) wspage@desktop:~$ pip3 install jupytext

Do you see a jupytext directory under
./fricas/venv/jfricas/lib/python3.6/site-packages
?

But running this command:

(jfricas) wspage@desktop:~$ jfricas $FDIR/foo.input

Hmmmm... what actually ended up in the jfricas script?

You should see

=====
source /home/wspage/fricas/venv/jfricas/bin/activate
jupyter notebook $1
=====

I somehow have the suspicion that you have another jupyter installed and "jfricas" does not switch on the virtualenv under $HOME/fricas. I remember that I saw a similar output to what you reported and then realized that my paths were messed up and I even called the wrong jfricas (of course with differnt content).

Hope that helps.

Ralf

--
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/a81be3bc-e8c8-0056-da26-d5909b7a653e%40hemmecke.org.

Reply via email to