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) #8921
Labels
Comments
I have the same issue as above mentioned |
Have you resolved this issue? |
|
这篇文章里有提到,在 |
666666 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when i try execute func of firt celery func tast ,error founhd!!!!!!
my system win11
Python 3.11.5
celery==5.3.6
broker redis
celery_app.py
from celery import Celery
import time
app = Celery('celery_task')
app.conf.broker_url = 'redis://192.168.1.139:6380/0'
@app.task
def hello():
print("hello world ")
time.sleep(10)
return
test.py
from celery_app import hello
task = hello.delay()
print(task)
[2024-03-22 17:44:48,856: ERROR/MainProcess] Task handler raised error: ValueError('not enough values to unpack (expected 3, got 0)')
billiard.einfo.RemoteTraceback:
"""
Traceback (most recent call last):
File "C:\Users\renoy\anaconda3\envs\idp_backend\Lib\site-packages\billiard\pool.py", line 361, in workloop
result = (True, prepare_result(fun(*args, **kwargs)))
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\renoy\anaconda3\envs\idp_backend\Lib\site-packages\celery\app\trace.py", line 667, in fast_trace_task
tasks, accept, hostname = _loc
^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 3, got 0)
"""
The above exception was the direct cause of the following exception:
The text was updated successfully, but these errors were encountered: