| <type 'exceptions.IOError'> | Python 2.5.1: /usr/bin/python Thu Aug 21 14:40:23 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.
| /var/lib/python-support/python2.5/trac/web/_fcgi.py in run(self=<trac.web._fcgi.Request object at 0x9a35d6c>) |
| 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 0x9a35d6c>, self.server = <trac.web._fcgi.WSGIServer object at 0x4020bc4c>, self.server.handler = <bound method WSGIServer.handler of <trac.web._fcgi.WSGIServer object at 0x4020bc4c>> |
| /var/lib/python-support/python2.5/trac/web/_fcgi.py in handler(self=<trac.web._fcgi.WSGIServer object at 0x4020bc4c>, req=<trac.web._fcgi.Request object at 0x9a35d6c>) |
| 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 0x4020bc4c>, self.application = <function dispatch_request at 0x82b8b1c>, environ = {'DOCUMENT_ROOT': '/srv/kid-templating.org/www/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': 'www.kid-templating.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response at 0x82e9b54> |
| /var/lib/python-support/python2.5/trac/web/main.py in dispatch_request(environ={'DOCUMENT_ROOT': '/srv/kid-templating.org/www/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': 'www.kid-templating.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response at 0x82e9b54>) |
| 389 env = env_error = None |
| 390 try: |
| 391 env = _open_environment(env_path, run_once=run_once) |
| 392 if env.base_url: |
| 393 environ['trac.base_url'] = env.base_url |
| env = None, global _open_environment = <function _open_environment at 0x82b880c>, env_path = '/srv/kid-templating.org/var/trac', run_once = False |
| /var/lib/python-support/python2.5/trac/web/main.py in _open_environment(env_path='/srv/kid-templating.org/var/trac', run_once=False) |
| 56 try: |
| 57 if not env_path in env_cache: |
| 58 env_cache[env_path] = open_environment(env_path) |
| 59 env = env_cache[env_path] |
| 60 finally: |
| global env_cache = {}, env_path = '/srv/kid-templating.org/var/trac', global open_environment = <function open_environment at 0x829410c> |
| /var/lib/python-support/python2.5/trac/env.py in open_environment(env_path='/srv/kid-templating.org/var/trac') |
| 460 'environment.' |
| 461 |
| 462 env = Environment(env_path) |
| 463 if env.needs_upgrade(): |
| 464 raise TracError, 'The Trac Environment needs to be upgraded. Run ' \ |
| env undefined, global Environment = <class 'trac.env.Environment'>, env_path = '/srv/kid-templating.org/var/trac' |
| /var/lib/python-support/python2.5/trac/env.py in __init__(self=<trac.env.Environment object at 0x9a4e0ac>, path='/srv/kid-templating.org/var/trac', create=False, options=[]) |
| 145 self.create(options) |
| 146 else: |
| 147 self.verify() |
| 148 |
| 149 if create: |
| self = <trac.env.Environment object at 0x9a4e0ac>, self.verify = <bound method Environment.verify of <trac.env.Environment object at 0x9a4e0ac>> |
| /var/lib/python-support/python2.5/trac/env.py in verify(self=<trac.env.Environment object at 0x9a4e0ac>) |
| 193 """Verify that the provided path points to a valid Trac environment |
| 194 directory.""" |
| 195 fd = open(os.path.join(self.path, 'VERSION'), 'r') |
| 196 try: |
| 197 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 0x401ed374>, self = <trac.env.Environment object at 0x9a4e0ac>, self.path = '/srv/kid-templating.org/var/trac' |
<type 'exceptions.IOError'>: [Errno 24] Too many open files: '/srv/kid-templating.org/var/trac/VERSION'
args =
(24, 'Too many open files')
errno =
24
filename =
'/srv/kid-templating.org/var/trac/VERSION'
message =
''
strerror =
'Too many open files'