[IPython-dev] error initiating ipython notebook
Brian Granger
ellisonbg at gmail.com
Sun Feb 19 16:25:18 EST 2012
By default, the notebook with open a web browser. There appears to be
a problem in that part of the code on your system. Not sure what would
cause that failure, but this should get you around it:
ipython notebook --no-browser
Cheers,
Brian
On Sun, Feb 19, 2012 at 1:22 PM, Gerardo Lacy Mora <glacycr at gmail.com> wrote:
> Hi!
>
> I am getting the following error when trying to open a notebook:
>
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.6/bin/./ipython",
> line 7, in <module>
> launch_new_instance()
> File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/IPython/frontend/terminal/ipapp.py",
> line 406, in launch_new_instance
> app.start()
> File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/IPython/frontend/terminal/ipapp.py",
> line 376, in start
> return self.subapp.start()
> File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/IPython/frontend/html/notebook/notebookapp.py",
> line 447, in start
> browser = webbrowser.get(self.browser)
> File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/webbrowser.py",
> line 47, in get
> command = _synthesize(browser)
> File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/webbrowser.py",
> line 84, in _synthesize
> cmd = browser.split()[0]
> IndexError: list index out of range
>
> What might be the problem?
>
> Thanks
>
> -Gerardo
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
--
Brian E. Granger
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu and ellisonbg at gmail.com
More information about the IPython-dev
mailing list