[Zope] Error Migration Data.fs from Zope 2.10.4 to 2.13.8

2011-10-06 Thread Frank Kauff
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

Re: [Zope] Error Migration Data.fs from Zope 2.10.4 to 2.13.8

2011-10-06 Thread Andreas Jung
-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=102805view=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

Re: [Zope] Error Migration Data.fs from Zope 2.10.4 to 2.13.8

2011-10-06 Thread Frank Kauff
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:

Re: [Zope] Error Migration Data.fs from Zope 2.10.4 to 2.13.8

2011-10-06 Thread Laurence Rowe
You probably need to run it using ZODB 3.8 (i.e. with your Zope 2.10 instance.) Laurence On 6 October 2011 13:31, Frank Kauff fka...@biologie.uni-kl.de wrote: Unfortunately, it's not working: When starting within the 2.10.4 environment, I get the error Traceback (most recent call last):  

Re: [Zope] Error Migration Data.fs from Zope 2.10.4 to 2.13.8

2011-10-06 Thread Frank Kauff
On 10/06/2011 03:21 PM, Laurence Rowe wrote: You probably need to run it using ZODB 3.8 (i.e. with your Zope 2.10 instance.) I think that's what did: /opt/Zope-2.10/bin/python ../strip_versions.py Data.fs Data.fs.stripped which gave the first error below Or should I run it differently?

Re: [Zope] Error Migration Data.fs from Zope 2.10.4 to 2.13.8

2011-10-06 Thread Laurence Rowe
On 6 October 2011 14:40, Frank Kauff fka...@biologie.uni-kl.de wrote: On 10/06/2011 03:21 PM, Laurence Rowe wrote: You probably need to run it using ZODB 3.8 (i.e. with your Zope 2.10 instance.) I think that's what  did: /opt/Zope-2.10/bin/python ../strip_versions.py Data.fs

Re: [Zope] Error Migration Data.fs from Zope 2.10.4 to 2.13.8

2011-10-06 Thread Laurence Rowe
Perhaps you can just create a simple buildout.cfg for the version of ZODB you need: [buildout] parts = scripts versions = versions [versions] ZODB3 = 3.8.6 [scripts] recipe = zc.recipe.egg eggs = ZODB3 interpreter = py Grab bootstrap.py from

Re: [Zope] Error Migration Data.fs from Zope 2.10.4 to 2.13.8

2011-10-06 Thread Frank Kauff
We are one (BIG) step further :-) Following your suggestion (thanks!), I was able to run strip_versions. Zope 2.13 sucessfully started with the converted Data.fs, but now I get a different error (below) when trying to access most subfolders of the site. It seems there are more syntax changes