BZh91AY&SY E[D @ t"ɠ
$@ tQfX, &Gj@"*ҡ KB
Ur#گlˢG#Caie<_69)7H
--> -->
<class 'mercurial.error.ProgrammingError'> | Python 2.7.18: /usr/bin/python Fri Mar 29 03:19:29 2024 |
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/home/inverse/hg/hgweb.cgi in <module>() |
25 import mercurial.hgweb.wsgicgi as wsgicgi
|
26
|
27 config = "/home/inverse/hg/hgweb.conf"
|
28 application = hgweb(config)
|
=> 29 wsgicgi.launch(application)
|
wsgicgi = <proxied module 'wsgicgi'>, wsgicgi.launch = <function launch>, application = <mercurial.hgweb.hgwebdir_mod.hgwebdir object> |
/home/inverse/.local/lib/python2.7/site-packages/mercurial/hgweb/hgwebdir_mod.py in run_wsgi(self=<mercurial.hgweb.hgwebdir_mod.hgwebdir object>, req=parsedrequest(method='GET', url='http://inverset...70>, 'UNIQUE_ID': 'ZgaVsWo2ZLTjWXoBQCrGWQAAAKM'}), res=<mercurial.hgweb.request.wsgiresponse object>) |
379 with profiling.profile(self.ui, enabled=profile):
|
380 try:
|
=> 381 for r in self._runwsgi(req, res):
|
382 yield r
|
383 finally:
|
r undefined, self = <mercurial.hgweb.hgwebdir_mod.hgwebdir object>, self._runwsgi = <bound method hgwebdir._runwsgi of <mercurial.hgweb.hgwebdir_mod.hgwebdir object>>, req = parsedrequest(method='GET', url='http://inverset...70>, 'UNIQUE_ID': 'ZgaVsWo2ZLTjWXoBQCrGWQAAAKM'}), res = <mercurial.hgweb.request.wsgiresponse object> |
/home/inverse/.local/lib/python2.7/site-packages/mercurial/hgweb/hgweb_mod.py in run_wsgi(self=<mercurial.hgweb.hgweb_mod.hgweb object>, req=parsedrequest(method='GET', url='http://inverset...70>, 'UNIQUE_ID': 'ZgaVsWo2ZLTjWXoBQCrGWQAAAKM'}), res=<mercurial.hgweb.request.wsgiresponse object>) |
352 profile = repo.ui.configbool(b'profiling', b'enabled')
|
353 with profiling.profile(repo.ui, enabled=profile):
|
=> 354 for r in self._runwsgi(req, res, repo):
|
355 yield r
|
356
|
r undefined, self = <mercurial.hgweb.hgweb_mod.hgweb object>, self._runwsgi = <bound method hgweb._runwsgi of <mercurial.hgweb.hgweb_mod.hgweb object>>, req = parsedrequest(method='GET', url='http://inverset...70>, 'UNIQUE_ID': 'ZgaVsWo2ZLTjWXoBQCrGWQAAAKM'}), res = <mercurial.hgweb.request.wsgiresponse object>, repo = <filteredrepo:served <hgext_evolve.trdescrepo object>> |
/home/inverse/.local/lib/python2.7/site-packages/mercurial/hgweb/hgweb_mod.py in _runwsgi(self=<mercurial.hgweb.hgweb_mod.hgweb object>, req=parsedrequest(method='GET', url='http://inverset...70>, 'UNIQUE_ID': 'ZgaVsWo2ZLTjWXoBQCrGWQAAAKM'}), res=<mercurial.hgweb.request.wsgiresponse object>, repo=<filteredrepo:served <hgext_evolve.trdescrepo object>>) |
494 res.status = b'403 Forbidden'
|
495 res.headers[b'Content-Type'] = ctype
|
=> 496 return rctx.sendtemplate(b'error', error=e.message)
|
497 except ErrorResponse as e:
|
498 for k, v in e.headers:
|
rctx = <mercurial.hgweb.hgweb_mod.requestcontext object>, rctx.sendtemplate = <bound method requestcontext.sendtemplate of <mercurial.hgweb.hgweb_mod.requestcontext object>>, global error = <module 'mercurial.error' from '/home/inverse/.l...lib/python2.7/site-packages/mercurial/error.pyc'>, e = Abort('no files match the archive pattern',), e.message = 'no files match the archive pattern' |
/home/inverse/.local/lib/python2.7/site-packages/mercurial/hgweb/hgweb_mod.py in sendtemplate(self=<mercurial.hgweb.hgweb_mod.requestcontext object>, name='error', **kwargs={'error': 'no files match the archive pattern'}) |
233 """Helper function to send a response generated from a template."""
|
234 kwargs = pycompat.byteskwargs(kwargs)
|
=> 235 self.res.setbodygen(self.tmpl.generate(name, kwargs))
|
236 return self.res.sendresponse()
|
237
|
self = <mercurial.hgweb.hgweb_mod.requestcontext object>, self.res = <mercurial.hgweb.request.wsgiresponse object>, self.res.setbodygen = <bound method wsgiresponse.setbodygen of <mercurial.hgweb.request.wsgiresponse object>>, self.tmpl = <mercurial.templater.templater object>, self.tmpl.generate = <bound method templater.generate of <mercurial.templater.templater object>>, name = 'error', kwargs = {'error': 'no files match the archive pattern'} |
/home/inverse/.local/lib/python2.7/site-packages/mercurial/hgweb/request.py in setbodygen(self=<mercurial.hgweb.request.wsgiresponse object>, gen=<generator object increasingchunks>) |
444 def setbodygen(self, gen):
|
445 """Define the response body as a generator of bytes."""
|
=> 446 self._verifybody()
|
447 self._bodygen = gen
|
448
|
self = <mercurial.hgweb.request.wsgiresponse object>, self._verifybody = <bound method wsgiresponse._verifybody of <mercurial.hgweb.request.wsgiresponse object>> |
/home/inverse/.local/lib/python2.7/site-packages/mercurial/hgweb/request.py in _verifybody(self=<mercurial.hgweb.request.wsgiresponse object>) |
431 or self._bodywillwrite
|
432 ):
|
=> 433 raise error.ProgrammingError(b'cannot define body multiple times')
|
434
|
435 def setbodybytes(self, b):
|
global error = <module 'mercurial.error' from '/home/inverse/.l...lib/python2.7/site-packages/mercurial/error.pyc'>, error.ProgrammingError = <class 'mercurial.error.ProgrammingError'> |
<class 'mercurial.error.ProgrammingError'>: cannot define body multiple times
args =
('cannot define body multiple times',)
hint =
None
message =
'cannot define body multiple times'