[Moin-user] NameError about UnpicklingError in MoinMoin 1.2.2

Jouni K Seppanen jks at iki.fi
Mon Jun 7 08:08:22 EDT 2004


I just set up MoinMoin 1.2.2 on a computer running SuSE Linux 9.1, and
I'm getting a NameError when I try to create a new profile (i.e., set
my user preferences). When I type my name, password, repeated
password, and email address on http://.../UserPreferences and click on
Create Profile, the result contains the following backtrace:

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/MoinMoin/request.py", line 391, in run
    wikiutil.getSysPage(self, config.page_front_page).page_name, self)
  File "/usr/lib/python2.3/site-packages/MoinMoin/wikiaction.py", line 751, in do_userform
    savemsg = userform.savedata(request)
  File "/usr/lib/python2.3/site-packages/MoinMoin/userform.py", line 29, in savedata
    return UserSettingsHandler(request).handleData()
  File "/usr/lib/python2.3/site-packages/MoinMoin/userform.py", line 121, in handleData
    if user.getUserId(theuser.name):
  File "/usr/lib/python2.3/site-packages/MoinMoin/user.py", line 49, in getUserId
    except (UnpicklingError,IOError,EOFError,ValueError):
NameError: global name 'UnpicklingError' is not defined

The information I'm asked to include on bug reports is:

Python Python 2.3.3: /usr/bin/python
Linux samwise 2.6.4-54.5-smp #1 SMP Fri May 7 21:30:47 UTC 2004 i686
MoinMoin Release 1.2.2 [Revision 1.185]
Mon Jun 7 17:54:54 2004

I guess the file user.py should be referring to pickle.UnpicklingError
instead of UnpicklingError. Am I correct?

Jouni K Seppänen

More information about the Moin-user mailing list