Re: problems debugging python script on server

2008-08-23 Thread [EMAIL PROTECTED]
> 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 permissio

problems debugging python script on server

2008-08-23 Thread Yansky
I'm having some problems debugging a python script on my server. I'm getting a "500 Internal Server Error". What the script does is take a link and then scrape a page and store some info from the page into a database. It seemed to be working fine until I changed one line of code from: shortenL