Unfortunately, it's not working: When starting within the 2.10.4 environment, I get the error
Traceback (most recent call last): File "../strip_versions.py", line 116, in ? main() File "../strip_versions.py", line 108, in main ZODB.BaseStorage.copy(it, output_storage) AttributeError: 'module' object has no attribute 'copy' Starting it from within 2.13.8, I get the old error again: Traceback (most recent call last): File "../strip_versions.py", line 116, in <module> main() File "../strip_versions.py", line 108, in main ZODB.BaseStorage.copy(it, output_storage) File "/opt/zope/lib/python2.6/site-packages/ZODB3-3.10.3-py2.6-linux-x86_64.egg/ZODB/BaseStorage.py", line 394, in copy for r in transaction: File "../strip_versions.py", line 57, in __iter__ for record in self.__transaction: File "/opt/zope/lib/python2.6/site-packages/ZODB3-3.10.3-py2.6-linux-x86_64.egg/ZODB/FileStorage/FileStorage.py", line 1890, in next h = self._read_data_header(pos) File "/opt/zope/lib/python2.6/site-packages/ZODB3-3.10.3-py2.6-linux-x86_64.egg/ZODB/FileStorage/format.py", line 150, in _read_data_header h = DataHeaderFromString(s) File "/opt/zope/lib/python2.6/site-packages/ZODB3-3.10.3-py2.6-linux-x86_64.egg/ZODB/FileStorage/format.py", line 236, in DataHeaderFromString return DataHeader(*struct.unpack(DATA_HDR, s)) File "/opt/zope/lib/python2.6/site-packages/ZODB3-3.10.3-py2.6-linux-x86_64.egg/ZODB/FileStorage/format.py", line 246, in __init__ "Non-zero version length. Versions aren't supported.") ValueError: Non-zero version length. Versions aren't supported. Any help appreciated, Frank On 10/06/2011 02:02 PM, Andreas Jung wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Try the following script to stip off versions: > > http://svn.zope.org/ZODB/branches/3.8/src/ZODB/scripts/strip_versions.py?rev=102805&view=markup > > - -aj > > Frank Kauff wrote: >> Hi all, >> >> I'm trying to update from Zope 2.10.4 to 2.13.8 and have problems to >> copy Data.fs. No matter whether I try to directly copy Data.fs or >> use repozo, both times zope gives me the error >> >> ValueError: Non-zero version length. Versions aren't supported. >> >> Searching the net, this seems to be a common problem. However, I >> couldn't find a solution for it. Is there a tool anywhere that can >> convert Data.fs from older to newer formats? >> >> Thanks, Frank >> >> _______________________________________________ Zope maillist - >> Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No >> cross posts or HTML encoding! ** (Related lists - >> https://mail.zope.org/mailman/listinfo/zope-announce >> https://mail.zope.org/mailman/listinfo/zope-dev ) > - -- > ZOPYX Limited | zopyx group > Charlottenstr. 37/1 | The full-service network for Zope& Plone > D-72070 Tübingen | Produce& Publish > www.zopyx.com | www.produce-and-publish.com > - ------------------------------------------------------------------------ > E-Publishing, Python, Zope& Plone development, Consulting > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQGUBAEBAgAGBQJOjZjeAAoJEADcfz7u4AZjCvILwLgI+0BJRDDYsP5Ygo19Sp2g > D8EJg3vLup617HNFp2x9+ISfTy1QrNYmj/J204IUtuInD1AK0LV9s+UzYvivsYcW > AdH0ordLSFSkMgPrEpAxJGfREd4+Qpy9LrTrqQ3stucQSOhl9+TkTzo8P0h/XWya > YRpISUb5TIpUU6BwEqw8VcIzMamjkBzI/DY402J9OLsN/WcFO4RA5wQB6Rab5pyC > LtYlEiZny1kAMtLc5DNu+0kWZ8tfkWyj4AgCJEkEDeQTE9VVNBN27zmSpmyk4g2F > q8yHYH/o7e5rKDbjQ+9klgqX+XaMeIdyBs9opmZRtiwgC20H8Nq/oPpAuq6UpcZS > alzjYg63cQzXqTLARdzJe0DBUFlvAHPFnFTlPOLk25CxQoZT+QdVLqF8yOw6pJ2U > egCD2wg1B97M9sE6+payKm2aYyrc8Da13kTiPKa6sBdoHmSYUKyCS+PKcrkCnCMb > 4Yrhqpq8DRDY8zlINlR/Nd/O29bRqj0= > =GYbG > -----END PGP SIGNATURE----- _______________________________________________ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )