Menu

#47 "Internal Server Error" using moinmoin 1.2.1 and apache

closed-invalid
nobody
None
5
2004-07-02
2004-04-01
No

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

Discussion

  • Oliver Graf

    Oliver Graf - 2004-04-01

    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.

     
  • Thomas Waldmann

    Thomas Waldmann - 2004-06-05
    • status: open --> closed-invalid
     
  • Thomas Waldmann

    Thomas Waldmann - 2004-06-05

    Logged In: YES
    user_id=100649

    Closing this as the error seems to be caused by external
    (incorrect) macro.

     
  • Jerry Dobner

    Jerry Dobner - 2004-07-02
    • status: closed-invalid --> open-invalid
     
  • Oliver Graf

    Oliver Graf - 2004-07-02

    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.

     
  • Thomas Waldmann

    Thomas Waldmann - 2004-07-02
    • status: open-invalid --> closed-invalid
     
  • Thomas Waldmann

    Thomas Waldmann - 2004-07-02

    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.

     
  • James J. Wagner

    James J. Wagner - 2004-09-30

    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!

     

Log in to post a comment.