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.7/dist-packages/mercurial/hgweb/hgweb_mod.py in run_wsgi(self=<mercurial.hgweb.hgweb_mod.hgweb object>, req=<mercurial.hgweb.request.wsgirequest object>) |
316 profile = repo.ui.configbool('profiling', 'enabled')
|
317 with profiling.profile(repo.ui, enabled=profile):
|
=> 318 for r in self._runwsgi(req, repo):
|
319 yield r
|
320
|
r undefined, self = <mercurial.hgweb.hgweb_mod.hgweb object>, self._runwsgi = <bound method hgweb._runwsgi of <mercurial.hgweb.hgweb_mod.hgweb object>>, req = <mercurial.hgweb.request.wsgirequest object>, repo = <filteredrepo:served <mercurial.localrepo.localrepository object>> |
/usr/lib/python2.7/dist-packages/mercurial/hgweb/hgweb_mod.py in _runwsgi(self=<mercurial.hgweb.hgweb_mod.hgweb object>, req=<mercurial.hgweb.request.wsgirequest object>, repo=<filteredrepo:served <mercurial.localrepo.localrepository object>>) |
444 content = webcommands.rawfile(rctx, req, tmpl)
|
445 else:
|
=> 446 content = getattr(webcommands, cmd)(rctx, req, tmpl)
|
447 req.respond(HTTP_OK, ctype)
|
448
|
content undefined, builtin getattr = <built-in function getattr>, global webcommands = <module 'mercurial.hgweb.webcommands' from '/usr...7/dist-packages/mercurial/hgweb/webcommands.pyc'>, cmd = 'file', rctx = <mercurial.hgweb.hgweb_mod.requestcontext object>, req = <mercurial.hgweb.request.wsgirequest object>, tmpl = <mercurial.templater.templater object> |
/usr/lib/python2.7/dist-packages/mercurial/hgweb/webcommands.py in file(web=<mercurial.hgweb.hgweb_mod.requestcontext object>, req=<mercurial.hgweb.request.wsgirequest object>, tmpl=<mercurial.templater.templater object>) |
178 return manifest(web, req, tmpl)
|
179 try:
|
=> 180 return _filerevision(web, req, tmpl, webutil.filectx(web.repo, req))
|
181 except error.LookupError as inst:
|
182 try:
|
global _filerevision = <function _filerevision>, web = <mercurial.hgweb.hgweb_mod.requestcontext object>, req = <mercurial.hgweb.request.wsgirequest object>, tmpl = <mercurial.templater.templater object>, global webutil = <module 'mercurial.hgweb.webutil' from '/usr/lib...on2.7/dist-packages/mercurial/hgweb/webutil.pyc'>, webutil.filectx = <function filectx>, web.repo = <filteredrepo:served <mercurial.localrepo.localrepository object>> |
/usr/lib/python2.7/dist-packages/mercurial/extensions.py in closure(*a=(<mercurial.hgweb.hgweb_mod.requestcontext object>, <mercurial.hgweb.request.wsgirequest object>, <mercurial.templater.templater object>, <filectx pysmcl/range_analysis.py@5a7d7698512b>), **kw={}) |
342 assert callable(func)
|
343 def closure(*a, **kw):
|
=> 344 return func(*(args + a), **kw)
|
345 return closure
|
346
|
func = <function filerevision_highlight>, args = (<function _filerevision>,), a = (<mercurial.hgweb.hgweb_mod.requestcontext object>, <mercurial.hgweb.request.wsgirequest object>, <mercurial.templater.templater object>, <filectx pysmcl/range_analysis.py@5a7d7698512b>), kw = {} |