Description
I just downloaded the Windows standalone EXE moin-desktop-1.5.0rc1-1b.exe and unpacked and ran it (no config changes, there's no note in the readme saying I need anything site-specific). I got the following error in the log window immediately I went to http://localhost:8080/:
- [Mon Jan 09 16:12:45 2006] Exception: Cyclic usage detected; you cannot have translated texts include translated texts again! This error might also occur because of things that are interpreted wiki-like inside translated strings. This time the error occurred while formatting .
I also got a traceback in my browser.
Steps to reproduce
Download and unpack moin-desktop-1.5.0rc1-1b.exe.
- Run moin.exe
Click on "MoinMoin DesktopEdition" link.
There is a traceback page shown, and an error in the moin.exe window.
Stopping moin.exe and restarting makes the traceback page go away, but the error is still reported in the moin.exe window.
Example
Details
Traceback page: traceback.html
MoinMoin Version |
Desktop Edition, 1.5.0rc1-1b |
OS and Version |
Windows 2000, IE6 |
Python Version |
As supplied with Desktop Edition |
Server Setup |
Desktop Edition defaults |
Server Details |
Desktop Edition defaults |
Workaround
Restart moin.exe and ignore the error in the log window.
Discussion
Note that this thread-safety bug is not DesktopEdition specific.
I removed that "cyclic error handling" code - it was worse than the problem it tried to avoid. The current code catches exceptions in i18n string wiki formatting on a per string basis. Problematic strings get replaced by "FIXME: ..." (and are logged). As the code doesn't use globals any more, it should work ok, even if running in parallel for the same language. As this only happens for the first few requests of a language (if ever), this should be no problem.
Plan
- Priority:
Assigned to: ThomasWaldmann
- Status: fixed in moin--main--1.5--patch-493