Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Strange exception when you exit Django task (migrate/runserver/test) #3818
Steps to reproduce
You can pull this repo or do these step :
Some time when you stop the server, you will got :
In my case, I got the exception approximately once every three start/stop.
Thanks for you help. Let me know if you want more information
This problem still exists. After installing celery in my django project 1.10 the above warnings when stopping celery with ctrl-c. This also shows up from time to time when I run my tests (pytest)... I'm bound to 3.5.3 as that is the latest supported version for django 1.10...
This didn't happen prior to installing celery (4.0.2)...
@peterlauri I had no problems running Django 1.10 under Python 3.6. The related error is gone for me for 3.6 inside official Docker container.
Django 1.11 is now released and ...
Maybe you could try updating Django and Python versions.
Also the referenced bug looks to be included in 3.5.4 whenever that is released: