Description

After a fresh install on a Windows(r) system with version 2.5 of python, in a default cygwin installation, wikiserver.py throws a UnicodeDecodeError. It claims that bytes 25-30 aren't a recognized Unicode code range.

Steps to reproduce

  1. Base cygwin install with python 2.5, or just python 2.5 on a Windows XP SP3 machine.
  2. Run python wikiserver.py

  3. Visit localhost:8080 with either Google Chrome or Firefox (both display this error, IE is untested).

Example

URL: http://localhost:8080/ OR http://localhost:8080/FrontPage

Component selection

Details

unsupported_unicode_range_trace.html

MoinMoin Version

1.8.1

OS and Version

Windows XP Home, SP3, All updates

Python Version

2.5

Server Setup

N/A (Desktop Edition)

Server Details

N/A

Language you are using the wiki in

English (or Default)

Workaround

There is no current workaround, as it prevents the server from serving any pages.

Discussion

The traceback shows that your global edit-log (data/edit-log) is damaged and contains non-utf8 characters.

For a deeper analysis, we would need that edit-log (or at least the part of it that crashes).


Okay, so here's the edit-log for you: edit-log_unsupported_unicode_range.tar.gz Hope it'll help.


It turns out that the archive is incompatible with ZipGenius, which I've used for years. The edit-log and event-log are shown to be 0 byte files, but turn out to be the 22,600B mess you saw. I tested using a different archiver and the extraction worked, and so too did MoinMoin.

Please post a notice on your download page for users of ZipGenius, and others who use non-standard archive utilities, that if they have errors to attempt extraction with PeaZip (which worked just fine) or another free alternative.

Plan


CategoryMoinMoinNoBug CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/1.8.1 Unsupported unicode range (last edited 2008-12-28 21:19:03 by Robert K)