[ZODB-Dev] Urgent - Error ZODB zope 2.3.3

Bruno Mattarollo bruno@web1.greenpeace.org
Sun, 17 Feb 2002 07:45:17 +0100 (CET)


Hello,

I did run the fsrecover.py on the Data.fs with "-v 1" as the only option
and it didn't found a single error on the Data.fs. The resulting file is
exactly the same (size and md5sum) of the original!

Any other ideas? :( I will try to start a Zope 2.5 instance with that
Data.fs and see...

Thanks!

/B

On Fri, 15 Feb 2002, Steve Alexander wrote:

> 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
>
>
>

-- 

--- Bruno Mattarollo <bruno@web1.greenpeace.org> ---
    SysAdmin & TechLead - Greenpeace International
    http://www.greenpeace.org/
----------------------------------------------------