Skip to content
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

use fastapi+celery,run task failed, cause an error #8957

Open
Amariswade opened this issue Apr 11, 2024 · 1 comment
Open

use fastapi+celery,run task failed, cause an error #8957

Amariswade opened this issue Apr 11, 2024 · 1 comment

Comments

@Amariswade
Copy link

[2024-04-11 19:03:49,417: 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\User\AppData\Local\Programs\Python\Python310\lib\site-packages\billiard\pool.py", line 361, in workloop
result = (True, prepare_result(fun(*args, **kwargs)))
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\celery\app\trace.py", line 664, in fast_trace_task
tasks, accept, hostname = _loc
ValueError: not enough values to unpack (expected 3, got 0)

@Amariswade
Copy link
Author

Amariswade commented Apr 11, 2024

python version: 3.10
fastapi version: 0.103.1
celery version: 5.3.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant