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

Logging handler causes breakage interacting with other packages #401

Closed
axonxorz opened this issue Nov 29, 2019 · 1 comment
Closed

Logging handler causes breakage interacting with other packages #401

axonxorz opened this issue Nov 29, 2019 · 1 comment

Comments

@axonxorz
Copy link

axonxorz commented Nov 29, 2019

I'm using pyxform as part of an asynchronous task with Celery. Celery performs some deep magic on the standard Python logging system when forking, and chokes since 07301f9

Celery attempts to start it's workers a few times before failing

Traceback (most recent call last):
  File "/home/user/opt/virtualenvs/project/lib/python2.7/site-packages/billiard/process.py", line 315, in _bootstrap
    handler.createLock()
TypeError: unbound method createLock() must be called with NullHandler instance as first argument (got nothing instead)
Process ForkPoolWorker-3:
Traceback (most recent call last):
  File "/home/user/opt/virtualenvs/project/lib/python2.7/site-packages/billiard/process.py", line 315, in _bootstrap
    handler.createLock()
TypeError: unbound method createLock() must be called with NullHandler instance as first argument (got nothing instead)
Process ForkPoolWorker-4:
Traceback (most recent call last):
  File "/home/user/opt/virtualenvs/project/lib/python2.7/site-packages/billiard/process.py", line 315, in _bootstrap
    handler.createLock()
TypeError: unbound method createLock() must be called with NullHandler instance as first argument (got nothing instead)
Process ForkPoolWorker-5:
Traceback (most recent call last):
  File "/home/user/opt/virtualenvs/project/lib/python2.7/site-packages/billiard/process.py", line 315, in _bootstrap
    handler.createLock()
TypeError: unbound method createLock() must be called with NullHandler instance as first argument (got nothing instead)
Process Beat:
Traceback (most recent call last):
  File "/home/user/opt/virtualenvs/project/lib/python2.7/site-packages/billiard/process.py", line 315, in _bootstrap
    handler.createLock()
TypeError: unbound method createLock() must be called with NullHandler instance as first argument (got nothing instead)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants