A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
| /data/mercurial/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': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HGENCODING': 'UTF-8', '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': 'hg.grml.org', ...}, start_response = <function start_response> |
| /data/mercurial/mercurial/hgweb/request.py in __call__(self=<mercurial.hgweb.request.wsgiapplication object>, wsgienv={'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HGENCODING': 'UTF-8', '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': 'hg.grml.org', ...}, 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': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HGENCODING': 'UTF-8', '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': 'hg.grml.org', ...}, start_response = <function start_response> |
| /data/mercurial/mercurial/hgweb/request.py in __init__(self=<mercurial.hgweb.request._wsgirequest object>, destination=<mercurial.hgweb.hgwebdir_mod.hgwebdir object>, wsgienv={'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HGENCODING': 'UTF-8', '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': 'hg.grml.org', ...}, 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> |
| /data/mercurial/mercurial/hgweb/hgwebdir_mod.py in run_wsgi(self=<mercurial.hgweb.hgwebdir_mod.hgwebdir object>, req=<mercurial.hgweb.request._wsgirequest object>) |
180 req.env['REPO_NAME'] = virtual
|
181 try:
|
182 hgweb(real).run_wsgi(req)
|
183 except IOError, inst:
|
184 req.write(tmpl("error", error=inst.strerror))
|
| global hgweb = <mercurial.demandload._replacer_from object>, real = '/data/repos/grml-x/', ).run_wsgi undefined, req = <mercurial.hgweb.request._wsgirequest object> |
| /data/mercurial/mercurial/templater.py in __call__(self=<mercurial.templater.templater object>, t='manifest', **map={'archives': <generator object>, 'dentries': <function dirlist>, 'fentries': <function filelist>, 'node': 'b3e8704e9cc14c45d84c02765d6b5a3f1f391dfc', 'path': '/grml-xgrml-x-20070603.zsh/', 'rev': 34, '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': '/data/mercurial/templates/raw/changeset.tmpl', 'fileannotate': '/data/mercurial/templates/raw/fileannotate.tmpl', 'filediff': '/data/mercurial/templates/raw/filediff.tmpl', 'header': '/data/mercurial/templates/raw/header.tmpl', 'index': '/data/mercurial/templates/raw/index.tmpl'}, ).read undefined |