A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
| /var/lib/python-support/python2.5/trac/web/_fcgi.py in run(self=<trac.web._fcgi.Request object at 0x83797cc>) |
568 """Runs the handler, flushes the streams, and ends the request."""
|
569 try:
|
570 protocolStatus, appStatus = self.server.handler(self)
|
571 except:
|
572 traceback.print_exc(file=self.stderr)
|
| protocolStatus undefined, appStatus undefined, self = <trac.web._fcgi.Request object at 0x83797cc>, self.server = <trac.web._fcgi.WSGIServer object at 0xb7db6f0c>, self.server.handler = <bound method WSGIServer.handler of <trac.web._fcgi.WSGIServer object at 0xb7db6f0c>> |
| /var/lib/python-support/python2.5/trac/web/_fcgi.py in handler(self=<trac.web._fcgi.WSGIServer object at 0xb7db6f0c>, req=<trac.web._fcgi.Request object at 0x83797cc>) |
1254 try:
|
1255 try:
|
1256 result = self.application(environ, start_response)
|
1257 try:
|
1258 for data in result:
|
| result = None, self = <trac.web._fcgi.WSGIServer object at 0xb7db6f0c>, self.application = <function dispatch_request at 0x8282224>, environ = {'DOCUMENT_ROOT': '/srv/hg', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'Accept: application/xhtml+xml,text/html;q=0.9,text/plain;', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'techn.ocracy.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response at 0x836c3ac> |
| /var/lib/python-support/python2.5/trac/web/main.py in dispatch_request(environ={'DOCUMENT_ROOT': '/srv/hg', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'Accept: application/xhtml+xml,text/html;q=0.9,text/plain;', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'techn.ocracy.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response at 0x836c3ac>) |
338 environ.setdefault('trac.locale', '')
|
339
|
340 locale.setlocale(locale.LC_ALL, environ['trac.locale'])
|
341
|
342 # Allow specifying the python eggs cache directory using SetEnv
|
| global locale = <module 'locale' from '/usr/lib/python2.5/locale.pyc'>, locale.setlocale = <function setlocale at 0xb7a1d09c>, locale.LC_ALL = 6, environ = {'DOCUMENT_ROOT': '/srv/hg', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'Accept: application/xhtml+xml,text/html;q=0.9,text/plain;', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'techn.ocracy.org', 'HTTP_PRAGMA': 'no-cache', ...} |