[ZODB-Dev] cPickle: state is not a directory/Upgrade to Zope 2.7
failing
Andreas Jung
lists at andreas-jung.com
Mon Nov 3 08:56:27 EST 2003
Hi,
I am trying to move a Zope 2.6.2 site (Python 2.2.3, CMF 1.4) to Zope 2.7
with Python 2.3.2.
When I start up the site, it fails badly :-( :
----
2003-11-03T14:52:44 INFO(0) ZODB Mounted database
'145966912_1035475459.685228' at /temp_folder
------
2003-11-03T14:52:44 ERROR(200) ZODB Couldn't load state for 0000000000014652
Traceback (most recent call last):
File "/develop/sandboxes/tracker/Zope/lib/python/ZODB/Connection.py",
line 564, in setstate
self._set_ghost_state(obj, p)
File "/develop/sandboxes/tracker/Zope/lib/python/ZODB/Connection.py",
line 603, in _set_ghost_state
state = unpickler.load()
UnpicklingError: state is not a dictionary
------
2003-11-03T14:52:44 ERROR(200) Zope Couldn't install CMFCollectorNG
Traceback (most recent call last):
File "/develop/sandboxes/tracker/Zope/lib/python/OFS/Application.py",
line 642, in install_product
initmethod(context)
File
"/develop/sandboxes/tracker/instance/Products/CMFCollectorNG/__init__.py",
line 52, in initialize
context.registerHelp(directory='help')
File "/develop/sandboxes/tracker/Zope/lib/python/App/ProductContext.py",
line 302, in registerHelp
if help.lastRegistered is not None and \
File "/develop/sandboxes/tracker/Zope/lib/python/ZODB/Connection.py",
line 564, in setstate
self._set_ghost_state(obj, p)
File "/develop/sandboxes/tracker/Zope/lib/python/ZODB/Connection.py",
line 603, in _set_ghost_state
state = unpickler.load()
UnpicklingError: state is not a dictionary
Traceback (most recent call last):
File "/develop/sandboxes/tracker/Zope/lib/python/Zope/Startup/run.py",
line 27, in ?
run()
File "/develop/sandboxes/tracker/Zope/lib/python/Zope/Startup/run.py",
line 24, in run
start_zope(opts.configroot)
File
"/develop/sandboxes/tracker/Zope/lib/python/Zope/Startup/__init__.py", line
50, in start_zope
starter.startZope()
File
"/develop/sandboxes/tracker/Zope/lib/python/Zope/Startup/__init__.py", line
221, in startZope
Zope.startup()
File "/develop/sandboxes/tracker/Zope/lib/python/Zope/__init__.py", line
46, in startup
_startup()
File "/develop/sandboxes/tracker/Zope/lib/python/Zope/App/startup.py",
line 95, in startup
OFS.Application.initialize(application)
File "/develop/sandboxes/tracker/Zope/lib/python/OFS/Application.py",
line 421, in initialize
install_products(app)
File "/develop/sandboxes/tracker/Zope/lib/python/OFS/Application.py",
line 580, in install_products
folder_permissions, raise_exc=debug_mode)
File "/develop/sandboxes/tracker/Zope/lib/python/OFS/Application.py",
line 642, in install_product
initmethod(context)
File
"/develop/sandboxes/tracker/instance/Products/CMFCollectorNG/__init__.py",
line 52, in initialize
context.registerHelp(directory='help')
File "/develop/sandboxes/tracker/Zope/lib/python/App/ProductContext.py",
line 302, in registerHelp
if help.lastRegistered is not None and \
File "/develop/sandboxes/tracker/Zope/lib/python/ZODB/Connection.py",
line 564, in setstate
self._set_ghost_state(obj, p)
File "/develop/sandboxes/tracker/Zope/lib/python/ZODB/Connection.py",
line 603, in _set_ghost_state
state = unpickler.load()
cPickle.UnpicklingError: state is not a dictionary
Any ideas?
Andreas
More information about the ZODB-Dev
mailing list