--> --> -->
 
 
RevlogError
Python 2.4.4: /usr/bin/python
Fri Dec 5 01:25:15 2008

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/sites/hg.ironlionsoftware.com/www_root/hgwebdir.cgi
   31 
   32 def make_web_app():
   33     return hgwebdir("hgweb.config")
   34 
   35 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/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/hgweb/hgwebdir_mod.py in run_wsgi(self=<mercurial.hgweb.hgwebdir_mod.hgwebdir object>, req=<mercurial.hgweb.request._wsgirequest object>)
  134             if real:
  135                 try:
  136                     hgweb(real).run_wsgi(req)
  137                 except IOError, inst:
  138                     req.write(tmpl("error", error=inst.strerror))
global hgweb = <mercurial.demandload._replacer_from object>, real = '/var/lib/hg/pylirc2', ).run_wsgi undefined, req = <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 repository(ui=<mercurial.ui.ui object>, path='/var/lib/hg/pylirc2', create=0)
   73             raise util.Abort(_('cannot create new repository over "%s" protocol') %
   74                              scheme)
   75     return ctor(ui, path)
   76 
   77 def clone(ui, source, dest=None, pull=False, rev=None, update=True,
ctor = <function local_>, ui = <mercurial.ui.ui object>, path = '/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
 /var/lib/python-support/python2.4/mercurial/changelog.py in __init__(self=<mercurial.changelog.changelog object>, opener=<function o>, defversion=65537)
   14     def __init__(self, opener, defversion=REVLOGV0):
   15         revlog.__init__(self, opener, "00changelog.i", "00changelog.d",
   16                         defversion)
   17 
   18     def extract(self, text):
defversion = 65537
 /var/lib/python-support/python2.4/mercurial/revlog.py in __init__(self=<mercurial.changelog.changelog object>, opener=<function o>, indexfile='00changelog.i', datafile='00changelog.d', defversion=65537)
  321         self.chunkcache = None
  322         self.defversion = defversion
  323         self.load()
  324 
  325     def load(self):
self = <mercurial.changelog.changelog object>, self.load = <bound method changelog.load of <mercurial.changelog.changelog object>>
 /var/lib/python-support/python2.4/mercurial/revlog.py in load(self=<mercurial.changelog.changelog object>)
  359                                    (self.indexfile, flags)))
  360         else:
  361             raise RevlogError(_("index %s invalid format %d" %
  362                                (self.indexfile, fmt)))
  363         self.version = v
global RevlogError = <class mercurial.revlog.RevlogError>, global _ = <function <lambda>>, self = <mercurial.changelog.changelog object>, self.indexfile = '00changelog.i', fmt = 2

RevlogError: index 00changelog.i invalid format 2
      args = ('index 00changelog.i invalid format 2',)