Help with my first CGI program???

Erik Max Francis max at alcyone.com
Mon Nov 19 21:02:30 CET 2001


Ron Stephens wrote:

> Any help would be appreciated. I am getting a KEYERROR when I run my
> CGI
> program as a standalone python program. Maybe its just because the
> standalone python program doesn't have the input data from the FORM I
> use in my HTML input page to my CGI.

That's correct; it's expected that it wouldn't work.

> Howver, I get no error messages
> from actaully running my CGI on the web (just a general serer error),
> even though I set sys.stderr = sys.stdout

stderr redirection is done by the Web server to an error log.  Check the
error log in your server to find out what's going on.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Laws are silent in time of war.
\__/ Cicero
    Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
 An Esperanto reference for English speakers.



More information about the Python-list mailing list