On Apr 13, 2009, at 9:34 PM, Chris Withers wrote:

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


That's a great question. :)  We probably need to write some sort of  
utility to remove version records.

Jim

--
Jim Fulton
Zope Corporation


_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to