| <class 'mercurial.error.RepoError'> | Python 2.6.5: /usr/local/bin/python Fri Jul 30 16:17:49 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/www/sean.chittenden.org/public/hg/hgwebdir.cgi in |
| 46 |
| 47 def make_web_app(): |
| 48 return hgwebdir("hgweb.config") |
| 49 |
| 50 wsgicgi.launch(wsgiapplication(make_web_app)) |
| wsgicgi = <proxied module 'wsgicgi'>, wsgicgi.launch = <function launch>, wsgiapplication = <function wsgiapplication>, make_web_app = <function make_web_app> |
| /usr/local/lib/python2.6/site-packages/mercurial/hgweb/wsgicgi.py in launch(application=<function run_wsgi>) |
| 71 content = application(environ, start_response) |
| 72 try: |
| 73 for chunk in content: |
| 74 write(chunk) |
| 75 finally: |
| chunk undefined, content = <generator object increasingchunks> |
| /usr/local/lib/python2.6/site-packages/mercurial/util.py in increasingchunks(source=<generator object process>, min=1024, max=65536) |
| 229 buf = [] |
| 230 blen = 0 |
| 231 for chunk in source: |
| 232 buf.append(chunk) |
| 233 blen += len(chunk) |
| chunk = '">Last modified</a></th>\n <th> </th>\n </tr>\n ', source = <generator object process> |
| /usr/local/lib/python2.6/site-packages/mercurial/templater.py in process(self=<mercurial.templater.engine object>, t='index', map={'descending': False, 'entries': <function entries>, 'sort_contact': 'contact', 'sort_description': 'description', 'sort_lastchange': 'lastchange', 'sort_name': 'name', 'sortcolumn': None, 'subdir': ''}) |
| 58 while iters: |
| 59 try: |
| 60 item = iters[0].next() |
| 61 except StopIteration: |
| 62 iters.pop(0) |
| item = <generator object _format>, iters = [<generator object _format>, <generator object _process>], ].next undefined |
| /usr/local/lib/python2.6/site-packages/mercurial/templater.py in _format(self=<mercurial.templater.engine object>, expr='entries%indexentry', get=<function get>, map={'descending': False, 'entries': <function entries>, 'sort_contact': 'contact', 'sort_description': 'description', 'sort_lastchange': 'lastchange', 'sort_name': 'name', 'sortcolumn': None, 'subdir': ''}) |
| 77 raise SyntaxError(_("error expanding '%s%%%s'") % (key, format)) |
| 78 lm = map.copy() |
| 79 for i in v: |
| 80 if isinstance(i, dict): |
| 81 lm.update(i) |
| i undefined, v = <generator object entries> |
| /usr/local/lib/python2.6/site-packages/mercurial/hgweb/hgwebdir_mod.py in entries(sortcolumn=None, descending=False, subdir='', **map={'entries': <function entries>, 'sort_contact': 'contact', 'sort_description': 'description', 'sort_lastchange': 'lastchange', 'sort_name': 'name'}) |
| 235 # update time with local timezone |
| 236 try: |
| 237 r = hg.repository(self.ui, path) |
| 238 d = (get_mtime(r.spath), util.makedate()[1]) |
| 239 except OSError: |
| r undefined, global hg = <module 'mercurial.hg' from '/usr/local/lib/python2.6/site-packages/mercurial/hg.pyc'>, hg.repository = <function repository>, self = <mercurial.hgweb.hgwebdir_mod.hgwebdir object>, self.ui = <mercurial.ui.ui object>, path = 'repos/memcache' |
| /usr/local/lib/python2.6/site-packages/mercurial/hg.py in repository(ui=<mercurial.ui.ui object>, path='repos/memcache', create=False) |
| 80 def repository(ui, path='', create=False): |
| 81 """return a repository object for the specified path""" |
| 82 repo = _lookup(path).instance(ui, path, create) |
| 83 ui = getattr(repo, "ui", ui) |
| 84 for name, module in extensions.extensions(): |
| repo undefined, global _lookup = <function _lookup>, path = 'repos/memcache', ).instance undefined, ui = <mercurial.ui.ui object>, create = False |
| /usr/local/lib/python2.6/site-packages/mercurial/localrepo.py in instance(ui=<mercurial.ui.ui object>, path='repos/memcache', create=False) |
| 2221 |
| 2222 def instance(ui, path, create): |
| 2223 return localrepository(ui, util.drop_scheme('file', path), create) |
| 2224 |
| 2225 def islocal(path): |
| global localrepository = <class 'mercurial.localrepo.localrepository'>, ui = <mercurial.ui.ui object>, global util = <module 'mercurial.util' from '/usr/local/lib/python2.6/site-packages/mercurial/util.pyc'>, util.drop_scheme = <function drop_scheme>, path = 'repos/memcache', create = False |
| /usr/local/lib/python2.6/site-packages/mercurial/localrepo.py in __init__(self=<mercurial.localrepo.localrepository object>, baseui=<mercurial.ui.ui object>, path='repos/memcache', 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/local/lib/python2.6/site-packages/mercurial/error.pyc'>, error.RepoError = <class 'mercurial.error.RepoError'>, global _ = <function gettext>, path = 'repos/memcache' |
<class 'mercurial.error.RepoError'>: repository repos/memcache not found
args =
('repository repos/memcache not found',)
message =
'repository repos/memcache not found'