IOError | Python 2.4.3: /usr/bin/python Thu Mar 8 02:03:17 2007 |
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.4/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.4/site-packages/trac/web/_fcgi.py in handler(self=<trac.web._fcgi.WSGIServer object>, req=<trac.web._fcgi.Request object>) |
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>, self.application = <function dispatch_request>, environ =
{'DOCUMENT_ROOT': '/srv/httpd/swapoff.org/htdocs/',
'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT':
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en',
'HTTP_CACHE_CONTROL': 'max-stale=0', 'HTTP_CONNECTION': 'Keep-Alive',
'HTTP_HOST': 'trac-hacks.org', 'HTTP_KEEP_ALIVE': '300', ...}, start_response = <function start_response> |
| /usr/lib/python2.4/site-packages/trac/web/main.py in dispatch_request(environ={'DOCUMENT_ROOT':
'/srv/httpd/swapoff.org/htdocs/', 'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT':
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en',
'HTTP_CACHE_CONTROL': 'max-stale=0', 'HTTP_CONNECTION': 'Keep-Alive',
'HTTP_HOST': 'trac-hacks.org', 'HTTP_KEEP_ALIVE': '300', ...},
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 = '/srv/trac-hacks/trac', run_once = False |
| /usr/lib/python2.4/site-packages/trac/web/main.py in _open_environment(env_path='/srv/trac-hacks/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/trac-hacks/trac', global open_environment = <function open_environment> |
| /usr/lib/python2.4/site-packages/trac/env.py in open_environment(env_path='/srv/trac-hacks/trac') |
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 = '/srv/trac-hacks/trac' |
| /usr/lib/python2.4/site-packages/trac/env.py in __init__(self=<trac.env.Environment object>, path='/srv/trac-hacks/trac', create=False, options=[]) |
119
|
120 from trac.loader import load_components
|
121 load_components(self)
|
122
|
123 if create:
|
| load_components = <function load_components>, self = <trac.env.Environment object> |
| /usr/lib/python2.4/site-packages/trac/loader.py in load_components(env=<trac.env.Environment object>) |
58 except Exception, e:
|
59 env.log.error('Failed to load plugin from %s', plugin_file,
|
60 exc_info=True)
|
61
|
62 # If setuptools is installed try to load any eggs from the plugins
|
| exc_info undefined, builtin True = True |
| /usr/lib/python2.4/logging/__init__.py in error(self=<logging.Logger
instance>, msg='Failed to load plugin from %s',
*args=('/usr/share/trac/plugins/PythonDoc.py',), **kwargs={'exc_info':
True}) |
997 return
|
998 if self.isEnabledFor(ERROR):
|
999 apply(self._log, (ERROR, msg, args), kwargs)
|
1000
|
1001 def exception(self, msg, *args):
|
| builtin apply = <built-in function apply>, self = <logging.Logger instance>, self._log = <bound method Logger._log of <logging.Logger instance>>, global ERROR = 40, msg = 'Failed to load plugin from %s', args = ('/usr/share/trac/plugins/PythonDoc.py',), kwargs = {'exc_info': True} |
| /usr/lib/python2.4/logging/__init__.py in _log(self=<logging.Logger
instance>, level=40, msg='Failed to load plugin from %s',
args=('/usr/share/trac/plugins/PythonDoc.py',), exc_info=(<class
exceptions.IOError>, <exceptions.IOError instance>,
<traceback object>)) |
1077 exc_info = sys.exc_info()
|
1078 record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info)
|
1079 self.handle(record)
|
1080
|
1081 def handle(self, record):
|
| self = <logging.Logger instance>, self.handle = <bound method Logger.handle of <logging.Logger instance>>, record = <logging.LogRecord instance> |
| /usr/lib/python2.4/logging/__init__.py in handle(self=<logging.Logger instance>, record=<logging.LogRecord instance>) |
1087 """
|
1088 if (not self.disabled) and self.filter(record):
|
1089 self.callHandlers(record)
|
1090
|
1091 def addHandler(self, hdlr):
|
| self = <logging.Logger instance>, self.callHandlers = <bound method Logger.callHandlers of <logging.Logger instance>>, record = <logging.LogRecord instance> |
| /usr/lib/python2.4/logging/__init__.py in callHandlers(self=<logging.Logger instance>, record=<logging.LogRecord instance>) |
1124 found = found + 1
|
1125 if record.levelno >= hdlr.level:
|
1126 hdlr.handle(record)
|
1127 if not c.propagate:
|
1128 c = None #break out
|
| hdlr = <logging.FileHandler instance>, hdlr.handle = <bound method FileHandler.handle of <logging.FileHandler instance>>, record = <logging.LogRecord instance> |
| /usr/lib/python2.4/logging/__init__.py in handle(self=<logging.FileHandler instance>, record=<logging.LogRecord instance>) |
640 self.acquire()
|
641 try:
|
642 self.emit(record)
|
643 finally:
|
644 self.release()
|
| self = <logging.FileHandler instance>, self.emit = <bound method FileHandler.emit of <logging.FileHandler instance>>, record = <logging.LogRecord instance> |
| /usr/lib/python2.4/logging/__init__.py in emit(self=<logging.FileHandler instance>, record=<logging.LogRecord instance>) |
742 raise
|
743 except:
|
744 self.handleError(record)
|
745
|
746 class FileHandler(StreamHandler):
|
| self = <logging.FileHandler instance>, self.handleError = <bound method FileHandler.handleError of <logging.FileHandler instance>>, record = <logging.LogRecord instance> |
| /usr/lib/python2.4/logging/__init__.py in handleError(self=<logging.FileHandler instance>, record=<logging.LogRecord instance>) |
691 if raiseExceptions:
|
692 ei = sys.exc_info()
|
693 traceback.print_exception(ei[0], ei[1], ei[2], None, sys.stderr)
|
694 del ei
|
695
|
| global traceback = <module 'traceback' from '/usr/lib/python2.4/traceback.pyc'>, traceback.print_exception = <function print_exception>, ei = (<class exceptions.IOError>, <exceptions.IOError instance>, <traceback object>), builtin None = None, global sys = <module 'sys' (built-in)>, sys.stderr = <open file '<stderr>', mode 'w'> |
| /usr/lib/python2.4/traceback.py in print_exception(etype=<class
exceptions.IOError>, value=<exceptions.IOError instance>,
tb=<traceback object>, limit=None, file=<open file
'<stderr>', mode 'w'>) |
122 file = sys.stderr
|
123 if tb:
|
124 _print(file, 'Traceback (most recent call last):')
|
125 print_tb(tb, limit, file)
|
126 lines = format_exception_only(etype, value)
|
| global _print = <function _print>, file = <open file '<stderr>', mode 'w'> |
| /usr/lib/python2.4/traceback.py in _print(file=<open file '<stderr>', mode 'w'>, str='Traceback (most recent call last):', terminator='\n') |
11
|
12 def _print(file, str='', terminator='\n'):
|
13 file.write(str+terminator)
|
14
|
15
|
| file = <open file '<stderr>', mode 'w'>, file.write = <built-in method write of file object>, str = 'Traceback (most recent call last):', terminator = '\n' | IOError: [Errno 28] No space left on device
args =
(28, 'No space left on device')
errno =
28
filename =
None
strerror =
'No space left on device'
|