Skip to content

Since 1.12.1: Shutdown (or rather startup?) fails due to unreferenced variable #463

@aberres

Description

@aberres

What version of Dramatiq are you using?

1.21.1

What did you do?

Since the update from 1.12.0 to 1.12.1 we are seeing the following errors:

 NameError: free variable 'running' referenced before assignment in enclosing scope
at .termhandler ( /venv/lib/python3.9/site-packages/dramatiq/cli.py:393 )
at .pthread_sigmask ( /usr/local/lib/python3.9/signal.py:60 )
at .try_unblock_signals ( /venv/lib/python3.9/site-packages/dramatiq/cli.py:238 )
at .worker_process ( /venv/lib/python3.9/site-packages/dramatiq/cli.py:409 )
at .run ( /usr/local/lib/python3.9/multiprocessing/process.py:108 )
at ._bootstrap ( /usr/local/lib/python3.9/multiprocessing/process.py:315 ) 

I could not yet investigate further, but maybe it is related to 8da5157?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions