[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 15:14:35 CEST 2009
Hi,
It is ok now.
i am sorry that i use 0MQ/1.0
2009/10/23 Martin Sustrik <sustrik at fastmq.com>
> Ah, I see! It looks like you are using 0MQ/1.0 python wrapper instead of
> 0MQ/2.0 one. Delete all old pyzmq libraries and try again.
>
> Martin
>
> bawbaw hu wrote:
>
>> 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 <mailto: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
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.zeromq.org/pipermail/zeromq-dev/attachments/20091023/96cb2bf5/attachment.htm
More information about the zeromq-dev
mailing list