moin 1.2.2, any python version, Error: NameErrorglobal name 'UnpicklingError' is not defined

This can be fixed by editing user.py (maybe in /usr/lib/python2.x/site-packages/MoinMoin).

You want to edit line 49, by default it looks like this:

except (UnpicklingError,IOError,EOFError,ValueError):

You want to change it to look like this:

except (pickle.UnpicklingError,IOError,EOFError,ValueError):

You could have to redo 'python setup.py --quiet install' (look at INSTALL.html) because the object code file user.pyc could not reflect your modification.

This is fixed in arch, moin--main--1.2.

CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/UnpicklingError (last edited 2007-10-29 19:09:54 by localhost)