[mod_python] Upgrade problem

John Angelmo john at veidit.net
Sat Sep 14 23:35:23 EST 2002


Hello

I recently upgraded both mod_python and Apache with portupgrade. Now there seems to be some problem I only get this output:

Mod_python error: "PythonHandler mod_python.publisher"

Traceback (most recent call last):

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

  File "/usr/local/lib/python2.2/site-packages/mod_python/publisher.py", line 88, in handler
    if func_path[-1] == ".":

IndexError: string index out of range


My apacheconfig:

<Directory /usr/local/www/data/wa>
            AddHandler python-program .py
            PythonHandler mod_python.publisher
            PythonDebug On
</Directory>

/John



More information about the Mod_python mailing list