[ZODB-Dev] Weird Error Message

Jim Fulton jim@zope.com
Wed, 12 Sep 2001 16:52:33 -0400


Jeremy Hylton wrote:
> 
> It looks like the .index file has a corrupted pickled.  Don't delete
> or modify any of the files!  Is it possible for you to give me copies
> of the files?  If so, I've got a chance of diagnosing the specific
> problem.  Was the storage closed cleanly last time it was touched?
> 
> Thinking out load: Since the index file is just an optimization, I
> wonder if we should catch errors like these and fall back to
> recreating the index.

Yes, you can always delete the index. Zope will recreate the index
on a pack or when a FileStorage is explicitly closed. (e.g. on Zope
shutdown).

Jim

--
Jim Fulton           mailto:jim@zope.com       Python Powered!        
CTO                  (888) 344-4332            http://www.python.org  
Zope Corporation     http://www.zope.com       http://www.zope.org