[mod_python] Upgrade problem

John Angelmo john at veidit.net
Sun Sep 15 14:06:05 EST 2002

FreeBSD updated from 4.5 to 4.6.2
mod_python updated from 2.7.6 to 2.7.8
Apache updated from??? (six months old) to latest (not 2.0)
Installation was made with the FreeBSD ports system
The page that I accessed is on my internal server


Jeff Davis wrote:
> What OS, old mod_python version, new mod_python version, and apache version do 
> you have?
> How did you install the new version? Is it possible that it didn't properly 
> install the mod_python lib? If you were installing from a package, is it 
> possible that it wasn't built correctly?
> What URL were you using to access your page? What are the contents fo your 
> file?
> Please provide the most simple example you can that still reproduces the 
> problem.
> It seems like it might be a problem related to the mod_python library and the 
> URL. Perhaps mod_python was updated and the mod_python library wasn't? 
> Perhaps the new mod_python library doesn't work correcty?
> Regards,
> 	Jeff
> On Saturday 14 September 2002 02:35 pm, John Angelmo wrote:
>>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
>>Mod_python mailing list
>>Mod_python at modpython.org
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python

More information about the Mod_python mailing list