--> --> -->
 
 
<class 'mercurial.error.RepoError'>
Python 2.6.5: /usr/bin/python
Wed Sep 8 16:58:59 2010

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/g/guy/public_html/hg/hgweb.cgi in ()
   24 
   25 def make_web_app():
   26     return hgweb("/path/to/repo", "repository name")
   27 
   28 wsgicgi.launch(wsgiapplication(make_web_app))
wsgicgi = <module 'mercurial.hgweb.wsgicgi' from '/usr/lib/pymodules/python2.6/mercurial/hgweb/wsgicgi.pyc'>, wsgicgi.launch = <function launch>, wsgiapplication = <function wsgiapplication>, make_web_app = <function make_web_app>
 /usr/lib/pymodules/python2.6/mercurial/hgweb/request.py in wsgiapplication(app_maker=<function make_web_app>)
  135     '''For compatibility with old CGI scripts. A plain hgweb() or hgwebdir()
  136     can and should now be used as a WSGI application.'''
  137     application = app_maker()
  138     def run_wsgi(env, respond):
  139         return application(env, respond)
application undefined, app_maker = <function make_web_app>
 /home/g/guy/public_html/hg/hgweb.cgi in make_web_app()
   24 
   25 def make_web_app():
   26     return hgweb("/path/to/repo", "repository name")
   27 
   28 wsgicgi.launch(wsgiapplication(make_web_app))
global hgweb = <class 'mercurial.hgweb.hgweb_mod.hgweb'>
 /usr/lib/pymodules/python2.6/mercurial/hgweb/hgweb_mod.py in __init__(self=<mercurial.hgweb.hgweb_mod.hgweb object>, repo='/path/to/repo', name='repository name')
   28             u.setconfig('ui', 'report_untrusted', 'off')
   29             u.setconfig('ui', 'interactive', 'off')
   30             self.repo = hg.repository(u, repo)
   31         else:
   32             self.repo = repo
self = <mercurial.hgweb.hgweb_mod.hgweb object>, self.repo undefined, global hg = <module 'mercurial.hg' from '/usr/lib/pymodules/python2.6/mercurial/hg.pyc'>, hg.repository = <function repository>, u = <mercurial.ui.ui object>, repo = '/path/to/repo'
 /usr/lib/pymodules/python2.6/mercurial/hg.py in repository(ui=<mercurial.ui.ui object>, path='/path/to/repo', create=False)
   61 def repository(ui, path='', create=False):
   62     """return a repository object for the specified path"""
   63     repo = _lookup(path).instance(ui, path, create)
   64     ui = getattr(repo, "ui", ui)
   65     for name, module in extensions.extensions():
repo undefined, global _lookup = <function _lookup>, path = '/path/to/repo', ).instance undefined, ui = <mercurial.ui.ui object>, create = False
 /usr/lib/pymodules/python2.6/mercurial/localrepo.py in instance(ui=<mercurial.ui.ui object>, path='/path/to/repo', create=False)
 2149 
 2150 def instance(ui, path, create):
 2151     return localrepository(ui, util.drop_scheme('file', path), create)
 2152 
 2153 def islocal(path):
global localrepository = <class 'mercurial.localrepo.localrepository'>, ui = <mercurial.ui.ui object>, global util = <module 'mercurial.util' from '/usr/lib/pymodules/python2.6/mercurial/util.pyc'>, util.drop_scheme = <function drop_scheme>, path = '/path/to/repo', create = False
 /usr/lib/pymodules/python2.6/mercurial/localrepo.py in __init__(self=<mercurial.localrepo.localrepository object>, baseui=<mercurial.ui.ui object>, path='/path/to/repo', create=False)
   60                 reqfile.close()
   61             else:
   62                 raise error.RepoError(_("repository %s not found") % path)
   63         elif create:
   64             raise error.RepoError(_("repository %s already exists") % path)
global error = <module 'mercurial.error' from '/usr/lib/pymodules/python2.6/mercurial/error.pyc'>, error.RepoError = <class 'mercurial.error.RepoError'>, global _ = <function gettext>, path = '/path/to/repo'

<class 'mercurial.error.RepoError'>: repository /path/to/repo not found
      args = ('repository /path/to/repo not found',)
      message = 'repository /path/to/repo not found'