[Zope] 2.13 upgrade problems

Peter Bengtsson mail at peterbe.com
Fri Jun 3 06:42:33 EDT 2011


I'm getting the error below when trying to boot up a zope 2.13.7 using
a Data.fs I took from a zope 2.8.12 instance.
Having Products.ZSQLMethods-2.13.3 installed or not installed doesn't
appear to be relevant.
The fortunate thing, in this instance, is that the SQLMethods in that
instance are not important to me so I'd be happy to delete them if I
could.
However, I tried with ./bin/zopectl debug
>>> del app.www['id_of_a_zsql_method']
but that raises the same TypeError.

Any ideas?


2011-06-03 11:36:27 ERROR ZODB.Connection Couldn't load state for 0x5528
Traceback (most recent call last):
  File "/Users/peterbe/dev/ZOPE/Zope2-2.13.7/eggs/ZODB3-3.10.2-py2.6-macosx-10.4-x86_64.egg/ZODB/Connection.py",
line 856, in setstate
    self._setstate(obj)
  File "/Users/peterbe/dev/ZOPE/Zope2-2.13.7/eggs/ZODB3-3.10.2-py2.6-macosx-10.4-x86_64.egg/ZODB/Connection.py",
line 910, in _setstate
    self._reader.setGhostState(obj, p)
  File "/Users/peterbe/dev/ZOPE/Zope2-2.13.7/eggs/ZODB3-3.10.2-py2.6-macosx-10.4-x86_64.egg/ZODB/serialize.py",
line 612, in setGhostState
    state = self.getState(pickle)
  File "/Users/peterbe/dev/ZOPE/Zope2-2.13.7/eggs/ZODB3-3.10.2-py2.6-macosx-10.4-x86_64.egg/ZODB/serialize.py",
line 605, in getState
    return unpickler.load()
TypeError: ('argument list must be a tuple', <class
'Shared.DC.ZRDB.DA.SQL'>, None)

-- 
Peter Bengtsson,
home www.peterbe.com
fun donecal.com
work www.mozilla.com


More information about the Zope mailing list