Description

After editing a page using the text editor, when I save the changes I get an "invalid literal for long()" error. I can then no longer view or edit the page. This has happened twice in the last couple of days. In both cases I only made minor text edits.

Steps to reproduce

  1. On Firefox 2.0.0.8, edit a page (I always use the text editor).
  2. Click Save Changes.

Example

InvalidLiteralError.jpg

Component selection

Details

MoinMoin Version

OS and Version

Python Version

Server Setup

Server Details

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

Workaround

Discussion

It is likely that data/page/ThatPage/edit-log (maybe also data/edit-log) got damaged somehow.

(!) You can use any utf-8 capable text editor (e.g. vim) to fix it manually.

Recent moin releases have code avoiding this damage (usually done by spammers, inserting insane stuff into all form fields they see), so upgrading to the current stable release is recommended.

Plan


CategoryMoinMoinBugFixed

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