A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
| /oj/lib/hghost/hgweb/wsgicgi.py in launch(application=<hgweb.request.wsgiapplication object at 0x8471bec>) |
62 return write
|
63
|
64 result = application(environ, start_response)
|
65 try:
|
66 for data in result:
|
| result undefined, application = <hgweb.request.wsgiapplication object at 0x8471bec>, environ = {'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/oj/hg/web', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HGRCPATH': '/oj/hg/.hgrc', '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': 'hg.openjdk.java.net', 'HTTP_USER_AGENT': 'CCBot/2.0', 'PATH_INFO': '/sumatra/sumatra/(TBD', ...}, start_response = <function start_response at 0x8479374> |
| /oj/lib/hghost/hgweb/request.py in __call__(self=<hgweb.request.wsgiapplication object at 0x8471bec>, wsgienv={'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/oj/hg/web', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HGRCPATH': '/oj/hg/.hgrc', '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': 'hg.openjdk.java.net', 'HTTP_USER_AGENT': 'CCBot/2.0', 'PATH_INFO': '/sumatra/sumatra/(TBD', ...}, start_response=<function start_response at 0x8479374>) |
15
|
16 def __call__(self, wsgienv, start_response):
|
17 return _wsgirequest(self.destmaker(), wsgienv, start_response)
|
18
|
19 class _wsgirequest(object):
|
| global _wsgirequest = <class 'hgweb.request._wsgirequest'>, self = <hgweb.request.wsgiapplication object at 0x8471bec>, self.destmaker = <function make_web_app at 0x8470ed4>, wsgienv = {'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/oj/hg/web', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HGRCPATH': '/oj/hg/.hgrc', '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': 'hg.openjdk.java.net', 'HTTP_USER_AGENT': 'CCBot/2.0', 'PATH_INFO': '/sumatra/sumatra/(TBD', ...}, start_response = <function start_response at 0x8479374> |
| /oj/lib/hghost/hgweb/request.py in __init__(self=<hgweb.request._wsgirequest object at 0x8471bcc>, destination=<hgweb.hgwebdir_mod.hgwebdir object at 0x846fdec>, wsgienv={'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/oj/hg/web', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HGRCPATH': '/oj/hg/.hgrc', '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': 'hg.openjdk.java.net', 'HTTP_USER_AGENT': 'CCBot/2.0', 'PATH_INFO': '/sumatra/sumatra/(TBD', ...}, start_response=<function start_response at 0x8479374>) |
33 self.start_response = start_response
|
34 self.headers = []
|
35 destination.run_wsgi(self)
|
36
|
37 out = property(lambda self: self)
|
| destination = <hgweb.hgwebdir_mod.hgwebdir object at 0x846fdec>, destination.run_wsgi = <bound method hgwebdir.run_wsgi of <hgweb.hgwebdir_mod.hgwebdir object at 0x846fdec>>, self = <hgweb.request._wsgirequest object at 0x8471bcc> |
| /oj/lib/hghost/hgweb/hgwebdir_mod.py in run_wsgi(self=<hgweb.hgwebdir_mod.hgwebdir object at 0x846fdec>, req=<hgweb.request._wsgirequest object at 0x8471bcc>) |
224 req.write(tmpl("error", error=str(inst)))
|
225 else:
|
226 req.write(tmpl("notfound", repo=virtual))
|
227 else:
|
228 if req.form.has_key('static'):
|
| req = <hgweb.request._wsgirequest object at 0x8471bcc>, req.write = <bound method _wsgirequest.write of <hgweb.request._wsgirequest object at 0x8471bcc>>, tmpl = None, repo undefined, virtual = 'sumatra' |
| /oj/lib/python/mercurial/templater.py in __call__(self=<mercurial.templater.templater object at 0x846738c>, t='notfound', **map={'repo': 'sumatra'}) |
85 if not self.cache.has_key(t):
|
86 try:
|
87 self.cache[t] = file(self.map[t]).read()
|
88 except IOError, inst:
|
89 raise IOError(inst.args[0], _('template file %s: %s') %
|
| self = <mercurial.templater.templater object at 0x846738c>, self.cache = {'annotateline': '<tr style="font-family:monospace" class="parity#...v#</a></td><td><pre>#line|escape#</pre></td></tr>', 'archiveentry': ' | <a href="{url}archive/{node|short}{extension}">#type|escape#</a> ', 'branchentry': '<tr class="parity{parity}"><td class="age"><i>{d...sessionvars%urlparameter}">manifest</a></td></tr>', 'branchtag': '<span class="branchtag" title="{name}">{name}</span> ', 'changelogchild': '<tr><th class="child">child #rev#:</th><td class...ionvars%urlparameter}">#node|short#</a></td></tr>', 'changelogparent': '<tr><th class="parent">parent #rev#:</th><td cla...ionvars%urlparameter}">#node|short#</a></td></tr>', 'changesetchild': '<tr><td>child {rev}</td><td style="font-family:m...ionvars%urlparameter}">{node|short}</a></td></tr>', 'changesetparent': '<tr><td>parent {rev}</td><td style="font-family:...ionvars%urlparameter}">{node|short}</a></td></tr>', 'default': 'summary', 'diffblock': '<pre>#lines#</pre>', ...}, t = 'notfound', builtin file = <type 'file'>, self.map = {'changelog': '/oj/lib/hghost/hgweb/templates/changelog.tmpl', 'changelogentry': '/oj/lib/hghost/hgweb/templates/changelogentry.tmpl', 'changeset': '/oj/lib/hghost/hgweb/templates/changeset.tmpl', 'error': '/oj/lib/hghost/hgweb/templates/error.tmpl', 'fileannotate': '/oj/lib/hghost/hgweb/templates/fileannotate.tmpl', 'filediff': '/oj/lib/hghost/hgweb/templates/filediff.tmpl', 'filelog': '/oj/lib/hghost/hgweb/templates/filelog.tmpl', 'filerevision': '/oj/lib/hghost/hgweb/templates/filerevision.tmpl', 'footer': '/oj/lib/hghost/hgweb/templates/footer.tmpl', 'header': '/oj/lib/hghost/hgweb/templates/header.tmpl', ...}, ).read undefined |