[mod_python] Troubleshooting mod_python and PSP

Graham Dumpleton grahamd at dscpl.com.au
Fri Feb 11 15:16:30 EST 2005


On 12/02/2005, at 1:04 AM, Lolo wrote:
> I wrote a Python Server Page with html form, when i
> submit the form i have a POST and GET requests in my
> apache log and IOError from mod_python.

What is at:

   "/home/web/www/psp/tc/Queries.psp", line 745

Are you perhaps trying to do something that writes to a file?
The current working directory of the process may not be what
you expect. Also, the user that Apache runs as may not have
permission to write into the directory, especially if it isn't
the directory you think it is. At least always make sure you
use absolute pathnames to files that you are trying to write
to.

Graham



More information about the Mod_python mailing list