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

Alan Runyan runyaga at runyaga.com
Tue Apr 14 12:17:50 EDT 2009


reported, https://bugs.launchpad.net/zodb/+bug/361184
maybe chris can take a stab at it *wink*

On Tue, Apr 14, 2009 at 8:03 AM, Jim Fulton <jim at zope.com> wrote:
>
> 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 at zope.org
> http://mail.zope.org/mailman/listinfo/zodb-dev
>



-- 
Alan Runyan
Enfold Systems, Inc.
http://www.enfoldsystems.com/
phone: +1.713.942.2377x111
fax: +1.832.201.8856


More information about the ZODB-Dev mailing list