[Zope] Error Migration Data.fs from Zope 2.10.4 to 2.13.8
Frank Kauff
fkauff at biologie.uni-kl.de
Thu Oct 6 13:22:37 EST 2011
Hi Laurence,
Please note that there are two errrors: The error "versions not
supported" comes from Zope 2.13, but the other error appears when
running from 2.10, with ZODB 3.7:
[fkauff at aftol2 var]$ /opt/Zope-2.10/bin/python
Python 2.4.3 (#1, Sep 21 2011, 19:55:41)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-51)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ZODB
>>> ZODB.__version__
'3.7.1'
>>>
[fkauff at aftol2 var]$ /opt/Zope-2.10/bin/python ../strip_versions.py
Data.fs Data.fs.stripped
No handlers could be found for logger "ZODB.FileStorage"
Traceback (most recent call last):
File "../strip_versions.py", line 115, in ?
main()
File "../strip_versions.py", line 107, in main
ZODB.BaseStorage.copy(it, output_storage)
AttributeError: 'module' object has no attribute 'copy'
I installed Zope 2.11 from old.zope.org, but it still comes with ZODB 3.7
[fkauff at aftol2 ~]$ /opt/Zope-2.11/bin/python
Python 2.4.6 (#1, Oct 6 2011, 09:13:36)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-51)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ZODB
>>> ZODB.__version__
'3.7.0b3'
>>> ZODB.__path__
['/opt/Zope-2.11/lib/python/ZODB']
So the main question seems to be - which Zope version is old enough to
be able to read my Data.fs but recent enough to run the conversion
script? Can i get a 2.11 version with ZODB 3.8 from somewhere?
Thanks,
Frank
On 10/06/2011 05:54 PM, Laurence Rowe wrote:
> On 6 October 2011 14:40, Frank Kauff<fkauff at 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 Data.fs.stripped
>>
>> which gave the first error below
>>
>> Or should I run it differently?
> Zope 2.10 shipped with ZODB 3.7.x and only worked with Python 2.4.
> Your error message is showing a problem in ZODB 3.10.3 for python 2.6.
> I think you're running it in your Zope 2.13 buildout.
>
> The strip_versions.py script needs to run with a ZODB released before
> version support was removed. The script shipped with ZODB 3.8.x but I
> expect it will also work with 3.7.x.
>
> Laurence
>
--
J-Prof. Dr. Frank Kauff
Molecular Phylogenetics
FB Biologie, 13/276
TU Kaiserslautern
Postfach 3049
67653 Kaiserslautern
Tel. +49 (0)631 205-2562
Fax. +49 (0)631 205-2998
email:fkauff at biologie.uni-kl.de
skype: frank.kauff
More information about the Zope
mailing list