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/sites/hg.ironlionsoftware.com/www_root', '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': 'hg.ironlionsoftware.com', '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/sites/hg.ironlionsoftware.com/www_root', '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': 'hg.ironlionsoftware.com', '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/sites/hg.ironlionsoftware.com/www_root', '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': 'hg.ironlionsoftware.com', '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/sites/hg.ironlionsoftware.com/www_root', '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': 'hg.ironlionsoftware.com', '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/demandload.py in __call__(self=<mercurial.demandload._replacer_from object>, *args=('/var/lib/hg/pylirc2',), **kwargs={}) |
84 def __call__(self, *args, **kwargs):
|
85 target = object.__getattribute__(self, 'module')()
|
86 return target(*args, **kwargs)
|
87
|
88 def demandload(scope, modules):
|
| target = <class 'mercurial.hgweb.hgweb_mod.hgweb'>, args = ('/var/lib/hg/pylirc2',), kwargs = {} |
| /var/lib/python-support/python2.4/mercurial/hgweb/hgweb_mod.py in __init__(self=<mercurial.hgweb.hgweb_mod.hgweb object>, repo='/var/lib/hg/pylirc2', name=None) |
31 def __init__(self, repo, name=None):
|
32 if type(repo) == type(""):
|
33 self.repo = hg.repository(ui.ui(), repo)
|
34 else:
|
35 self.repo = repo
|
| self = <mercurial.hgweb.hgweb_mod.hgweb object>, self.repo undefined, global hg = <module 'mercurial.hg' from '/var/lib/python-support/python2.4/mercurial/hg.pyc'>, hg.repository = <function repository>, global ui = <module 'mercurial.ui' from '/var/lib/python-support/python2.4/mercurial/ui.pyc'>, ui.ui = <class 'mercurial.ui.ui'>, repo = '/var/lib/hg/pylirc2' |
| /var/lib/python-support/python2.4/mercurial/hg.py in local_(ui=<mercurial.ui.ui object>, path='/var/lib/hg/pylirc2', create=0) |
32 if path.startswith('file:'):
|
33 path = path[5:]
|
34 return localrepo.localrepository(ui, path, create)
|
35
|
36 def ssh_(ui, path, create=0):
|
| global localrepo = <module 'mercurial.localrepo' from '/var/lib/python-support/python2.4/mercurial/localrepo.pyc'>, localrepo.localrepository = <class 'mercurial.localrepo.localrepository'>, ui = <mercurial.ui.ui object>, path = '/var/lib/hg/pylirc2', create = 0 |
| /var/lib/python-support/python2.4/mercurial/localrepo.py in __init__(self=<mercurial.localrepo.localrepository object>, parentui=<mercurial.ui.ui object>, path='/var/lib/hg/pylirc2', create=0) |
59 v = self.revlogversion | flags
|
60 self.manifest = manifest.manifest(self.opener, v)
|
61 self.changelog = changelog.changelog(self.opener, v)
|
62
|
63 # the changelog might not have the inline index flag
|
| self = <mercurial.localrepo.localrepository object>, self.changelog undefined, global changelog = <module 'mercurial.changelog' from '/var/lib/python-support/python2.4/mercurial/changelog.pyc'>, changelog.changelog = <class 'mercurial.changelog.changelog'>, self.opener = <function o>, v = 65537 |