Hi.

I'm trying to get the jsmol applet running on JupyterHub. I'm using 
JupyterHub 0.3.0 (installed via pip) and Sage 6.10. The applet works nicely 
in a locally running Jupyter, but inside JupyterHub, it fails. I tried to 
"jupyter nbextension install" jsmol, without success.

I did some searching, and it seems as if the jsmol nbextension, in 
particular JSmol.min.js, is referenced via the path /nbextensions/jsmol 
from e.g. script tags, which is fine for Jupyter, but for JupyterHub 
probably needs to be prefixed with /user/$USER. Most requests under / 
apparently get redirected to /hub, where the JupyterHub API resides, but 
not the nbextensions. There is an option path_to_jsmol in the JSMolHtml 
class which might be used for this purpose, but it is apparently not 
properly set from backend_ipython.py.

I would be grateful for any advice.

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

Reply via email to