[Python-modules-team] Bug#816275: ipython-notebook can't find	mathjax.js if base_url is set in your config
    Will Manley 
    will at williammanley.net
       
    Mon Feb 29 11:41:26 UTC 2016
    
    
  
Package: ipython-notebook
Version: 2.4.1-1
Severity: normal
Dear Maintainer,
I use IPython notebook on a system serving more than just iPython
notebook.  To do this I set the base_url config option[1].  On with
the debian package this fails when opening a notebook with:
> Failed to retrieve MathJax from '/calibration/static/javascript/mathjax/MathJax.js'
(my base-url is set to '/calibration')
I believe this is due to the patch
[use-system-mathjax-if-available.patch] which doesn't take `base_url`
into account when calling`new_handlers.append`.  I believe the two
places in that patch that refer to mathjax urls should be prepended
should be prepended by the `base_url`.
[1]: https://ipython.org/ipython-doc/3/config/options/notebook.html
[use-system-mathjax-if-available.patch]:
https://sources.debian.net/patches/ipython/2.4.1-1/use-system-mathjax-if-available.patch/
Thanks
Will
    
    
More information about the Python-modules-team
mailing list