--> --> -->
 
 
KeyError
Python 2.4.4: /usr/bin/python
Fri Jul 3 05:41:58 2009

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/hg/hgwebdir.cgi
   34 
   35 def make_web_app():
   36     return hgwebdir("hgwebdir.config")
   37 
   38 wsgicgi.launch(wsgiapplication(make_web_app))
wsgicgi = <module 'mercurial.hgweb.wsgicgi' from '/var/lib...n-support/python2.4/mercurial/hgweb/wsgicgi.pyc'>, wsgicgi.launch = <function launch>, wsgiapplication = <class 'mercurial.hgweb.request.wsgiapplication'>, make_web_app = <function make_web_app>
 /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/www/', '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': 'icedtea.classpath.org', ...}, 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/www/', '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': 'icedtea.classpath.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': '/var/www/', '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': 'icedtea.classpath.org', ...}, 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/www/', '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': 'icedtea.classpath.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>
 /var/lib/python-support/python2.4/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 = '/hg/fedora', ).run_wsgi undefined, req = <mercurial.hgweb.request._wsgirequest object>
 /var/lib/python-support/python2.4/mercurial/hgweb/hgweb_mod.py in run_wsgi(self=<mercurial.hgweb.hgweb_mod.hgweb object>, req=<mercurial.hgweb.request._wsgirequest object>)
  815         if method:
  816             try:
  817                 method(req)
  818             except (hg.RepoError, revlog.RevlogError), inst:
  819                 req.write(self.t("error", error=str(inst)))
method = <bound method hgweb.do_file of <mercurial.hgweb.hgweb_mod.hgweb object>>, req = <mercurial.hgweb.request._wsgirequest object>
 /var/lib/python-support/python2.4/mercurial/hgweb/hgweb_mod.py in do_file(self=<mercurial.hgweb.hgweb_mod.hgweb object>, req=<mercurial.hgweb.request._wsgirequest object>)
  877                 pass
  878 
  879         req.write(self.manifest(self.changectx(req), path))
  880 
  881     def do_diff(self, req):
req = <mercurial.hgweb.request._wsgirequest object>, req.write = <bound method _wsgirequest.write of <mercurial.hgweb.request._wsgirequest object>>, self = <mercurial.hgweb.hgweb_mod.hgweb object>, self.manifest = <bound method hgweb.manifest of <mercurial.hgweb.hgweb_mod.hgweb object>>, self.changectx = <bound method hgweb.changectx of <mercurial.hgweb.hgweb_mod.hgweb object>>, path = ''
 /var/lib/python-support/python2.4/mercurial/hgweb/request.py in write(self=<mercurial.hgweb.request._wsgirequest object>, *things=(<generator object>,))
   61             if hasattr(thing, "__iter__"):
   62                 for part in thing:
   63                     self.write(part)
   64             else:
   65                 thing = str(thing)
self = <mercurial.hgweb.request._wsgirequest object>, self.write = <bound method _wsgirequest.write of <mercurial.hgweb.request._wsgirequest object>>, part = <generator object>
 /var/lib/python-support/python2.4/mercurial/hgweb/request.py in write(self=<mercurial.hgweb.request._wsgirequest object>, *things=(<generator object>,))
   60         for thing in things:
   61             if hasattr(thing, "__iter__"):
   62                 for part in thing:
   63                     self.write(part)
   64             else:
part undefined, thing = <generator object>
 /var/lib/python-support/python2.4/mercurial/templater.py in __call__(self=<mercurial.templater.templater object>, t='manifest', **map={'archives': <generator object>, 'dentries': <function dirlist>, 'fentries': <function filelist>, 'node': '32c44002d507829a8de7fa837f9781eea767565b', 'path': '/', 'rev': 49, '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': '/var/lib/python-support/python2.4/mercurial/templates/raw/changeset.tmpl', 'fileannotate': '/var/lib/python-support/python2.4/mercurial/templates/raw/fileannotate.tmpl', 'filediff': '/var/lib/python-support/python2.4/mercurial/templates/raw/filediff.tmpl', 'header': '/var/lib/python-support/python2.4/mercurial/templates/raw/header.tmpl'}, ).read undefined

KeyError: 'manifest'
      args = ('manifest',)