Reputation: 77424
When I launch ipython from the command line, there is no problem whatsoever. But when I invoke ipython notebook, I first get the 'dashboard' tab. If I click 'New Notebook', I get a new tab that remains completely blank (no "In[]" marker, just completely frozen, blank, white browser window).
I tried modifying the profile configuration file that I usually use and getting rid of everything in it (so that it should be just like invoking ipython natively, none of my extra libraries are trying to be imported, etc.). This didn't help at all.
I have also tried running IPython notebook with MathJax turned off, changing the port with --port=
to run on ports that I know are unused and fine, and going into the Firefox settings and turning off the use of a proxy (to be sure to avoid the known Firefox issue with proxies).
None of that stuff helped at all. It matters to get this working in Firefox as well, since the code will be ported to a community Linux server at work where a number of people use IPython Notebook and only Firefox is available. So for the moment, just switching to a different browser is not viable.
Couldn't find any helpful bug reports or previous web pages describing this sort of problem. Any help would be appreciated.
System: running Red Hat 5.5, IPython version 0.12, and Firefox 3.6
Added: I opened the Firefox error console while trying all this, and now I am seeing an error that says the following.
console is not defined
http://127.0.0.1:8892/static/js/notebook.js
I'm searching now for how to resolve this, but pointers would be very helpful.
Upvotes: 4
Views: 2875
Reputation: 3738
In case you're trying to launch a big Notebook, this Notebook may contain a lot of output data that you should strip manually or using the nbstripout utility which precisely strips output from Jupyter and iPython Notebooks.
pip3 install --upgrade nbstripout
nbstripout MY_BIG_NOTEBOOK_FILE.ipynb
Upvotes: 1
Reputation: 38588
From the IPython docs, the Notebook supports the following browsers:
- Chrome
- Safari
- Firefox 6 and above
- Firefox 4 and 5: These browsers have WebSocket support, but it is disabled by default. If you are unable to upgrade, you can enable it by entering about:config in the URL bar and then setting network.websocket.enabled and network.websocket.override-security-block to true.
The notebook is not compatible with FF3. It should give a better message about the browser's deficiency than it seems to be doing. You are right that iptest results are totally unrelated to this.
Upvotes: 3