[ZODB-Dev] Is this a bug ? [ZODB3-3.10.0b8]
steve
steve at lonetwin.net
Thu Oct 7 12:38:24 EDT 2010
Hi,
We recently updated the zodb package to ZODB3-3.10.0b8 on our servers which
serve a repoze.bfg application with a ZODB backned. Since then some methods
which worked before the update have been failing with traces similar to this:
(also at http://pastebin.com/aPKwBQp6 , in case that is easier to read)
File "/home/ideo/oproj/src/oproj/oproj/views/userhandling.py", line 393, in
delete_user
profiles.remove(username)
File
"/home/ideo/oproj/eggs/repoze.folder-0.4-py2.5.egg/repoze/folder/__init__.py",
line 210, in remove
objectEventNotify(ObjectWillBeRemovedEvent(other, self, name))
File
"/home/ideo/oproj/eggs/zope.component-3.6.0-py2.5.egg/zope/component/event.py",
line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File
"/home/ideo/oproj/eggs/zope.component-3.6.0-py2.5.egg/zope/component/_api.py",
line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File
"/home/ideo/oproj/eggs/zope.component-3.6.0-py2.5.egg/zope/component/registry.py",
line 315, in subscribers
return self.adapters.subscribers(objects, provided)
File
"/home/ideo/oproj/eggs/zope.interface-3.5.1-py2.5-linux-x86_64.egg/zope/interface/adapter.py",
line 535, in subscribers
subscription(*objects)
File "/home/ideo/oproj/src/karl/karl/models/subscribers.py", line 166, in
profile_removed
_remove_email(parent, name)
File "/home/ideo/oproj/src/karl/karl/models/subscribers.py", line 153, in
_remove_email
filtered = [x for x in mapping.items() if x[1] != name]
File
"/home/ideo/oproj/eggs/ZODB3-3.10.0b8-py2.5-linux-x86_64.egg/ZODB/Connection.py", line
859, in setstate
self._setstate(obj)
File
"/home/ideo/oproj/eggs/ZODB3-3.10.0b8-py2.5-linux-x86_64.egg/ZODB/Connection.py", line
913, in _setstate
self._reader.setGhostState(obj, p)
File
"/home/ideo/oproj/eggs/ZODB3-3.10.0b8-py2.5-linux-x86_64.egg/ZODB/serialize.py",
line 613, in setGhostState
obj.__setstate__(state)
SystemError: new style getargs format but argument is not a tuple
I just wanted to confirm whether this is something to do with the app or a ZODB
bug. Any pointer/help would is appreciated.
cheers,
- steve
--
random spiel: http://lonetwin.net/
what i'm stumbling into: http://lonetwin.stumbleupon.com/
More information about the ZODB-Dev
mailing list