Description

too many values to unpack

Describe the bug...

I upgraded our existing moinmoin from ver. 1.2.3 to 1.5.8 and ran all migration scripts to converted the previous instance data. Everything went well until I tried to implement access control with moin_cookie auth. We had a few user accounts created in version 1.2.3. Since there was no access control, anyone can edit the pages without actually log in. Even if they do want to log in, they can use a link such as href="/moinwiki/?action=userform&uid=1191595566.97.52277" without providing their passwords.

After the upgrade, the user links won't work anymore. Then when superuser tried to reset user's password, we got the above error (see Steps to reproduce below). For certain users, no matter what we try, he/she always get that error.

Steps to reproduce

  1. Login as superuser.
  2. Switch to other user to change his/her password.
  3. It may success once or two. Then you may see above error message in the response page.
  4. To get rid of the error, I have to clear the MOIN_ID cookie from the browser.
  5. Please note, this only occurs to users created with version 1.2.3. For newly created users after the upgrade, it seems ok.

Example

Component selection

Details

wiki-bug-traceback.html

MoinMoin Version

1.5.8

OS and Version

Linux Debian 4, kernel 2.6.3-1-686

Python Version

2.4

Server Setup

Server Details

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

default

Workaround

Discussion

This bug repoer misses lots of details. Please provide some more informations otherwise we have to think its a testpage only. -- ReimarBauer 2007-10-26 19:57:48

No this is not a testpage. It has been bothering us since we upgraded from ver. 1.2.3 to 1.5.8 two weeks ago. Please see more details I entered. Thanks.

/!\ You have a defect theme (or theme related configuration) somewhere, see:

stylesheets = (('all', 'common'), ('screen', 'screen'), ('print', 'print'), ('projection', 'projection'), ('starshine', 'iso-8859-1', 'screen', 'screen'))

You see it is a list of 2-tuples, but the last item ('starshine' theme?) is a 4-tuple.

Maybe simply removing this theme would make your wiki not crash.

Yes, that seems causing the problem. Thank you very much!

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/TooManyValuesToUnpack (last edited 2007-11-02 19:07:42 by ReimarBauer)