[mod_python] Some error while using MoinMoin

¼­ÅÂÁø skidrow at nownuri.net
Wed Mar 14 11:38:58 EST 2001


I've installed mod_python 2.6.3 and tested it out,

And tried to use MoinMoin(python CGI program..)

with modpython.cgihandler but I've got errors..

I use freebsd 4.2 release, apache 1.3.14 

and my httpd.conf file goes like this..

Addhandler python-program .py
PythonHandler mod_python.cgihandler
PythonDebug On

and It seems to work all right with any other python program

than this "MoinMoin" program..

the log goes like this..

Mod_python error: "PythonHandler mod_python.cgihandler"

Traceback (most recent call last):

  File "/usr/local/lib/python2.0/site-packages/mod_python/apache.py", line 185,
 in Dispatch
    result = object(self.req)

  File "/usr/local/lib/python2.0/site-packages/mod_python/cgihandler.py", line 
76, in handler
    imp.load_module(module_name, fd, path, desc)

  File "/usr/local/www/cgi-bin/MoinMoin/wiki-moinmoin/moin.py", line 15, in ?
    cgimain.run()

  File "/usr/local/www/cgi-bin/MoinMoin/cgimain.py", line 161, in run
    cgi.print_exception()

  File "/usr/local/lib/python2.0/cgi.py", line 870, in print_exception
    print

  File "/usr/local/lib/python2.0/site-packages/mod_python/apache.py", line 484,
 in write
    h, v = string.split(line, ":", 1)

ValueError: unpack list of wrong size

Thanks in advance...

 




--MIME Multi-part separator--




More information about the Mod_python mailing list