[ZCM] [ZC] 2155/ 7 Edit "_log() got an unexpected keyword argument
'error'"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Fri Aug 18 10:36:34 EDT 2006
Issue #2155 Update (Edit) "_log() got an unexpected keyword argument 'error'"
Status Pending, Zope/bug+solution critical
To followup, visit:
http://www.zope.org/Collectors/Zope/2155
==============================================================
= Edit - Entry #7 by dreamcatcher on Aug 18, 2006 10:36 am
Changes: edited transcript, importance (medium => critical)
________________________________________
= Comment - Entry #6 by x on Aug 10, 2006 5:16 pm
There's also a couple of instances of this in (Zope 2.9.4) ZPublisher/BeforeTraverse.py
________________________________________
= Comment - Entry #5 by Pigletto on Jul 24, 2006 7:11 am
Sorry about my mistake with exc_info() instead of True.
The same thing applies to other files too. I've found:
/lib/python/ZPublisher/BeforeTraverse.py
/lib/python/ZPublisher/BeforeTraverse.py
/lib/python/Products/ZCatalog/ZCatalog.py #has exc_info=sys.exc_info()
/lib/python/App/RefreshFuncs.py
/lib/python/OFS/ObjectManager.py
________________________________________
= Resubmit - Entry #4 by shh on Jul 24, 2006 6:09 am
Status: Resolved => Pending
Wrong, this should be: exc_info=True
________________________________________
= Resolve - Entry #3 by ajung on Jul 21, 2006 9:21 am
Status: Pending => Resolved
Fixed on the 2.9 branch.
________________________________________
= Edit - Entry #2 by ajung on Jul 21, 2006 9:20 am
Changes: importance (critical => medium)
________________________________________
= Request - Entry #1 by Pigletto on Jul 21, 2006 9:13 am
File lib/python/Shared/DC/ZRDB/Connection.py has two errors:
in line number 73:
logger.error('Error connecting to relational database.',
error=exc_info())
and should be:
logger.error('Error connecting to relational database.',
exc_info=exc_info())
Similarly line 153:
logger.error('Error closing relational database connection.',
error=exc_info())
should be changed to:
logger.error('Error closing relational database connection.',
exc_info=exc_info())
==============================================================
More information about the Zope-Collector-Monitor
mailing list