Latest kombu and amqp release causes non-blocking error on Windows

Issue #723 resolved
Ed McDonagh
created an issue

Environment:

  • Windows 10 Professional
  • Python 2.7 from Anaconda
  • pip install openrem (actually a pip install -e path\to\repo\)
  • kombu installed is 4.2.2.post1
  • amqp installed is 2.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)

  1. Ed McDonagh reporter

    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!

  2. Log in to comment