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
'NoneType' object has no attribute 'replace' while killing rabbit group task #5346
Comments
could you try celery 4.3rc1? |
Do you understand the cause of this bug? I think I might be seeing it too. |
I can still reproduce it in 4.3rc1 |
can you provide a testcase which we can run to reproduce this? |
it repreodce every time calling
and the using amqp as broker |
Hi, is there a solution? Happens to me as well. |
I'm also experiencing this exact issue... +1 |
can you try celery==4.4.0rc4? and report again? |
Hey there, |
Got this same issue on 4.4.0, slightly different message though: |
confirm, have same problem, too dropdown version, th |
what is the update of this with the v5 version? |
Checklist
celery -A proj report
in the issue.(if you are not able to do this, then at least specify the Celery
version affected).
pip freeze
in the issue.master
branch of Celery.Environment & Settings
Celery version: 4.2.1 (tests also in master version)
Report:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/eric/.pyenv/versions/3.6.1/envs/romee/lib/python3.6/site-packages/celery/app/trace.py", line 382, in trace_task
R = retval = fun(_args, *_kwargs)
File "/Users/eric/.pyenv/versions/3.6.1/envs/romee/lib/python3.6/site-packages/celery/app/trace.py", line 641, in protected_call
return self.run(_args, *_kwargs)
File "/Users/eric/.pyenv/versions/3.6.1/envs/romee/lib/python3.6/site-packages/celery/app/builtins.py", line 89, in unlock_chord
app.backend.chord_error_from_stack(callback, ChordError(reason))
File "/Users/eric/.pyenv/versions/3.6.1/envs/romee/lib/python3.6/site-packages/celery/backends/base.py", line 232, in chord_error_from_stack
return backend.fail_from_current_stack(callback.id, exc=exc)
File "/Users/eric/.pyenv/versions/3.6.1/envs/romee/lib/python3.6/site-packages/celery/backends/base.py", line 239, in fail_from_current_stack
self.mark_as_failure(task_id, exc, exception_info.traceback)
File "/Users/eric/.pyenv/versions/3.6.1/envs/romee/lib/python3.6/site-packages/celery/backends/base.py", line 160, in mark_as_failure
traceback=traceback, request=request)
File "/Users/eric/.pyenv/versions/3.6.1/envs/romee/lib/python3.6/site-packages/celery/backends/amqp.py", line 113, in store_result
routing_key, correlation_id = self.destination_for(task_id, request)
File "/Users/eric/.pyenv/versions/3.6.1/envs/romee/lib/python3.6/site-packages/celery/backends/amqp.py", line 108, in destination_for
return self.rkey(task_id), task_id
File "/Users/eric/.pyenv/versions/3.6.1/envs/romee/lib/python3.6/site-packages/celery/backends/amqp.py", line 103, in rkey
return task_id.replace('-', '')
AttributeError: 'NoneType' object has no attribute 'replace'
Required Dependencies
python:3.6-slim
docker)Python Packages
Other Dependencies
Minimally Reproducible Test Case
When revoking a gorup task (with terminate=True and signal='SIGKILL') task is really terminated, but and exception is raised from amqp beckend (don't repreduce in redis)
Expected Behavior
No to throw exception
The text was updated successfully, but these errors were encountered: