<type 'exceptions.EnvironmentError'> | Python 2.7.17: /usr/bin/python Mon Dec 16 12:27:29 2019 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/lib/python2.7/site-packages/trac/web/_fcgi.py in run(self=<trac.web._fcgi.Request object>) |
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>, self.server = <trac.web._fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <trac.web._fcgi.WSGIServer object>> |
/usr/lib/python2.7/site-packages/trac/web/_fcgi.py in handler(self=<trac.web._fcgi.WSGIServer object>, req=<trac.web._fcgi.Request object>) |
1260 try: |
1261 try: |
=> 1262 result = self.application(environ, start_response) |
1263 try: |
1264 for data in result: |
result = None, self = <trac.web._fcgi.WSGIServer object>, self.application = <function dispatch_request>, environ = {'CONTEXT_DOCUMENT_ROOT': '/var/www/cgi-bin/trac.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/prj/www/html/project-builder', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'pusk.project-builder.org', 'HTTP_IF_MODIFIED_SINCE': 'Wed, 13 Nov 2019 23:37:30 UTC', ...}, start_response = <function start_response> |
/usr/lib/python2.7/site-packages/trac/web/main.py in dispatch_request(environ={'CONTEXT_DOCUMENT_ROOT': '/var/www/cgi-bin/trac.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/prj/www/html/project-builder', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'pusk.project-builder.org', 'HTTP_IF_MODIFIED_SINCE': 'Wed, 13 Nov 2019 23:37:30 UTC', ...}, start_response=<function start_response>) |
577 |
578 if not env_path: |
=> 579 raise EnvironmentError('The environment options "TRAC_ENV" or ' |
=> 580 '"TRAC_ENV_PARENT_DIR" or the mod_python ' |
=> 581 'options "TracEnv" or "TracEnvParentDir" are ' |
builtin EnvironmentError = <type 'exceptions.EnvironmentError'> |
<type 'exceptions.EnvironmentError'>: The environment options "TRAC_ENV" or "TRAC_ENV_PARENT_DIR" or the mod_python options "TracEnv" or "TracEnvParentDir" are missing. Trac requires one of these options to locate the Trac environment(s).
args =
('The environment options "TRAC_ENV" or "TRAC_ENV_... these options to locate the Trac environment(s).',)
errno =
None
filename =
None
message =
'The environment options "TRAC_ENV" or "TRAC_ENV_... these options to locate the Trac environment(s).'
strerror =
None