Description

Upon saving a page, you sometimes get a traceback with a "ProtocolError", presumably raised while talking to moinmaster.wikiwikiweb.de:8000 over XMLRPC. If this happens, the changes to the page are not saved.

Steps to reproduce

This is difficult to reproduce because it only seems to occur when there are problems with wikiwikiweb.de. Whenever I got the bug, I also had problems accessing moinmoin.wikiwikiweb.de (either a Twisted error: too many open files or the CSS would not download, giving the typical corrupted Wiki appearance).

I guess this could be reproduced by temporarily changing the URI in line 95 of util/antispam.py from {{{ uri = "http://moinmaster.wikiwikiweb.de:8000/?action=xmlrpc2" }}} to some fake XMLRPC server that behaves badly.

Example

Here are two example tracebacks:

Details

MoinMoin Version

moin 1.3.4

OS and Version

Debian Linux Sarge (Intel x86 platform)

Python Version

Python 2.4.1

Server Setup

Apache 1.3.33 using FastCGI

Server Details

nothing special

Workaround

Deactivate spam protection in the Wiki config or patch line 126 of MoinMoin/util/antispam.py from {{{ except (timeoutsocket.Timeout, timeoutsocket.error), err: }}} to {{{ except (timeoutsocket.Timeout, timeoutsocket.error,

}}} (not seriously tested).

Discussion

Plan


CategoryMoinMoinBugFixed

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