[Moin-user] Problems migrating

Paul Moore p.f.moore at gmail.com
Tue Jan 8 08:55:38 EST 2008


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.




More information about the Moin-user mailing list