What you posted doesn't work, I don't know why. All I get is a blank page and no Apache error report.
There are two problems with this. I am really trying to figure out how to trap an error on the server without exposing my innards to the world, which import cgitb; cgitb.enable() does. The other problem is that no traceback seems to play well with a try-except block. I guess I am forced to use one or the other, but not both. What I really wanted to do is display any error in a simple error statement. This is probably a KeyError, but how am I to know? There must be some way to print a dump of the current thread before it deallocates. -- Gnarlie -- http://mail.python.org/mailman/listinfo/python-list