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

Failure on Error #5

Open
cdw9 opened this issue May 11, 2017 · 1 comment
Open

Failure on Error #5

cdw9 opened this issue May 11, 2017 · 1 comment

Comments

@cdw9
Copy link
Member

cdw9 commented May 11, 2017

in Plone 4.3

Making a change to a control panel (RegistryEditForm) without reinstalling threw a KeyError, but did not hit a PDB, instead got this error:

Traceback (innermost last):

Module ZPublisher.Publish, line 249, in publish_module_standard
Module Products.PDBDebugMode.runcall, line 83, in pdb_publish
Module ZPublisher.Publish, line 177, in publish
Module plone.app.linkintegrity.monkey, line 21, in zpublisher_exception_hook_wrapper
Module Zope2.App.startup, line 212, in __call__
Module Products.PDBDebugMode.errorlog, line 18, in raising
Module Products.SiteErrorLog.SiteErrorLog, line 217, in raising
Module Products.SiteErrorLog.SiteErrorLog, line 228, in _do_copy_to_zlog
Module Products.PDBDebugMode.errorlog, line 16, in error
TypeError: unbound method error() must be called with ProcessAwareLogger instance as first argument (got Logger instance instead)

seems to be a bug in PDBDebugMode

@pbauer
Copy link
Member

pbauer commented Dec 1, 2021

That's a issue when using celery. Commenting out ensure_process_aware_logger() (the last line of celery/utils/log.py) fixes that temporarily. I'm still looking for a better fix.

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