cgitb and Apache
hancock.robert at gmail.com
Tue Dec 23 06:32:25 CET 2008
I have a cgi running in my alpha environment and, of course,
everything works fine. In beta, when I attempt to access a page via
our proxy, which works perfectly in alpha. It attempts to call cgitb
but freezes for while and then exits.
The Apache log show:
[Mon Dec 22 23:49:25 2008] [error] [client 172.16.143.75] /usr/local/
BaseException.message has been deprecated as of Python 2.6
[Mon Dec 22 23:49:25 2008] [error] [client 172.16.143.75] value =
The source for cgitb at 173 is:
if isinstance(evalue, BaseException):
for name in dir(evalue):
if name[:1] == '_': continue
---> value = pydoc.html.repr(getattr(evalue, name))
exception.append('\n<br>%s%s =\n%s' % (indent, name,
return head + ''.join(frames) + ''.join(exception) + '''
Any suggestions on how to deal with this?
More information about the Python-list