{"action":"created","issue":{"url":"https://api.github.com/repos/probcomp/bayeslite/issues/354","labels_url":"https://api.github.com/repos/probcomp/bayeslite/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/probcomp/bayeslite/issues/354/comments","events_url":"https://api.github.com/repos/probcomp/bayeslite/issues/354/events","html_url":"https://github.com/probcomp/bayeslite/issues/354","id":126009571,"number":354,"title":"Remove dependency on external site cdn.mathjax.org","user":{"login":"raxraxraxraxrax","id":6318314,"avatar_url":"https://avatars.githubusercontent.com/u/6318314?v=3","gravatar_id":"","url":"https://api.github.com/users/raxraxraxraxrax","html_url":"https://github.com/raxraxraxraxrax","followers_url":"https://api.github.com/users/raxraxraxraxrax/followers","following_url":"https://api.github.com/users/raxraxraxraxrax/following{/other_user}","gists_url":"https://api.github.com/users/raxraxraxraxrax/gists{/gist_id}","starred_url":"https://api.github.com/users/raxraxraxraxrax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raxraxraxraxrax/subscriptions","organizations_url":"https://api.github.com/users/raxraxraxraxrax/orgs","repos_url":"https://api.github.com/users/raxraxraxraxrax/repos","events_url":"https://api.github.com/users/raxraxraxraxrax/events{/privacy}","received_events_url":"https://api.github.com/users/raxraxraxraxrax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-11T18:44:16Z","updated_at":"2016-01-11T18:47:18Z","closed_at":null,"body":"When cdn.mathjax.org is down, we get a scary-looking warning page upon loading a notebook. It doesn't break core functionality, but it could stop some things from working and we should arguably bring the library in locally so that we don't have to worry about it. "},"comment":{"url":"https://api.github.com/repos/probcomp/bayeslite/issues/comments/170649743","html_url":"https://github.com/probcomp/bayeslite/issues/354#issuecomment-170649743","issue_url":"https://api.github.com/repos/probcomp/bayeslite/issues/354","id":170649743,"user":{"login":"raxraxraxraxrax","id":6318314,"avatar_url":"https://avatars.githubusercontent.com/u/6318314?v=3","gravatar_id":"","url":"https://api.github.com/users/raxraxraxraxrax","html_url":"https://github.com/raxraxraxraxrax","followers_url":"https://api.github.com/users/raxraxraxraxrax/followers","following_url":"https://api.github.com/users/raxraxraxraxrax/following{/other_user}","gists_url":"https://api.github.com/users/raxraxraxraxrax/gists{/gist_id}","starred_url":"https://api.github.com/users/raxraxraxraxrax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raxraxraxraxrax/subscriptions","organizations_url":"https://api.github.com/users/raxraxraxraxrax/orgs","repos_url":"https://api.github.com/users/raxraxraxraxrax/repos","events_url":"https://api.github.com/users/raxraxraxraxrax/events{/privacy}","received_events_url":"https://api.github.com/users/raxraxraxraxrax/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T18:47:18Z","updated_at":"2016-01-11T18:47:18Z","body":"I think it might come from ipython itself? Full error message text: \r\n\r\nFailed to retrieve MathJax from 'https://cdn.mathjax.org/mathjax/latest/MathJax.js'\r\n\r\nMath/LaTeX rendering will be disabled.\r\n\r\nIf you have administrative access to the notebook server and a working internet connection, you can install a local copy of MathJax for offline use with the following command on the server at a Python or IPython prompt:\r\n\r\n>>> from IPython.external import mathjax; mathjax.install_mathjax()\r\n\r\nThis will try to install MathJax into the IPython source directory.\r\n\r\nIf IPython is installed to a location that requires administrative privileges to write, you will need to make this call as an administrator, via 'sudo'.\r\n\r\nWhen you start the notebook server, you can instruct it to disable MathJax support altogether:\r\n\r\n$ ipython notebook --no-mathjax\r\n\r\nwhich will prevent this dialog from appearing."}}