[Moin-user] Problems migrating

Rick Vanderveer rick.vanderveer at gmail.com
Tue Jan 8 11:05:06 EST 2008


I initially had a large number of issues also (including migration script
issues similar to yours).

After my own migration pains, I've a thoroughly documented the upgrade
process which (I hope) you might find helpful. (Hopefully it can serve as a
concatenated upgrade instructions page).

http://moinmo.in/RickVanderveer/MigratingFromMoin15ToMoin16

-Rick


On Jan 8, 2008 7:55 AM, Paul Moore <p.f.moore at gmail.com> wrote:

> I got an issue migrating my Wiki. I took a copy of the wiki (the whole
> thing, including config, underlay, data directories) and ran the
> migration scripts on that, as I don't want to mess with the live copy
> yet. I hope that's OK. This went through to the point where I had the
> rename1.txt file, which I edited as expected, and then reran the
> migration script.
>
> Having done this, I got an error message, which I don't understand:
>
> Renaming page u'SQL_Scripts' -> u'SQL Scripts'
> Traceback (most recent call last):
>  File "<string>", line 1, in <module>
>  File "D:\Apps\Python25\lib\site-packages\MoinMoin\script\moin.py",
> line 15, in run
>    MoinScript().run(showtime=0)
>  File "D:\Apps\Python25\Lib\site-packages\MoinMoin\script\__init__.py",
> line 138, in run
>    self.mainloop()
>  File "D:\Apps\Python25\Lib\site-packages\MoinMoin\script\__init__.py",
> line 245, in mainloop
>    plugin_class(args[2:], self.options).run() # all starts again there
>  File "D:\Apps\Python25\Lib\site-packages\MoinMoin\script\__init__.py",
> line 138, in run
>    self.mainloop()
>  File
> "D:\Apps\Python25\lib\site-packages\MoinMoin\script\migration\data.py",
> line 48, in mainloop
>    curr_rev = execute(self, data_dir, curr_rev)
>  File
> "D:\Apps\Python25\lib\site-packages\MoinMoin\script\migration\1059999.py",
> line 38, in execute
>    dc.pass2()
>  File
> "D:\Apps\Python25\Lib\site-packages\MoinMoin\script\migration\_conv160.py",
> line 505, in pass2
>    self.write_dest()
>  File
> "D:\Apps\Python25\Lib\site-packages\MoinMoin\script\migration\_conv160.py",
> line 544, in write_dest
>    self.eventlog.copy(opj(self.ddata, 'event-log'), self.renames)
>  File
> "D:\Apps\Python25\Lib\site-packages\MoinMoin\script\migration\_conv160.py",
> line 113, in copy
>    self.read()
>  File
> "D:\Apps\Python25\Lib\site-packages\MoinMoin\script\migration\_conv160.py",
> line 87, in read
>    timestamp, action, kvpairs = fields[:3]
> ValueError: need more than 1 value to unpack
>
> The target page directory for the "SQL Scripts" page (the last one
> reported as being converted) looks OK, so I'm not sure where the error
> may lie.
>
> Can anyone suggest where I should look next?
>
> Thanks,
> Paul.
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
>
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20080108/00bde088/attachment.html>


More information about the Moin-user mailing list