Using cgitb under mod_python

Tiberius Teng tiberius at ms28.hinet.net
Fri Mar 15 09:09:12 EST 2002


Recently I'm writting a program using mod_python and want it to have a
pretty printed error message page, and I find that cgitb probably
helps me. But unfortunately I can't get it work under mod_python,
although I imported it and called it's enable() function but my script
still sends ordinary traceback info (I use 'raise ValueError' to test
it out).

Any ideas ?



More information about the Python-list mailing list