[ZODB-Dev] Urgent - Error ZODB zope 2.3.3

Steve Alexander steve@cat-box.net
Fri, 15 Feb 2002 16:10:53 +0000


Bruno Mattarollo wrote:
> Hello,
> 
> We are using Zope 2.3.3 for a somewhat busy site and today the site was
> unaccesible. After hours of playing around trying to figure out what was
> going on, I started Zope with "-M" and in the console... I get this:
> 
> 2002-02-15T15:53:24 ERROR(200) ZODB Couldn't load state for
> '\000\000\000\000\000\000\'\251'
> 
> on the console... I also tryied some commands on a python shell (I took
> that from the archive of some mailing list).
> 
> # python
> 
>>>>import Zope
>>>>app = Zope.app()
>>>>jar = app._p_jar
>>>>jar['\000\000\000\000\000\000\'\251'].id
>>>>
> Traceback (innermost last):
>   File "<stdin>", line 1, in ?
>   File "/home2/zope/cybercentre2/zope2.3.3/lib/python/ZODB/Connection.py",
> line 533, in setstate
>     state = unpickler.load()
>   File "/home2/zope/cybercentre2/zope2.3.3/lib/python/ZODB/Connection.py",
> line 192, in _persistent_load
>     oid, klass = oid
> ValueError: unpack tuple of wrong size
> 
> 
> What should I look in? Is there a solution to this? I tryied to pack the
> database but I keep on getting the same error...

Get Zope 2.5, and lib/python/ZODB/fsrecover.py on a copy of your Data.fs.

--
Steve Alexander