problems debugging python script on server
eglyph at gmail.com
eglyph at gmail.com
Sat Aug 23 05:47:29 EDT 2008
> cgitb.enable() to try to find the error, but with no success. I'm
> really at a loss as to why it's generating this error.
Apache's error_log and access_log are your friends.
In this particular case your script breaks something http-server
related: premature end of headers, incorrect permissions on script,
wrong interpreter script, etc. Anyway the right reason is in the http
server's logs.
More information about the Python-list
mailing list