[PYTHONMAC-SIG] CGI error condition

Jack Jansen Jack.Jansen@cwi.nl
Thu, 04 Dec 1997 12:27:08 +0100


Recently, Tasselli Marco <ita.mis@euro.apple.com> said:

> When the bundled applet used for CGI (compiled with mkapplet) encounter
> an error condition (outside a try/except clause), it stop executing
> leaving the stdout window open with a <<terminated>> title.
> The problem is that there is no way to quit the program, in order to
> correct it, other than using a command-option-escape sequence and, of
> course, this is not possible at all if you use Timbuktu to control a
> remote server.

Try clearing the "keep console open on normal/error exit" by dropping
the applet on editpythonprefs.

On a side note: since you seem to be actually *using* the CGI stuff:
do you think you could provide me with some reasonably easy to
understand (and generally useable) example CGI scripts? I created the
framework and did some cursory tests, but never got around to actually
exercising the stuff...
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@cwi.nl      | ++++ if you agree copy these lines to your sig ++++
http://www.cwi.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm 

_______________
PYTHONMAC-SIG  - SIG on Python for the Apple Macintosh

send messages to: pythonmac-sig@python.org
administrivia to: pythonmac-sig-request@python.org
_______________