| <type 'exceptions.IOError'> | Python 2.5.2: /usr/bin/python Mon May 20 21:57:06 2013 |
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.5/site-packages/trac/web/_fcgi.py in run(self=<trac.web._fcgi.Request object at 0x100ae950>) |
| 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 0x100ae950>, self.server = <trac.web._fcgi.WSGIServer object at 0x1f6d110>, self.server.handler = <bound method WSGIServer.handler of <trac.web._fcgi.WSGIServer object at 0x1f6d110>> |
| /usr/lib/python2.5/site-packages/trac/web/_fcgi.py in handler(self=<trac.web._fcgi.WSGIServer object at 0x1f6d110>, req=<trac.web._fcgi.Request object at 0x100ae950>) |
| 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 0x1f6d110>, self.application = <function dispatch_request at 0x1f69aa0>, environ = {'DOCUMENT_ROOT': '/srv/trac', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en-gb,en;q=0.7,*;q=0.3', 'HTTP_HOST': 'trac.haskell.org', 'HTTP_USER_AGENT': 'CCBot/2.0', 'PATH': '/bin:/usr/bin', 'PATH_INFO': '/', 'PATH_TRANSLATED': '/srv/trac/cgi-bin/trac.fcgi/timber', ...}, start_response = <function start_response at 0x766ef50> |
| /usr/lib/python2.5/site-packages/trac/web/main.py in dispatch_request(environ={'DOCUMENT_ROOT': '/srv/trac', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en-gb,en;q=0.7,*;q=0.3', 'HTTP_HOST': 'trac.haskell.org', 'HTTP_USER_AGENT': 'CCBot/2.0', 'PATH': '/bin:/usr/bin', 'PATH_INFO': '/', 'PATH_TRANSLATED': '/srv/trac/cgi-bin/trac.fcgi/timber', ...}, start_response=<function start_response at 0x766ef50>) |
| 379 env = env_error = None |
| 380 try: |
| 381 env = open_environment(env_path, use_cache=not run_once) |
| 382 if env.base_url_for_redirect: |
| 383 environ['trac.base_url'] = env.base_url |
| env = None, global open_environment = <function open_environment at 0x1ec92a8>, env_path = '/srv/trac/timber', use_cache undefined, run_once = False |
| /usr/lib/python2.5/site-packages/trac/env.py in open_environment(env_path='/srv/trac/timber', use_cache=True) |
| 565 env = None |
| 566 if env is None: |
| 567 env = env_cache.setdefault(env_path, open_environment(env_path)) |
| 568 finally: |
| 569 env_cache_lock.release() |
| env = None, global env_cache = {'/srv/trac/Agda': <trac.env.Environment object at 0x2e38f50>, '/srv/trac/AutoNomic': <trac.env.Environment object at 0xca4ccd0>, '/srv/trac/ChessLibrary': <trac.env.Environment object at 0x3dd02d0>, '/srv/trac/DBlimited': <trac.env.Environment object at 0x533dc50>, '/srv/trac/FTGL': <trac.env.Environment object at 0xaf69810>, '/srv/trac/FieldTrip': <trac.env.Environment object at 0x724b350>, '/srv/trac/ForSyDe': <trac.env.Environment object at 0x96b3c50>, '/srv/trac/GLUT': <trac.env.Environment object at 0x535ef10>, '/srv/trac/GenI': <trac.env.Environment object at 0x269bcd0>, '/srv/trac/HNN': <trac.env.Environment object at 0x2a308d0>, ...}, env_cache.setdefault = <built-in method setdefault of dict object at 0x1eb6ed0>, env_path = '/srv/trac/timber', global open_environment = <function open_environment at 0x1ec92a8> |
| /usr/lib/python2.5/site-packages/trac/env.py in open_environment(env_path='/srv/trac/timber', use_cache=False) |
| 569 env_cache_lock.release() |
| 570 else: |
| 571 env = Environment(env_path) |
| 572 needs_upgrade = False |
| 573 try: |
| env undefined, global Environment = <class 'trac.env.Environment'>, env_path = '/srv/trac/timber' |
| /usr/lib/python2.5/site-packages/trac/env.py in __init__(self=<trac.env.Environment object at 0x5138110>, path='/srv/trac/timber', create=False, options=[]) |
| 188 self.create(options) |
| 189 else: |
| 190 self.verify() |
| 191 |
| 192 if create: |
| self = <trac.env.Environment object at 0x5138110>, self.verify = <bound method Environment.verify of <trac.env.Environment object at 0x5138110>> |
| /usr/lib/python2.5/site-packages/trac/env.py in verify(self=<trac.env.Environment object at 0x5138110>) |
| 247 """Verify that the provided path points to a valid Trac environment |
| 248 directory.""" |
| 249 fd = open(os.path.join(self.path, 'VERSION'), 'r') |
| 250 try: |
| 251 assert fd.read(26) == 'Trac Environment Version 1' |
| fd undefined, builtin open = <built-in function open>, global os = <module 'os' from '/usr/lib/python2.5/os.pyc'>, os.path = <module 'posixpath' from '/usr/lib/python2.5/posixpath.pyc'>, os.path.join = <function join at 0x7f4498f029b0>, self = <trac.env.Environment object at 0x5138110>, self.path = '/srv/trac/timber' |
<type 'exceptions.IOError'>: [Errno 13] Permission denied: '/srv/trac/timber/VERSION'
args =
(13, 'Permission denied')
errno =
13
filename =
'/srv/trac/timber/VERSION'
message =
''
strerror =
'Permission denied'