debugging CGI scripts

Michal Wallace sabren at manifestation.com
Mon Aug 21 17:01:57 EDT 2000


On Sun, 20 Aug 2000, lynx wrote:

> any good, simple work-even-remotely-alike for perl's CGI::Carp out there,
> so i can send script errors to the browser and exit semi-gracefully?
> any way to do such things in a general manner, for non-CGI stuff also?

My weblib module and Chuck Esterbrook's webware both have components
to do this..

weblib.sourceforge.net
webware.sourceforge.net

they both work on the principle of wrapping the CGI in a big
try..except statement..

Also see http://www.webtechniques.com/archives/1998/02/kuchling/ for
A. M. Kuchling's article, "A CGI Framework in Python"

Cheers,

- Michal
------------------------------------------------------------------------
www.manifestation.com  www.sabren.com  www.linkwatcher.com  www.zike.net
------------------------------------------------------------------------





More information about the Python-list mailing list