Description

I'm trying to migrate MoinMoin from 1.5.8 to 1.8.0. My current meta file inside the data_dir contains this information:

data_format_revision: 1059999

After executing the second phase of the migration this message is output to stdout:

New rev is 1060000.

Then it crashes with this exception:

Traceback (most recent call last):
  File "/usr/bin/moin", line 6, in ?
    run()
  File "/usr/lib/python2.4/site-packages/MoinMoin/script/moin.py", line 15, in run
    MoinScript().run(showtime=0)
  File "/usr/lib/python2.4/site-packages/MoinMoin/script/__init__.py", line 138, in run
    self.mainloop()
  File "/usr/lib/python2.4/site-packages/MoinMoin/script/__init__.py", line 255, in mainloop
    plugin_class(args[2:], self.options).run() # all starts again there
  File "/usr/lib/python2.4/site-packages/MoinMoin/script/__init__.py", line 138, in run
    self.mainloop()
  File "/usr/lib/python2.4/site-packages/MoinMoin/script/migration/data.py", line 54, in mainloop
    meta['data_format_revision'] = curr_rev
  File "/usr/lib/python2.4/site-packages/MoinMoin/wikiutil.py", line 480, in __setitem__
    raise EnvironmentError("Could not lock in MetaDict")
EnvironmentError: Could not lock in MetaDict

Steps to reproduce

moin --config-dir=/usr/local/var/www/ --wiki-url=localhost/ migration data

Example

Component selection

Details

MoinMoin Version

1.6.4-1.8.0

OS and Version

Debian 3.1

Python Version

Python 2.4.1

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

Do not migrate and keep using 1.5.8

Discussion

Looks like a file accessing write problem. Is that filesystem full or don't you have accessrights?

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/MetaDictProblemDuringMigration (last edited 2008-12-05 00:51:51 by ThomasWaldmann)