[Moin-user] Migration crash - Re: Howto move data from 1.3.3 to 1.5.2 (Thomas Waldmann)

Thomas Waldmann tw-public at gmx.de
Tue Feb 28 09:07:03 EST 2006


>> As 1.3.3 didn't contain the mig10 and mig11 (1.3.5 did), you need to run 
>> them (if you did not do that already) to reach 1.3.5 level.
> 
> $ python /usr/local/lib/python2.4/site-packages/MoinMoin/scripts/migration/12_to_13_mig10.py -d
> data.pre-mig10/ -> data/
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.4/site-packages/MoinMoin/scripts/migration/12_to_13_mig10.py", line 130, in ?
>     migrate(destdir)
>   File "/usr/local/lib/python2.4/site-packages/MoinMoin/scripts/migration/12_to_13_mig10.py", line 109, in migrate
>     for root, dirs, files in walk(attachdir):
>   File "/usr/local/lib/python2.4/site-packages/MoinMoin/scripts/migration/12_to_13_mig10.py", line 72, in walk
>     except error, err:
> NameError: global name 'error' is not defined
> 
> If i remove error, the err is not defined.
> BTW Python is v2.4.2

You used the mig scripts from moin 1.3.x.

Please use the mig10 and mig11 script that came with 1.5.2 (they do the 
same as earlier version, but have some bug fixes).





More information about the Moin-user mailing list