[zeromq-dev] zeromq-2.0-alpha3 python binding error:Function notimplemented fd != -1 (fd_signaler.cpp:43)

Martin Sustrik sustrik at fastmq.com
Fri Oct 23 08:46:19 CEST 2009


bawbaw hu wrote:
> When i update the 0MQ ,i can use --disable-eventfd configure option
> 
> but python lib seen some error
> 
> the code
> import sys
> import time
> import libpyzmq
> print dir(libpyzmq)
> ctx = libpyzmq.Context (1, 1);  
> s = libpyzmq.Socket (ctx, libpyzmq.REP)
> 
> the console show
> 
> sudo python test_zmq_send.py
> ['MESSAGE_DATA', 'MESSAGE_GAP', 'NO_LIMIT', 'NO_SWAP', 'SCOPE_GLOBAL', 
> 'SCOPE_LOCAL', 'STYLE_DATA_DISTRIBUTION', 'STYLE_LOAD_BALANCING', 'Zmq', 
> '__doc__', '__file__', '__name__']
> Traceback (most recent call last):
>   File "test_zmq_send.py", line 7, in <module>
>     ctx = libpyzmq.Context (1, 1);  
> AttributeError: 'module' object has no attribute 'Context'

Hm. That's the current version of 0MQ/2.0, right? Python biding seems 
working on my box. Can you possibly post your test program?

Martin



More information about the zeromq-dev mailing list