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

Hans-Joachim Ehlers HansJoachim.Ehlers at eumetsat.int
Mon Feb 27 04:40:08 EST 2006


From: Thomas Waldmann <tw-public at gmx.de>
To: moin-user at lists.sourceforge.net
Subject: Re: [Moin-user] Howto move data from 1.3.3 to 1.5.2

>> I have installed a new version of moin moin ( MoinMoin 1.5.2 on AIX  )
>> on a seperate server and would like to move ( Copy ) the old DATA
>> directory from a MoinMoin Version Release 1.3.3  to the new DATA
>> directory.
>> 
>> So does anybody knows the step for handling the:
>>  ./data/user
>>  ./data/pages
>> 
>> directories ?

> 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

So could somebody just name me the function( what the script actuelly do )  of mig10 and mig11 so i can rewrite the stuff in a simple shell script.


tia
Hajo









More information about the Moin-user mailing list