Skip to content

'NoneType' object has no attribute 'name' #26

Description

@philippfreyer

Good morning @knifecake
there seems to be an issue with the process of an execution not always being set:

2026-02-11 06:03:30,907 - django.tasks - INFO - Task id=38884 path=dip_update_signals.tasks.process_update_signal state=SUCCESSFUL
NoneType: None
2026-02-11 06:03:30,908 - steady_queue - ERROR - error in AppExecutor: 'NoneType' object has no attribute 'name'
Traceback (most recent call last):
  File "/usr/local/lib/python3.14/site-packages/steady_queue/app_executor.py", line 33, in wrap_in_app_executor
    yield
  File "/usr/local/lib/python3.14/site-packages/steady_queue/processes/pool.py", line 33, in wrapped_execution
    "worker": execution.process.name,
              ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'name'
2026-02-11 06:03:30,927 - steady_queue - INFO - worker-bad8ed2f8c231bb5d8e6 claimed job 38886 dip_update_signals.tasks.process_update_signal
2026-02-11 06:03:30,943 - django.tasks - INFO - Task id=38883 path=dip_update_signals.tasks.process_update_signal state=SUCCESSFUL
NoneType: None
2026-02-11 06:03:30,943 - steady_queue - ERROR - error in AppExecutor: 'NoneType' object has no attribute 'name'
Traceback (most recent call last):
  File "/usr/local/lib/python3.14/site-packages/steady_queue/app_executor.py", line 33, in wrap_in_app_executor
    yield
  File "/usr/local/lib/python3.14/site-packages/steady_queue/processes/pool.py", line 33, in wrapped_execution
    "worker": execution.process.name,
              ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'name'
2026-02-11 06:03:30,946 - django.tasks - INFO - Task id=38886 path=dip_update_signals.tasks.process_update_signal state=RUNNING

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions