Description
The Standalone version of MoinMoin returns a UnicodeDecodeError when I try to load it on the Localhost with a browser.
Steps to reproduce
I'm afraid Moin Standalone is failing for me at the first hurdle. Here's all I do, once I have it properly installed.
- Run Moin Standalone version from moin.py.
- Start browser and point it at the IP address on Moin is serving.
- Find error.
Obviously something else is going wrong, and other people aren't encountering this problem, but I can't think how to give any more useful directions that that. I'll post the traceback below.
Example
another traceback, text version
Component selection
The traceback lists problems in the following modules:
init.py
- wikiutil.py
- wikidicts.py
- Page.py
- editlog.py
Details
MoinMoin Version 1.6.1, also previously, slightly differently, in 1.6.0 |
|
OS and Version Windows XP |
|
Python Version 2.5.1 |
|
Server Setup Standalone |
|
Server Details |
|
Language you are using the wiki in English |
|
Workaround
Use version 1.5.5.
Discussion
Looks like your data/edit-log does contain invalid characters. Did you touch it with MS Office?
- - Oh bugger, yes. I'm new to Python and couldn't figure out how to get a traceback, as I can no longer get the browser to show the error just a 'no such page' message. Since the template requests an html doc I typed it in word. I've now added a .txt traceback.
- Note that I am talking about data/edit-log, not the traceback files. It looks like your edit-log is damaged (contains non-utf-8 characters). AFAIK moin does not damage it, so the question is whether you modified this file it using the wrong tools?
- - No, I'm certain I haven't. I'm pretty sure I haven't touched that file at all and I either use IDLE or notebook when I'm working on this machine. I just freshly installed moin-1.6.1 again and came up with the same error. I've tried to remove all traces of previous installations, could there be something left that's tripping me up?
- Note that I am talking about data/edit-log, not the traceback files. It looks like your edit-log is damaged (contains non-utf-8 characters). AFAIK moin does not damage it, so the question is whether you modified this file it using the wrong tools?
Plan
- Priority:
- Assigned to:
- Status: traceback clearly shows that there is invalid content (not utf8-decodeable content) in edit-log. until we get the edit-log to look at it, we can't debug this and it is suspected that it likely is a filesystem or data corruption problem on that machine.