Latest kombu and amqp release causes non-blocking error on Windows
Issue #723
resolved
Environment:
- Windows 10 Professional
- Python 2.7 from Anaconda
pip install openrem
(actually apip install -e path\to\repo\
)kombu
installed is4.2.2.post1
amqp
installed is2.4.0
Attempting an export results in a 500 error, with DEBUG=True
we get
- [Errno 10035] A non-blocking socket operation could not be completed immediately
- Exception Location: C:\path\to\virtenv\lib\site-packages\amqp\transport.py in _read, line 430
Reviewing this stackoverflow answer, I did the following:
pip install kombu==4.2.1
pip install amqp==2.3.2
Restarted Celery and the runserver, and now my exports work fine.
Need to consider if we have to fix the versions, which would be a shame and difficult to maintain!
Haven't tested on linux.
Comments (5)
-
reporter -
reporter Specifying
celery==3.1.25
for Windows users. Refs#349, will address ref#723→ <<cset 3d1c31057ed2>>
-
reporter Adding refs
#349,#705,#723to changes. [skip ci]→ <<cset f4d7081dc6c5>>
-
reporter -
assigned issue to
-
assigned issue to
-
reporter - changed status to resolved
Merged in issue349celery (pull request #277)
RabbitMQ, Celery and Flower task management changes
Fixes
#349,#705,#723, refs#637,#662Approved-by: Luuk Approved-by: David Platten
→ <<cset f4bb4875a6fc>>
- Log in to comment
Not an issue on linux, so must be a Windows thing.
Voided therefore if we get Windows users to downgrade Celery to 3.1.25 as that will take kombu and amqp back with it!