Description

RecentChanges doesn't show recent changes, instead shows

UnicodeEncodeError

'decimal' codec can't encode character u'\x00' in position 0: invalid decimal Unicode string

Steps to reproduce

This seems to occur sometimes randomly after an edit is made. When I look in the edit-log file, there is a line that looks like this:

^@^@^@^@^@^@^@^@^@^@1176960928000000    00000005        SAVE    Discovery2(2f)SumoReport        129.94.211.121  drum11.orchestra.cse.unsw.EDU.AU

Where the ^@ characters are NULLs (ASCII 0).

Editing edit-log to remove the nulls fixes the problem.

Example

Component selection

Details

MoinMoin Version

Release 1.5.7

OS and Version

Debian 4.1.1-16.1

Python Version

2.3.5

Server Setup

Public wiki using CGI

Server Details

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

English

Workaround

Manually delete NULL characters from edit-log when they appear.

Discussion

This continues to happen randomly when editing pages or even making new attachments. I just upgraded to 1.5.8 and once again experienced it, so the fix noted below does not solve the creation of these unreadable pages. This problem seems very critical since pages are made unusable, and only the administrator can fix by manually editing the edit-log.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/UnicodeEncodeError u'\x00' (last edited 2007-10-29 19:18:24 by localhost)