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


CategoryMoinMoinNoBug

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