Mercurial Repositories
<class 'mercurial.error.RepoError'> | Python 2.6.2: /usr/bin/python Thu Sep 2 11:01:46 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.
| /var/www/hg/hgwebdir.cgi in () |
63 # Alternatively you can pass a list of ('virtual/path', '/real/path') tuples
|
64 # or use a dictionary with entries like 'virtual/path': '/real/path'
|
65
|
66 application = hgwebdir('hgweb.config')
|
67 wsgicgi.launch(application)
|
| wsgicgi = <proxied module 'wsgicgi'>, wsgicgi.launch = <function launch at 0x7fd2bb9fd2a8>, application = <mercurial.hgweb.hgwebdir_mod.hgwebdir object at 0x7fd2bc29d450> |
| /usr/lib64/python2.6/site-packages/mercurial/hgweb/wsgicgi.py in launch(application=<mercurial.hgweb.hgwebdir_mod.hgwebdir object at 0x7fd2bc29d450>) |
71 content = application(environ, start_response)
|
72 try:
|
73 for chunk in content:
|
74 write(chunk)
|
75 finally:
|
| chunk = 'Brian Ak
...114;ian Aker', content = <generator object increasingchunks at 0x7fd2bb3add70> |
| /usr/lib64/python2.6/site-packages/mercurial/util.py in increasingchunks(source=<generator object process at 0x7fd2bb3addc0>, min=16384, max=65536) |
229 buf = []
|
230 blen = 0
|
231 for chunk in source:
|
232 buf.append(chunk)
|
233 blen += len(chunk)
|
| chunk = '</td>\n</tr>\n', source = <generator object process at 0x7fd2bb3addc0> |
| /usr/lib64/python2.6/site-packages/mercurial/templater.py in process(self=<mercurial.templater.engine object at 0x7fd2bb3ab290>, t='index', map={'descending': False, 'entries': <function entries at 0x7fd2bb3bc6e0>, '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 = '</td>\n</tr>\n', iters = [<generator object _format at 0x7fd2bb3ada50>, <generator object _process at 0x7fd2bb3add20>], ].next undefined |
| /usr/lib64/python2.6/site-packages/mercurial/templater.py in _format(self=<mercurial.templater.engine object at 0x7fd2bb3ab290>, expr='entries%indexentry', get=<function get at 0x7fd2bab2e2a8>, map={'descending': False, 'entries': <function entries at 0x7fd2bb3bc6e0>, '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 = {'archives': <generator object archivelist at 0x7fd2bab55870>, 'contact': 'Brian Aker', 'contact_sort': 'BRIAN AKER', 'description': 'unknown', 'description_sort': 'unknown', 'lastchange': (1279604944.0, 25200), 'lastchange_sort': -1279579744.0, 'name': 'namedb', 'name_sort': 'namedb', 'parity': 0, ...}, v = <generator object entries at 0x7fd2bb3adaf0> |
| /usr/lib64/python2.6/site-packages/mercurial/hgweb/hgwebdir_mod.py in entries(sortcolumn=None, descending=False, subdir='', **map={'entries': <function entries at 0x7fd2bb3bc6e0>, 'sort_contact': 'contact', 'sort_description': 'description', 'sort_lastchange': 'lastchange', 'sort_name': 'name'}) |
234 # update time with local timezone
|
235 try:
|
236 r = hg.repository(self.ui, path)
|
237 d = (get_mtime(r.spath), util.makedate()[1])
|
238 except OSError:
|
| r = <mercurial.localrepo.localrepository object at 0x7fd2bab65310>, global hg = <module 'mercurial.hg' from '/usr/lib64/python2.6/site-packages/mercurial/hg.pyc'>, hg.repository = <function repository at 0x7fd2bb3b1aa0>, self = <mercurial.hgweb.hgwebdir_mod.hgwebdir object at 0x7fd2bc29d450>, self.ui = <mercurial.ui.ui object at 0x7fd2bc057e10>, path = '/var/hg/truffle' |
| /usr/lib64/python2.6/site-packages/mercurial/hg.py in repository(ui=<mercurial.ui.ui object at 0x7fd2bc057e10>, path='/var/hg/truffle', 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 at 0x7fd2bb3b5488>, path = '/var/hg/truffle', ).instance undefined, ui = <mercurial.ui.ui object at 0x7fd2bc057e10>, create = False |
| /usr/lib64/python2.6/site-packages/mercurial/localrepo.py in instance(ui=<mercurial.ui.ui object at 0x7fd2bc057e10>, path='/var/hg/truffle', create=False) |
2219
|
2220 def instance(ui, path, create):
|
2221 return localrepository(ui, util.drop_scheme('file', path), create)
|
2222
|
2223 def islocal(path):
|
| global localrepository = <class 'mercurial.localrepo.localrepository'>, ui = <mercurial.ui.ui object at 0x7fd2bc057e10>, global util = <module 'mercurial.util' from '/usr/lib64/python2.6/site-packages/mercurial/util.pyc'>, util.drop_scheme = <function drop_scheme at 0x7fd2bb9fbcf8>, path = '/var/hg/truffle', create = False |
| /usr/lib64/python2.6/site-packages/mercurial/localrepo.py in __init__(self=<mercurial.localrepo.localrepository object at 0x7fd2bb3bd690>, baseui=<mercurial.ui.ui object at 0x7fd2bc057e10>, path='/var/hg/truffle', 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/lib64/python2.6/site-packages/mercurial/error.pyc'>, error.RepoError = <class 'mercurial.error.RepoError'>, global _ = <function gettext at 0x7fd2bc2ab0c8>, path = '/var/hg/truffle' |
<class 'mercurial.error.RepoError'>: repository /var/hg/truffle not found
args =
('repository /var/hg/truffle not found',)
message =
'repository /var/hg/truffle not found'