[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 04:01:15 CEST 2009
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'
2009/10/19 Pavol Malosek <malosek at fastmq.com>
> Hello,
>
> --disable-eventfd configure option was not implemented in 0MQ2.
> Added in commit 71e455b.
>
> Thanks for reporting it.
>
> malo
>
>
> ----- Original Message -----
> *From:* bawbaw hu <bawbaw.hu at gmail.com>
> *To:* zeromq-dev at lists.zeromq.org
> *Sent:* Sunday, October 18, 2009 2:42 PM
> *Subject:* [zeromq-dev] zeromq-2.0-alpha3 python binding error:Function
> notimplemented fd != -1 (fd_signaler.cpp:43)
>
> When I use ./configure --with-python --disable-eventfd
> make && make install
>
> i use the code
> import libpyzmq
>
> ctx = libpyzmq.Context (1, 1);
> s = libpyzmq.Socket (ctx, libpyzmq.REP)
>
>
> it show
>
> Function not implemented
> fd != -1 (fd_signaler.cpp:43)
>
> OS :Debian Linux 2.6.26-1-686
> Python 2.5.4
> 0MQ:zeromq-2.0-alpha3
>
>
> dpkg -l | grep libc6
> ii libc6 2.9-12 GNU C
> Library: Shared libraries
> ii libc6-dev 2.9-12 GNU C
> Library: Development Libraries and Hea
> ii libc6-i686 2.9-12 GNU C
> Library: Shared libraries [i686 optimi
>
> cat /etc/debian_version
> squeeze/sid
>
> ------------------------------
>
> _______________________________________________
> 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: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20091023/96f64d20/attachment.htm>
More information about the zeromq-dev
mailing list