Hi!<div><br></div><div>I am following the development branch for ipython, and seems that the problem was with the commit</div><div><br></div><div><a href="https://github.com/ipython/ipython/commit/2a436aee039c5cf851d045062142371876685ad3">https://github.com/ipython/ipython/commit/2a436aee039c5cf851d045062142371876685ad3</a></div>
<div><br></div><div>changing back to </div><div><br></div><div><span style="background-color:rgb(255,255,204);font-family:&#39;Bitstream Vera Sans Mono&#39;,Courier,monospace;font-size:12px;line-height:16px;white-space:pre">if </span><span class="x" style="background-color:rgb(255,255,204);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font:inherit;font-family:&#39;Bitstream Vera Sans Mono&#39;,Courier,monospace;line-height:16px;white-space:pre">len(self.browser) == 0</span><span style="background-color:rgb(255,255,204);font-family:&#39;Bitstream Vera Sans Mono&#39;,Courier,monospace;font-size:12px;line-height:16px;white-space:pre">:</span></div>
<div><font face="&#39;Bitstream Vera Sans Mono&#39;, Courier, monospace"><span style="font-size:12px;line-height:16px;white-space:pre"><br></span></font></div><div><font face="&#39;Bitstream Vera Sans Mono&#39;, Courier, monospace"><span style="font-size:12px;line-height:16px;white-space:pre">makes my notebook work again...</span></font></div>
<div><font face="&#39;Bitstream Vera Sans Mono&#39;, Courier, monospace"><span style="font-size:12px;line-height:16px;white-space:pre"><br></span></font></div><div><font face="&#39;Bitstream Vera Sans Mono&#39;, Courier, monospace"><span style="font-size:12px;line-height:16px;white-space:pre">Cheers, </span></font></div>
<div><font face="&#39;Bitstream Vera Sans Mono&#39;, Courier, monospace"><span style="font-size:12px;line-height:16px;white-space:pre"><br></span></font></div><div><font face="&#39;Bitstream Vera Sans Mono&#39;, Courier, monospace"><span style="font-size:12px;line-height:16px;white-space:pre">Gerardo</span></font></div>
<div><font face="&#39;Bitstream Vera Sans Mono&#39;, Courier, monospace"><span style="font-size:12px;line-height:16px;white-space:pre"><br></span></font></div><div><font face="&#39;Bitstream Vera Sans Mono&#39;, Courier, monospace"><span style="font-size:12px;line-height:16px;white-space:pre"><br>
</span></font></div><div><br></div><div><br><br><div class="gmail_quote">On Sun, Feb 19, 2012 at 11:25 PM, Brian Granger <span dir="ltr">&lt;<a href="mailto:ellisonbg@gmail.com">ellisonbg@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">By default, the notebook with open a web browser.  There appears to be<br>
a problem in that part of the code on your system. Not sure what would<br>
cause that failure, but this should get you around it:<br>
<br>
ipython notebook --no-browser<br>
<br>
Cheers,<br>
<br>
Brian<br>
<div><div class="h5"><br>
On Sun, Feb 19, 2012 at 1:22 PM, Gerardo Lacy Mora &lt;<a href="mailto:glacycr@gmail.com">glacycr@gmail.com</a>&gt; wrote:<br>
&gt; Hi!<br>
&gt;<br>
&gt; I am getting the following error when trying to open a notebook:<br>
&gt;<br>
&gt; Traceback (most recent call last):<br>
&gt;   File &quot;/Library/Frameworks/Python.framework/Versions/2.6/bin/./ipython&quot;,<br>
&gt; line 7, in &lt;module&gt;<br>
&gt;     launch_new_instance()<br>
&gt;   File<br>
&gt; &quot;/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/IPython/frontend/terminal/ipapp.py&quot;,<br>
&gt; line 406, in launch_new_instance<br>
&gt;     app.start()<br>
&gt;   File<br>
&gt; &quot;/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/IPython/frontend/terminal/ipapp.py&quot;,<br>
&gt; line 376, in start<br>
&gt;     return self.subapp.start()<br>
&gt;   File<br>
&gt; &quot;/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/IPython/frontend/html/notebook/notebookapp.py&quot;,<br>
&gt; line 447, in start<br>
&gt;     browser = webbrowser.get(self.browser)<br>
&gt;   File<br>
&gt; &quot;/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/webbrowser.py&quot;,<br>
&gt; line 47, in get<br>
&gt;     command = _synthesize(browser)<br>
&gt;   File<br>
&gt; &quot;/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/webbrowser.py&quot;,<br>
&gt; line 84, in _synthesize<br>
&gt;     cmd = browser.split()[0]<br>
&gt; IndexError: list index out of range<br>
&gt;<br>
&gt; What might be the problem?<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; -Gerardo<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; IPython-dev mailing list<br>
&gt; <a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
&gt; <a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
&gt;<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Brian E. Granger<br>
Cal Poly State University, San Luis Obispo<br>
<a href="mailto:bgranger@calpoly.edu">bgranger@calpoly.edu</a> and <a href="mailto:ellisonbg@gmail.com">ellisonbg@gmail.com</a><br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</font></span></blockquote></div><br></div>