<br><br><div class="gmail_quote">On Sat, Sep 10, 2011 at 13:34, Fernando Perez <span dir="ltr"><<a href="mailto:fperez.net@gmail.com">fperez.net@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Sat, Sep 10, 2011 at 1:25 PM, reckoner <<a href="mailto:reckoner@gmail.com">reckoner@gmail.com</a>> wrote:<br>
>> $> python -c "from IPython.zmq.ipkernel import main; main()"<br>
>><br>
>> -MinRK<br>
><br>
> When I do this I get:<br>
><br>
> --existing --shell=53164 --iopub=57979 --stdin=54810 --hb=0<br>
><br>
> *note* the zero at the end. When I source ipy.vim and try to connect to<br>
> this I get:<br>
><br>
> IPython.zmq.kernelmanager.InvalidPortNumber: The port number for a<br>
> channel cannot be 0.<br>
><br>
> Note that ipy.vim works fine when using the qtconsole, but not using<br>
> this new method.<br>
><br>
> Also, I'm in windows xp with the latest clones from vim-ipython and ipython.<br>
><br>
<br>
</div>I think the issues with port 0 for the heartbeat socket was fixed<br>
post-0.11, so you'll need to use git master for this to work properly,<br>
I'm afraid. We're still a few weeks from realistically looking at an<br>
0.12 release, as we've landed a lot of new code recently that we need<br>
to stabilize.<br></blockquote><div><br></div><div>It's not that serious - the random port is chosen after the message is displayed in 0.11, but it's fine if you just specify the hb port:</div><div><br></div><div>
$> python -c "from IPython.zmq.ipkernel import main; main()" --hb=10101</div><div><br></div><div>Fernando is right, this too is fixed in master.</div><div><br></div><div>-MinRK</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Cheers,<br>
<div><div></div><div class="h5"><br>
f<br>
_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</div></div></blockquote></div><br>