Comments (8)
Can you give a bit more information about the context (pyzmq/zeromq/python/OS versions)?
from pyzmq.
Ah yes, novice error! Sorry about that :-)
I last worked on this a couple of weeks ago and I wasn't having the error then. This is on snow leopard and pyzmq is installed in a virtualenv of python 2.6.3. Last commit I've got from pyzmq is 199b0fe (23rd sept) and zeromq2 version is be159b (13th sept). Let me fetch all the latest updates and try it on a different OS and give you a better bug report.
Cheers,
Ben
from pyzmq.
Thanks,
I have reproduced the error in current master with OSX 10.6 system Python 2.6.1 with zeromq release 2.0.9, but only once in a few thousand runs. This is going to be a bit tricky to chase down.
from pyzmq.
Eeeew, that is going to be horrible. Did you see the error when using eventlet or just regular pyzmq? If you did see it with pyzmq alone, do you have a simple test case that fails. Ideally, it would be nice to run this using gdb, but it might be tough to catch.
from pyzmq.
I managed to make it happen in pure pyzmq, but only ~ 1 in a few thousand trials. I'll try to see if I can't catch it in a gdb session. I haven't so far.
from pyzmq.
I gave a wrong steer on the version I was using - I thought I was working off the checkout I gave you but I had actually installed zeromq via homebrew earlier and I think that was the one that pyzmq was being built against. It was version 2.0.6.
I've now updated to trunk and changed my tests to have some sleep statements in them before messing with the sockets (see https://bitbucket.org/boothead/eventlet/changeset/baa4ea7d5c60) and I'm not seeing any errors.
I haven't run it for thousands of times yet but it's a lot better that the 1 in 10 or so I was getting.
from pyzmq.
Yes, 2.0.6 is much more buggy than 2.0.9 is for sure.
from pyzmq.
With current master, I just ran my stress test, and it's past 1.4M now without seeing the issue, so I'm convinced it's resolved.
There is a new issue mentioned in the comments on the gist, but I'm not convinced it's not peculiar to my computer.
from pyzmq.
Related Issues (20)
- libzmq question: ROUTER/DEALER mod restart DEALER only will cause Host unreachable Error HOT 7
- BUG: `try_passwordless_ssh` hangs while connecting to server HOT 2
- RFE: is it possible to restart making github releases?🤔 HOT 6
- unable to build on mac m1 max HOT 11
- BUG: Missing zmq.NOTIFY_CONNECT and zmq.NOTIFY_DISCONNECT constants HOT 6
- BUG: zmq hangs forever if attempting to send a message before socket has time to connect HOT 1
- BUG: Unable to install in mac m1 HOT 1
- build fairure with cython default bnanch
- BUG: Asyncio cancellation race condition leaves Future exception never retrieved for recv_string() HOT 2
- Not able to build wheels for pyzmq HOT 12
- BUG: Memory leak on receiver side in asyncio HOT 3
- BUG: pyzmq v26 installation fails (build from sources) HOT 8
- BUG: Error compiling wheels using crossenv HOT 20
- BUG: IPC Support on Windows broken in 25.1.2 HOT 6
- BUG: Too many resets on loopback after socket.connect() call HOT 2
- DOC: Generic zmq.Context is unclear HOT 10
- BUG: PUBHandler is not thread-safe when using with async Context HOT 6
- BUG: (?) zmq.SERVER socket creation failing with zmq.asyncio, in zmq.backend.cython.checkrc._check_rc and AttributeError: FD attribute is write-only HOT 4
- BUG: ZMQ.HELLO_MSG HOT 4
- BUG: zmq.ROUTER_NOTIFY HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyzmq.