[ZCM] [ZC] 2155/ 5 Comment "_log() got an unexpected keyword
argument 'error'"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Mon Jul 24 07:11:17 EDT 2006
Issue #2155 Update (Comment) "_log() got an unexpected keyword argument 'error'"
Status Pending, Zope/bug+solution medium
To followup, visit:
http://www.zope.org/Collectors/Zope/2155
==============================================================
= 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