[Zope-CMF] problem running migrate_ptk.py in CMF1.0
Lucas Hofman
lucas.hofman@oslo.pgs.com
Fri, 20 Apr 2001 15:52:40 +0200
Anybody on the list who has experience with the migrate_ptk script
distributed with CMF 1.0?
When I run it (after customizing for site specific content) it trundles
a while, starts swapping (I think), but quite probable reaches the last
item in the portal and than crashes with the following error:
Error Type: cPickle.PicklingError
Error Value: Cannot pickle objects.
Traceback:
File
/usr/share/Zope-2.3.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
223, in publish_module
File
/usr/share/Zope-2.3.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
187, in publish
File /usr/share/Zope-2.3.1-linux2-x86/lib/python/Zope/__init__.py,
line 221, in zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
File
/usr/share/Zope-2.3.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
175, in publish
File /usr/share/Zope-2.3.1-linux2-x86/lib/python/Zope/__init__.py,
line 235, in commit
File /usr/share/Zope-2.3.1-linux2-x86/lib/python/ZODB/Transaction.py,
line 300, in commit
File /usr/share/Zope-2.3.1-linux2-x86/lib/python/ZODB/Connection.py,
line 375, in commit
(Info: (('Products.CMFSeres.Presentation', 'Presentation'),
'\000\000\000\000\000\000\276\346', ''))
cPickle.PicklingError: (see above)
The size of the portal to be converted is roughly 30 Mb when exported to
.zexp format. Total Data.fs size is 62 MB, and the filesystem has about
250 Mb available. When looking (with top) when is migrates I do not see
that it uses up all swap space, but I am not sure here.
Looking at the script I do no see any subtransactions. Does that mean
that the whole conversion runs as one big transaction?
Anybody caring to enlighten me?
--
Lucas Hofman
PGS Research work: +47 67514059
PO Box 354 fax: +47 67526640
N-1326 Lysaker, Norway home: +47 67581373