[Zope] "can't pickle instancemethod objects" in testcase
lists at zopyx.com
Mon Jan 7 13:48:35 EST 2008
--On 7. Januar 2008 19:17:06 +0000 Peter Bengtsson <peter at fry-it.com> wrote:
> Damn it! Not the answer I was hoping for. I was hoping for something
> simpler and more obvious :)
> What object do you suggest I inspect in the debugger then? I don't know
> how the ZODB figures out what it needs to save.
That's trivial start your debugger in ZODB.serialize._dump() and check
the 'state' parameter (should be a dict). Using pprint.pprint(state) will
make the output less painful...just check the output for something with
instancemethod or something similar smelly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20080107/b35ffc97/attachment.bin
More information about the Zope