ImportError on running pagescleaner
The script raises an exception at the end of the run because it didn't found the run() function.
Other scripts may also affected.
Details
[...] # ok: './data/pages/CategoryObsolete' # ok: './data/pages/ObsoletePages' Traceback (most recent call last): File "/home/unixwiki/python-2.4.2/bin/pagescleaner", line 2, in ? from MoinMoin.scripts.pagescleaner import run ImportError: cannot import name run
MoinMoin Version |
1.5.3 |
Python Version |
2.4.2 |
Server Setup |
StandAlone |
Workaround
I think, this bug is fixed in the 1.6 branch. Please beckport the changes in the current branch. Thanks!
Discussion
Plan
- Priority:
- Assigned to:
- Status: I checked it with current 1.5 code (soon 1.5.5) and there is no such bug. For 1.5.4 you have to use the new moin ... maint cleanpage command. Remove pagescleaner command after upgrading to 1.5.4/5.