[IPython-dev] zmq/pyzmq Version Incompatibilities

David Hirschfeld dave.hirschfeld at gmail.com
Tue May 24 06:17:09 EDT 2011


On Mon, May 16, 2011 at 6:10 AM, MinRK <benjaminrk at gmail.com> wrote:
> My guess is that these are port conflict issues.  I believe Permission
> Denied is what happens when you try to bind to an in-use port, but
> maybe that's not accurate.
>
> I don't know if this would change anything, but do you get any
> different output if you do the Windows 'run as administrator' trick?
> (I've never done such a thing with a command-line script).
>

I am an administrator on my machine. I did try specifically opening a
terminal as admin and running nosetests from there with the same
results.

If I open up the debugger on the exception I get the attached call
stack where it can be seen that it's trying to bind to
tcp://127.0.0.1:64385

If I use netstat to check what ports are being taken there's no
mention of 127.0.0.1:64385

C:\Users\dhirschfeld>netstat -ao | grep LISTENING
  TCP    0.0.0.0:135            DavePC:0             LISTENING       160
  TCP    0.0.0.0:445            DavePC:0             LISTENING       4
  TCP    0.0.0.0:3389           DavePC:0             LISTENING       1292
  TCP    0.0.0.0:8009           DavePC:0             LISTENING       7848
  TCP    0.0.0.0:8081           DavePC:0             LISTENING       2588
  TCP    0.0.0.0:9535           DavePC:0             LISTENING       1820
  TCP    0.0.0.0:9593           DavePC:0             LISTENING       1804
  TCP    0.0.0.0:9594           DavePC:0             LISTENING       1804
  TCP    0.0.0.0:9595           DavePC:0             LISTENING       1804
  TCP    0.0.0.0:33354          DavePC:0             LISTENING       1692
  TCP    0.0.0.0:49152          DavePC:0             LISTENING       692
  TCP    0.0.0.0:49153          DavePC:0             LISTENING       592
  TCP    0.0.0.0:49154          DavePC:0             LISTENING       940
  TCP    0.0.0.0:53638          DavePC:0             LISTENING       1524
  TCP    0.0.0.0:63961          DavePC:0             LISTENING       816
  TCP    0.0.0.0:64084          DavePC:0             LISTENING       780
  TCP    0.0.0.0:64089          DavePC:0             LISTENING       4904
  TCP    127.0.0.1:1434         DavePC:0             LISTENING       2224
  TCP    127.0.0.1:9592         DavePC:0             LISTENING       1804
  TCP    127.0.0.1:21584        DavePC:0             LISTENING       1072
  TCP    127.0.0.1:55376        DavePC:0             LISTENING       6364
  TCP    127.0.0.1:58862        DavePC:0             LISTENING       6364
  TCP    127.0.0.1:58901        DavePC:0             LISTENING       6364
  TCP    127.0.0.1:63963        DavePC:0             LISTENING       1692
  TCP    127.0.0.1:63964        DavePC:0             LISTENING       1804
  TCP    [::]:135               DavePC:0             LISTENING       160
  TCP    [::]:445               DavePC:0             LISTENING       4
  TCP    [::]:3389              DavePC:0             LISTENING       1292
  TCP    [::]:49152             DavePC:0             LISTENING       692
  TCP    [::]:49153             DavePC:0             LISTENING       592
  TCP    [::]:49154             DavePC:0             LISTENING       940
  TCP    [::]:53638             DavePC:0             LISTENING       1524
  TCP    [::]:63961             DavePC:0             LISTENING       816
  TCP    [::]:64084             DavePC:0             LISTENING       780
  TCP    [::]:64089             DavePC:0             LISTENING       4904
  TCP    [::1]:1434             DavePC:0             LISTENING       2224

C:\Users\dhirschfeld>netstat -ao | grep 64385

C:\Users\dhirschfeld>

...so I'm stumped, sorry. I think I'll have to revert to 2.1.4 in the meantime.


In case it helps in the Windows Event Viewer I get an Application
Error with the following details:

Faulting application name: python.exe, version: 0.0.0.0, time stamp: 0x4ba3e443
Faulting module name: MSVCR90D.dll, version: 9.0.30729.4148, time
stamp: 0x4a594c7b
Exception code: 0x80000003
Fault offset: 0x0003c355
Faulting process id: 0x2724
Faulting application start time: 0x01cc19fa9c5ac48d
Faulting application path: C:\dev\bin\Python26\python.exe
Faulting module path:
C:\WINDOWS\WinSxS\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.4148_none_2a4cbfc25558bcd3\MSVCR90D.dll
Report Id: df3ef44d-85ed-11e0-8d2a-d48564bd9523


-Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: call_stack.png
Type: image/png
Size: 30004 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20110524/e34be96d/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: terminal_run_under_debug.png
Type: image/png
Size: 49142 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20110524/e34be96d/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: call_stack2.png
Type: image/png
Size: 26969 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20110524/e34be96d/attachment-0002.png>


More information about the IPython-dev mailing list