-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: not enough values to unpack (expected 3, got 0) #4178
Comments
Not sure if related, but windows is no longer supported in celery 4. |
Also seeing on Windows in the following environment (working fine on my Mac):
|
Windows support is provided on a best-effort basis. We do not have an active maintainer that is interested in providing support for Windows. |
I found a workaround:
|
While solo-pooling works, it is a single threaded execution pool, which means that there is no concurrency at all. Another working solution is to use eventlet ( |
Confirming the solution by @np-8 on Windows Server 2012 R2, with Python 3.5. We had to bump billiard to the latest patch version to fix a pickle error too though. |
@np-8 solution worked for me too.
It doesn't have parallelism but at least works for testing, as i'm developing in Windows (The app will be in a Linux platform for production). |
Eventually we ditched the solution and are not running celery on Windows anymore. Sometimes, when saving files in Django ( Another thing is that starting up celery takes ages (10-15 minutes), and during this startup time, no tasks seem to be picked up. |
pip install eventlet This works on |
#4078 may help at worker side: |
Checklist
system info
celery -A proj report
in the issue.(if you are not able to do this, then at least specify the Celery
version affected).
master
branch of Celery.Steps to reproduce
I follow the tutorial which on official website to run
task.py
in my win10,but get error
Expected behavior
print success
Actual behavior
I name the file
tasks.py
tomytask.pl
, so I try to run inIt connecting OK.
BUT when I try to run the test
add.delay(2,2)
example , I get the error below:My Solution
Try to uninstall celery 4.1.0 and replace to 3.1.24
Than It Work Fine For Me ! Everything is OK! I think this information is useful to you
This version report:
Why 3.1.24 ?
It's my guess , Just looking for a lower version than 4
The text was updated successfully, but these errors were encountered: