[ZCM] [ZC] 2164/ 3 Resolve "Can't access zmi after LDAPMultiPlugins plone patch"
"Collector: Zope Bugs, Features, and Patches ..." <[email protected]> Mon, 14 May 2007 13:46:22 -0400
| Newsgroups | gmane.comp.web.zope.devel.collector-monitor |
|---|---|
| Message-ID | <[email protected]> |
Issue #2164 Update (Resolve) "Can't access zmi after LDAPMultiPlugins plone patch"
Status Resolved, Zope/bug medium
To followup, visit:
http://www.zope.org/Collectors/Zope/2164
==============================================================
= Resolve - Entry #3 by ajung on May 14, 2007 1:46 pm
Status: Pending => Resolved
This issue is outdated. The _log bug has been fixed in the latest 2.9.7 release.
________________________________________
= Comment - Entry #2 by mcdonc on Aug 11, 2006 6:12 pm
Sorry, this is irreproducible with the information you've provided:
[chrism@kingfish dev-sandbox]$ bin/zopectl debug
Starting debugger (the name "app" is bound to the top-level Zope object)
>>> from logging import getLogger
>>> getLogger('ZRDB.Connection').error('foo', exc_info={'error':'foo'})
2006-08-11 18:09:22 ERROR ZRDB.Connection foo
None
This is apparently related to local configuration of your logging setup maybe?
________________________________________
= Request - Entry #1 by davistv on Aug 11, 2006 4:51 pm
In an attempt to get new user registrations to populate my plone site's LDAP server, I followed this tutorial:
http://plone.org/documentation/how-to/plone-2-5-and-openldap-integration-for-users-and-groups/view?searchterm=plonePAS
The patch didn't work cleanly, but it was easy enough to find the right location and make the last change needed. But after the patch, any attempt to access zmi gives the following traceback:
Traceback (innermost last):
Module ZPublisher.Publish, line 115, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 41, in call_object
Module Shared.DC.Scripts.Bindings, line 311, in __call__
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
Module App.special_dtml, line 176, in _exec
Module DocumentTemplate.DT_Let, line 76, in render
Module DocumentTemplate.DT_In, line 643, in renderwob
Module DocumentTemplate.DT_In, line 771, in sort_sequence
Module ZODB.Connection, line 732, in setstate
Module ZODB.Connection, line 786, in _setstate
Module ZODB.serialize, line 605, in setGhostState
Module Shared.DC.ZRDB.Connection, line 74, in __setstate__
Module logging, line 999, in error
TypeError: _log() got an unexpected keyword argument 'error'
wiggy tells me that I found a bug in zope. Hard to believe, but hey, he's wiggy... I'm having cake and ice cream right now to celebrate the occasion.
Thanks!
Troy
==============================================================