Internal Server Error
Michal Wallace
sabren at manifestation.com
Fri Oct 6 11:17:47 EDT 2000
On Fri, 6 Oct 2000 todd_gruben at my-deja.com wrote:
> Note: this script runs fine from the command
> line. I suspenct it is not finding the uuid
> module, which is a c program.
>
> Anybody have any ideas?
Todd,
You get the internal server error because python has the
problem BEFORE you print your headers.
An easy way to debug stuff like this is to put some debug code to
redirect STDERR at the top of your file:
import sys
sys.sterr = sys.stdout
print "content-type: text/plain\n\n"
Put this in *before* the call to your module.
Also, use weblib! [ http://weblib.sourceforge.net/ ] :)
Cheers,
- Michal
------------------------------------------------------------------------
www.manifestation.com www.sabren.com www.linkwatcher.com www.zike.net
------------------------------------------------------------------------
More information about the Python-list
mailing list