Hi,

With a colleague well known here (N. T. from Orsay) we started to play
with Jupyterhub and Sage during a rainy social day of the congress of
the French Society for Applied Maths (SMAI).

Actually, building a Jupyterhub server is something easy, and running
Sage in it also. But there remain for me two problems:

-> the first one in certainly the less important: a part of the
documentation cannot be accessed when running the sage kernel (this is
the "inside" part, stored in sage's home)  (404 not found...).

-> the second one is, may be more important: I was not able to run Jmol;
the canonic example is:

var("u v")
f = (lambda u,v: cos(u), lambda u,v: sin(u)+cos(v), lambda u,v: sin(v))

which only produces an empty cell as result.

I guess these problems can be related to the configuration of jupyter,
which is in /usr/local/share/jupyter/{hub,kernels}

---> /usr/local/share/jupyter/kernels contains a directory sage:

-------> in this directory  I have  the file kernel.json:
{"display_name": "Sage", "argv": ["/opt/sage/sage", "-python", "-m",
"sage.repl.ipython_kernel", "-f", "{connection_file}"]}
(which is correct, but is it sufficient ?)

--------> in the same directory /usr/local/share/jupyter/kernels/sage, I
have "doc" which is a symbolic link to /opt/sage/src/doc/output/html/en
(/opt/sage is sage's home).


--->/usr/local/share/jupyter/hub contains nbextensions/jsmol which was
copied from my $HOME/.ipython on an other machine... There is certainly
something to change, but what ?

Yours.

t.d.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

<<attachment: tdumont.vcf>>

Reply via email to