In article <[EMAIL PROTECTED]>, Thomas Waldmann <[EMAIL PROTECTED]> wrote:
> > I am trying to upgrade from 1.5.8 to 1.6.0 and I get the following > > traceback when running the migration script: > > > > $ python2.3 /usr/local/moin-1.6.0/bin/moin > > --config=/var/www/wikinew/config migration data > > Calling migration script for data, base revision 1050800 > > Traceback (most recent call last): > ... > > "/usr/local/moin-1.6.0/lib/python2.3/site-packages/MoinMoin/script/migrat > > ion/_conv160.py", line 474, in save_list > > what_sorted.sort(cmp=lambda x, y: cmp(x[1:], y[1:])) > > TypeError: sort() takes no keyword arguments > > I am sorry about that bug, I used a feature of python 2.4 there, but > moin should be compatible to python 2.3. > > This is what you can do right now: > a) change line 474 to read #what_sorted.... (that disables the sorting > of the rename map, it will be slightly harder to read, but often this is > no problem) > b) apply this patch http://hg.moinmo.in/moin/1.6/rev/9ed9176ac6dc > c) run the migration on a machine with python 2.4 or 2.5 > > The fix will also be included in 1.6.1 (expected in next few weeks). Thanks for that - I read it just after I reinstalled using Python 2.5.1 and re-ran the script (which now works of course)! Dave -- Dave Hill DisplayLink (UK) Ltd ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Moin-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/moin-user
