Despite 19371, I still have problems getting mathjax to work in the Ipython notebook :
Starting from a working directory, to work on a local sheet : charpent@SAP5057241:~/Boulot/DiversRatiche/Abdelaziz$ sage -n ipython ┌────────────────────────────────────────────────────────────────────┐ │ SageMath Version 6.10.beta0, Release Date: 2015-10-15 │ │ Type "notebook()" for the browser-based notebook interface. │ │ Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Warning: this is a prerelease version, and it may be unstable. ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ Please wait while the Sage Notebook server starts... [I 14:43:26.353 NotebookApp] Using MathJax: ../nbextensions/mathjax/MathJax.js [W 14:43:26.393 NotebookApp] Terminals not available (error was No module named terminado) [I 14:43:26.394 NotebookApp] Serving notebooks from local directory: /home/charpent/Boulot/DiversRatiche/Abdelaziz [I 14:43:26.394 NotebookApp] 0 active kernels [I 14:43:26.394 NotebookApp] The IPython Notebook is running at: http://localhost:8888/ [I 14:43:26.394 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). (process:27610): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed *Here I start a local sheet :* [W 14:43:29.939 NotebookApp] Notebook Mod1.ipynb is not trusted [I 14:43:30.300 NotebookApp] Kernel started: ccfa2cd2-604b-452b-901a-18fc550c444a [I 14:43:49.870 NotebookApp] Kernel restarted: ccfa2cd2-604b-452b-901a-18fc550c444a Mathjax works OK in the local sheet [I 14:44:15.435 NotebookApp] Saving file at /Mod1.ipynb [I 14:44:18.950 NotebookApp] Kernel shutdown: ccfa2cd2-604b-452b-901a-18fc550c444a ^C[I 14:44:25.114 NotebookApp] interrupted Serving notebooks from local directory: /home/charpent/Boulot/DiversRatiche/Abdelaziz 0 active kernels The IPython Notebook is running at: http://localhost:8888/ Shutdown this notebook server (y/[n])? y [C 14:44:27.625 NotebookApp] Shutdown confirmed [I 14:44:27.626 NotebookApp] Shutting down kernels charpent@SAP5057241:~/Boulot/DiversRatiche/Abdelaziz$ Now, starting from my home directory : charpent@SAP5057241:~/Boulot/DiversRatiche/Abdelaziz$ cd charpent@SAP5057241:~$ sage -n ipython ┌────────────────────────────────────────────────────────────────────┐ │ SageMath Version 6.10.beta0, Release Date: 2015-10-15 │ │ Type "notebook()" for the browser-based notebook interface. │ │ Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Warning: this is a prerelease version, and it may be unstable. ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ Please wait while the Sage Notebook server starts... [I 14:44:33.318 NotebookApp] Using MathJax: ../nbextensions/mathjax/MathJax.js [W 14:44:33.364 NotebookApp] Terminals not available (error was No module named terminado) [I 14:44:33.365 NotebookApp] Serving notebooks from local directory: /home/charpent [I 14:44:33.365 NotebookApp] 0 active kernels [I 14:44:33.365 NotebookApp] The IPython Notebook is running at: http://localhost:8888/ [I 14:44:33.365 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). (process:27723): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed [W 14:44:33.965 NotebookApp] /home/charpent/U: doesn't exist [W 14:44:33.966 NotebookApp] /home/charpent/G: doesn't exist [W 14:44:33.968 NotebookApp] /home/charpent/L: doesn't exist [W 14:44:33.971 NotebookApp] /home/charpent/fauchard-sshfs-lien doesn't exist [W 14:44:33.978 NotebookApp] /home/charpent/G doesn't exist [W 14:44:33.990 NotebookApp] /home/charpent/alpha-sshfs-lien doesn't exist [W 14:44:33.993 NotebookApp] /home/charpent/O: doesn't exist [W 14:44:33.997 NotebookApp] /home/charpent/K: doesn't exist [W 14:44:34.001 NotebookApp] /home/charpent/alpha-dav-lien doesn't exist *Here I get a dialog box telling me that mathjax is unavailable.* [W 14:44:48.352 NotebookApp] 404 GET /notebooks/Boulot/DiversRatiche/nbextensions/mathjax/MathJax.js?config=TeX-AMS_HTML-full,Safe&delayStartupUntil=configured (127.0.0.1): No such file or directory: Boulot/DiversRatiche/nbextensions/mathjax/MathJax.js [W 14:44:48.361 NotebookApp] 404 GET /notebooks/Boulot/DiversRatiche/nbextensions/mathjax/MathJax.js?config=TeX-AMS_HTML-full,Safe&delayStartupUntil=configured (127.0.0.1) 9.10ms referer=http://localhost:8888/notebooks/Boulot/DiversRatiche/Abdelaziz/Mod1.ipynb [I 14:44:49.319 NotebookApp] Kernel started: 32ffd7e9-72d9-46ed-8c4a-76d197f67e3a [I 14:44:59.898 NotebookApp] Kernel shutdown: 32ffd7e9-72d9-46ed-8c4a-76d197f67e3a ^C[I 14:45:10.810 NotebookApp] interrupted Serving notebooks from local directory: /home/charpent 0 active kernels The IPython Notebook is running at: http://localhost:8888/ Shutdown this notebook server (y/[n])? y [C 14:45:13.489 NotebookApp] Shutdown confirmed [I 14:45:13.490 NotebookApp] Shutting down kernels charpent@SAP5057241:~$ It seems clear that something is flawed in Sage's version of the Ipython notebook : its extensions search path seems flawed. Any ideas ? HTH, -- Emmanuel Charpentier -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
