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

bawbaw hu bawbaw.hu at gmail.com
Fri Oct 23 12:56:49 CEST 2009


hi,
it is 0MQ/2.0

My test program

import libpyzmq
print dir(libpyzmq)
ctx = libpyzmq.Context (1, 1)
s = libpyzmq.Socket (ctx, libpyzmq.REP)


2009/10/23 Martin Sustrik <sustrik at fastmq.com>

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20091023/d3ff0a3c/attachment.htm>


More information about the zeromq-dev mailing list