Description
Line 295 in MoinMoin/session.py reads:
- return random_string(self._SESSION_NAME_LEN, self._SESSION_NAME_CHARS)
If I'm not mistaken, it should read:
- return random_string(self._SESSION_NAME_LEN)
MoinMoin.util.random_string takes only one argument
Steps to reproduce
This error seems to come up for me every time I pull up the webpage without the fix above.
Example
Page attached
Component selection
Either MoinMoin/util/init.py needs to be changed to take two arguments or MoinMoin/session.py needs to be changed to give only 1.
Details
MoinMoin Version - 1.7.1 |
|
OS and Version - Ubuntu 8.04 |
|
Python Version - 2.5.2 |
|
Server Setup - Kamaelia Web Server |
|
Server Details - WSGI |
|
|| Language you are using the wiki in - English
|
Workaround
Discussion
Can you also please verify that MoinMoin/util/__init__.pyc is newer than MoinMoin/util/__init__.py.
Can you please provide a ls -l MoinMoin/util/ and more details in the "Details" section?
As it turns out, this is the result of an incomplete upgrade installation of MoinMoin (from 1.6.3). I deleted my MoinMoin directory and re-installed, which fixed the problem.
-- Jason Baker
Plan
- Priority:
- Assigned to:
Status: no bug, duplicate of MoinMoinBugs/1.7CleanCacheCommand (see there)