Description

Saving a page fails in the antispam subsystem. The problem appears to be a conflict between the Python 2.4 datetime module and the utils/datetime.py module.

Steps to reproduce

  1. Try saving a page on MoinMoin 1.5.4.

Example

Details

traceback.html

Workaround

The problem appears to be that utils/datetime.py is shadowing the system datetime, so that the datetime import in antispam.py gets the wrong module. As a short-term hack I moved utils/datetime.py out of the way.

Discussion

There is no MoinMoin/util/datetime.py in moin 1.5.4. It is leftover from an older moin version you installed over. Removing that file is the correct solution.

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/ModuleHasNoAttributeDatetime (last edited 2007-10-29 19:13:38 by localhost)