[Zope] Upgrading a Product from Zope 2.7 to Zope 2.10
dieter at handshake.de
Wed Mar 19 14:53:47 EDT 2008
Mark Hellewell wrote at 2008-3-19 15:57 +1100:
>I'm in the middle of trying to upgrade a Product written for Zope 2.7
>so that it runs on Zope 2.10!
>The product appears in the newer ZMI's list of available products but
>whenever I try to add an object of the products type through the ZMI I
>get the following error in the event.log and nothing is added to the
>Traceback (innermost last):
> Module ZPublisher.Publish, line 125, in publish
> Module Zope2.App.startup, line 238, in commit
> Module transaction._manager, line 96, in commit
> Module transaction._transaction, line 395, in commit
> Module transaction._transaction, line 495, in _commitResources
> Module ZODB.Connection, line 502, in commit
> Module ZODB.Connection, line 1046, in savepoint
> Module ZODB.Connection, line 555, in _commit
> Module ZODB.Connection, line 582, in _store_objects
> Module ZODB.serialize, line 407, in serialize
>TypeError: Can't pickle objects in acquisition wrappers.
Try to reproduce this problem in an interactive Python session
("bin/zopectl debug" under *nix). Use "pdb.pm()" to analyse the
post mortem traceback. Look at the object that causes the problem.
If you are lucky, the object gives you hints where the error
has been introduced.
More information about the Zope