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.4/mercurial/hgweb/wsgicgi.py in launch(application=<mercurial.hgweb.request.wsgiapplication object>) |
59 return write
|
60
|
61 result = application(environ, start_response)
|
62 try:
|
63 for data in result:
|
| result undefined, application = <mercurial.hgweb.request.wsgiapplication object>, environ = {'DOCUMENT_ROOT': '/var/www/', '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': 'icedtea.classpath.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response> |
| /var/lib/python-support/python2.4/mercurial/hgweb/request.py in __call__(self=<mercurial.hgweb.request.wsgiapplication object>, wsgienv={'DOCUMENT_ROOT': '/var/www/', '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': 'icedtea.classpath.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response>) |
16
|
17 def __call__(self, wsgienv, start_response):
|
18 return _wsgirequest(self.destmaker(), wsgienv, start_response)
|
19
|
20 class _wsgioutputfile(object):
|
| global _wsgirequest = <class 'mercurial.hgweb.request._wsgirequest'>, self = <mercurial.hgweb.request.wsgiapplication object>, self.destmaker = <function make_web_app>, wsgienv = {'DOCUMENT_ROOT': '/var/www/', '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': 'icedtea.classpath.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response> |
| /var/lib/python-support/python2.4/mercurial/hgweb/request.py in __init__(self=<mercurial.hgweb.request._wsgirequest object>, destination=<mercurial.hgweb.hgwebdir_mod.hgwebdir object>, wsgienv={'DOCUMENT_ROOT': '/var/www/', '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': 'icedtea.classpath.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response>) |
49 self.start_response = start_response
|
50 self.headers = []
|
51 destination.run_wsgi(self)
|
52
|
53 def __iter__(self):
|
| destination = <mercurial.hgweb.hgwebdir_mod.hgwebdir object>, destination.run_wsgi = <bound method hgwebdir.run_wsgi of <mercurial.hgweb.hgwebdir_mod.hgwebdir object>>, self = <mercurial.hgweb.request._wsgirequest object> |
| /var/lib/python-support/python2.4/mercurial/templater.py in __call__(self=<mercurial.templater.templater object>, t='manifest', **map={'archives': <generator object>, 'dentries': <function dirlist>, 'fentries': <function filelist>, 'node': '32c44002d507829a8de7fa837f9781eea767565b', 'path': '/', 'rev': 49, 'up': '/'}) |
86 if not self.cache.has_key(t):
|
87 try:
|
88 self.cache[t] = file(self.map[t]).read()
|
89 except IOError, inst:
|
90 raise IOError(inst.args[0], _('template file %s: %s') %
|
| self = <mercurial.templater.templater object>, self.cache = {'annotateline': '#author#@#rev#: #line#', 'changesetchild': '# Child #node#', 'changesetparent': '# Parent #node#', 'diffblock': '#lines#', 'diffline': '#line#', 'difflineat': '#line#', 'difflineminus': '#line#', 'difflineplus': '#line#', 'fileline': '#line#', 'filenodelink': '', ...}, t = 'manifest', builtin file = <type 'file'>, self.map = {'changeset': '/var/lib/python-support/python2.4/mercurial/templates/raw/changeset.tmpl', 'fileannotate': '/var/lib/python-support/python2.4/mercurial/templates/raw/fileannotate.tmpl', 'filediff': '/var/lib/python-support/python2.4/mercurial/templates/raw/filediff.tmpl', 'header': '/var/lib/python-support/python2.4/mercurial/templates/raw/header.tmpl'}, ).read undefined |