[IPython-dev] error initiating ipython notebook
Gerardo Lacy Mora
glacycr at gmail.com
Mon Feb 20 04:43:11 EST 2012
Hi!
I am following the development branch for ipython, and seems that the
problem was with the commit
https://github.com/ipython/ipython/commit/2a436aee039c5cf851d045062142371876685ad3
changing back to
if len(self.browser) == 0:
makes my notebook work again...
Cheers,
Gerardo
On Sun, Feb 19, 2012 at 11:25 PM, Brian Granger <ellisonbg at gmail.com> wrote:
> 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
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20120220/5589cfed/attachment.html>
More information about the IPython-dev
mailing list