Updates to certain pages always result in:
Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete your
request.
Here's what the apache's error log reports:
[Wed Mar 31 20:53:44 2004] [error] [client 10.1.15.250]
malformed header from script. Bad header=<PRE
class=code> <B><FONT
COL: /usr/local/share/moin/dealwiki/moin.cgi
My SystemInfo:
Python Version
2.3.2 (#2, Mar 24 2004, 17:40:17) [GCC 2.96 20000731
(Red Hat Linux 7.1 2.96-98)]
MoinMoin Version
Release 1.2.1 [Revision 1.184]
Number of pages
827
Number of system pages
327
Number of backup versions
9282
Accumulated page sizes
1960258
Entries in edit log
8313 (746660 bytes)
Event log
9142561 bytes
Global extension macros
AbandonedPages, BR, FootNote, Form, FullSearch,
GetText, Include, Navigation, OrphanedPages, PageSize,
RandomPage, RandomQuote, RecentChanges,
ShowSmileys, StatsChart, SystemAdmin,
TableOfContents, TeudView, WantedPages
Local extension macros
BUG, BZLNK, Color, P4LNK, PageLinks
Global extension actions
AttachFile, DeletePage, LikePages, LocalSiteMap,
SpellCheck, links, rss_rc, titleindex
Local extension actions
UpdateBlog
Installed processors
CSV, Colorize, syntax, uml2ascii
Logged In: YES
user_id=1011012
This is certainly a old and broken macro still using print
to output data. I don't think we have that bad HTML anywhere
in Moin left.
Could you bit a more concrete about the pages where this
happens? What macros are used? Are those macros for Moin 1.2?
Oliver.
Logged In: YES
user_id=100649
Closing this as the error seems to be caused by external
(incorrect) macro.
Logged In: YES
user_id=757622
I have more info.
This is caused by the syntax processor posted at
http://moinmoin.wikiwikiweb.de/ProcessorMarket (see
http://chem.skku.ac.kr/~wiki/patches/processor/syntax.py\)
Logged In: YES
user_id=1011012
No bug, just an incompatible (old) processor. Update it to
moin 1.2 api and it will work fine.
Oliver.
Logged In: YES
user_id=100649
This is NOT a moin bug. You simply use a plugin written for
an older moin version.
You can try modifying the plugin code and replacing print
(or sys.stdout.write) with request.write and see if that helps.
Logged In: YES
user_id=1130990
I was also having this problem. I followed the suggestion
presented and change the last line from:
sys.stdout.write(formatter.rawHTML(html))
to
request.write(formatter.rawHTML(html))
and its all working great now.
Thanks!