[Zope] ZODB error when trying to index object (Input/output error)

Dieter Maurer dieter at handshake.de
Mon Jun 20 13:53:42 EDT 2005


Felix Ulrich-Oltean wrote at 2005-6-20 13:22 +0100:
> ...
>2005-06-20T13:15:26 ERROR(200) ZODB Couldn't load state for 0x111310
>Traceback (most recent call last):
>  File "/usr/local/zope/lib/python/ZODB/Connection.py", line 597, in setstate
>    p, serial = self._storage.load(oid, self._version)
>  File "/usr/local/zope/lib/python/ZODB/FileStorage.py", line 689, in load
>    return self._load(oid, version, self._index, self._file)
>  File "/usr/local/zope/lib/python/ZODB/FileStorage.py", line 662, in _load
>    h = read(DATA_HDR_LEN)
>IOError: [Errno 5] Input/output error

This means that your storage file cannot be read.
Maybe, it was closed...

   I think, I saw similar behaviour in our ZEO server
   when it was shutdown while it was performing an operation
   in a separated thread ("undoHistory").
   The shutdown signal caused the storage to be closed but
   the separate thread still tried to access the storage.


-- 
Dieter


More information about the Zope mailing list