| IOError | Python 2.3.4: /usr/bin/python Mon Sep 8 10:05:27 2008 |
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.3/site-packages/trac/web/_fcgi.py in run(self=<trac.web._fcgi.Request object>) |
| 573 self.stderr.flush() |
| 574 if not self.stdout.dataWritten: |
| 575 self.server.error(self) |
| 576 |
| 577 protocolStatus, appStatus = FCGI_REQUEST_COMPLETE, 0 |
| self = <trac.web._fcgi.Request object>, self.server = <trac.web._fcgi.WSGIServer object>, self.server.error = <bound method WSGIServer.error of <trac.web._fcgi.WSGIServer object>> |
| /usr/lib/python2.3/site-packages/trac/web/_fcgi.py in handler(self=<trac.web._fcgi.WSGIServer object>, req=<trac.web._fcgi.Request object>) |
| 1269 finally: |
| 1270 if not self.multithreaded: |
| 1271 self._app_lock.release() |
| 1272 |
| 1273 return FCGI_REQUEST_COMPLETE, 0 |
| self = <trac.web._fcgi.WSGIServer object>, self._app_lock = <thread.lock object>, self._app_lock.release = <built-in method release of thread.lock object> |
| /usr/lib/python2.3/site-packages/trac/web/main.py in dispatch_request(environ={'DOCUMENT_ROOT': '/usr/share/trac/htdocs', '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': 'trac.railsware.com', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response>) |
| 375 'to locate the Trac environment(s).') |
| 376 run_once = environ['wsgi.run_once'] |
| 377 env = _open_environment(env_path, run_once=run_once) |
| 378 |
| 379 if env.base_url: |
| env undefined, global _open_environment = <function _open_environment>, env_path = '/var/lib/trac/lilu', run_once = False |
| /usr/lib/python2.3/site-packages/trac/web/main.py in _open_environment(env_path='/var/lib/trac/lilu', run_once=False) |
| 59 env = env_cache[env_path] |
| 60 finally: |
| 61 env_cache_lock.release() |
| 62 |
| 63 # Re-parse the configuration file if it changed since the last the time it |
| global env_cache_lock = <thread.lock object>, env_cache_lock.release = <built-in method release of thread.lock object> |
| /usr/lib/python2.3/site-packages/trac/env.py in open_environment(env_path='/var/lib/trac/lilu') |
| 432 'environment.' |
| 433 |
| 434 env = Environment(env_path) |
| 435 if env.needs_upgrade(): |
| 436 raise TracError, 'The Trac Environment needs to be upgraded. Run ' \ |
| env undefined, global Environment = <class 'trac.env.Environment'>, env_path = '/var/lib/trac/lilu' |
| /usr/lib/python2.3/site-packages/trac/env.py in __init__(self=<trac.env.Environment object>, path='/var/lib/trac/lilu', create=False, options=[]) |
| 124 self.create(options) |
| 125 else: |
| 126 self.verify() |
| 127 |
| 128 if create: |
| self = <trac.env.Environment object>, self.verify = <bound method Environment.verify of <trac.env.Environment object>> |
| /usr/lib/python2.3/site-packages/trac/env.py in verify(self=<trac.env.Environment object>) |
| 172 """Verify that the provided path points to a valid Trac environment |
| 173 directory.""" |
| 174 fd = open(os.path.join(self.path, 'VERSION'), 'r') |
| 175 try: |
| 176 assert fd.read(26) == 'Trac Environment Version 1' |
| fd undefined, builtin open = <type 'file'>, global os = <module 'os' from '/usr/lib64/python2.3/os.pyc'>, os.path = <module 'posixpath' from '/usr/lib64/python2.3/posixpath.pyc'>, os.path.join = <function join>, self = <trac.env.Environment object>, self.path = '/var/lib/trac/lilu' |
IOError: [Errno 2] No such file or directory: '/var/lib/trac/lilu/VERSION'
args =
(2, 'No such file or directory')
errno =
2
filename =
'/var/lib/trac/lilu/VERSION'
strerror =
'No such file or directory'