[ZODB-Dev] "Non-zeo version length" but ZMI says "There are no non-empty versions."

Chris Withers chris at simplistix.co.uk
Mon Apr 13 21:34:01 EDT 2009


Hi All,

I get the following error when trying to open a filestorage .fs file 
with ZODB3-3.9.0a11:

   File "/ZODB3-3.9.0a11-py2.5-linux-i686.egg/ZODB/config.py", line 154, 
in open
     **options)
   File 
"/ZODB3-3.9.0a11-py2.5-linux-i686.egg/ZODB/FileStorage/FileStorage.py", 
line 185, in __init__
     read_only=read_only,
   File 
"/ZODB3-3.9.0a11-py2.5-linux-i686.egg/ZODB/FileStorage/FileStorage.py", 
line 1560, in read_index
     h = fmt._read_data_header(pos)
   File 
"/ZODB3-3.9.0a11-py2.5-linux-i686.egg/ZODB/FileStorage/format.py", line 
147, in _read_data_header
     h = DataHeaderFromString(s)
   File 
"/ZODB3-3.9.0a11-py2.5-linux-i686.egg/ZODB/FileStorage/format.py", line 
231, in DataHeaderFromString
     return DataHeader(*struct.unpack(DATA_HDR, s))
   File 
"/ZODB3-3.9.0a11-py2.5-linux-i686.egg/ZODB/FileStorage/format.py", line 
241, in __init__
     "Non-zero version length. Versions aren't supported.")
ValueError: Non-zero version length. Versions aren't supported.

However, if I open the same file in Zope 2.9.2 or Zope 2.11.0, the ZMI 
says theere are no non-empty versions.

How do I get rid of this phantom version?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the ZODB-Dev mailing list