-->
--> -->
<type 'exceptions.OSError'> | Python 2.7.1+: /usr/bin/python Sun Feb 5 05:58:29 2012 |
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/alchemy.grimoire.ca/hg/hgwebdir.cgi in () |
43
|
44 def make_web_app():
|
45 return hgwebdir("hgweb.config")
|
46
|
=> 47 wsgicgi.launch(wsgiapplication(make_web_app))
|
| wsgicgi = <module 'mercurial.hgweb.wsgicgi' from '/usr/lib/pymodules/python2.7/mercurial/hgweb/wsgicgi.pyc'>, wsgicgi.launch = <function launch>, wsgiapplication = <function wsgiapplication>, make_web_app = <function make_web_app> |
| /usr/lib/pymodules/python2.7/mercurial/hgweb/request.py in wsgiapplication(app_maker=<function make_web_app>) |
142 '''For compatibility with old CGI scripts. A plain hgweb() or hgwebdir()
|
143 can and should now be used as a WSGI application.'''
|
=> 144 application = app_maker()
|
145 def run_wsgi(env, respond):
|
146 return application(env, respond)
|
| application undefined, app_maker = <function make_web_app> |
| /var/www/alchemy.grimoire.ca/hg/hgwebdir.cgi in make_web_app() |
43
|
44 def make_web_app():
|
=> 45 return hgwebdir("hgweb.config")
|
46
|
47 wsgicgi.launch(wsgiapplication(make_web_app))
|
| global hgwebdir = <class 'mercurial.hgweb.hgwebdir_mod.hgwebdir'> |
| /usr/lib/pymodules/python2.7/mercurial/hgweb/hgwebdir_mod.py in __init__(self=<mercurial.hgweb.hgwebdir_mod.hgwebdir object>, conf='hgweb.config', baseui=None) |
50 self.lastrefresh = 0
|
51 self.motd = None
|
=> 52 self.refresh()
|
53
|
54 def refresh(self):
|
| self = <mercurial.hgweb.hgwebdir_mod.hgwebdir object>, self.refresh = <bound method hgwebdir.refresh of <mercurial.hgweb.hgwebdir_mod.hgwebdir object>> |
| /usr/lib/pymodules/python2.7/mercurial/hgweb/hgwebdir_mod.py in refresh(self=<mercurial.hgweb.hgwebdir_mod.hgwebdir object>) |
77 for prefix, root in u.configitems('collections'):
|
78 prefix = util.pconvert(prefix)
|
=> 79 for path in util.walkrepos(root, followsym=True):
|
80 repo = os.path.normpath(path)
|
81 name = util.pconvert(repo)
|
| path undefined, global util = <module 'mercurial.util' from '/usr/lib/pymodules/python2.7/mercurial/util.pyc'>, util.walkrepos = <function walkrepos>, root = '/var/lib/hg/alchemy.grimoire.ca', followsym undefined, builtin True = True |
| /usr/lib/pymodules/python2.7/mercurial/util.py in walkrepos(path='/var/lib/hg/alchemy.grimoire.ca', followsym=True, seen_dirs=[], recurse=False) |
1285 if (seen_dirs is None) and followsym:
|
1286 seen_dirs = []
|
=> 1287 _add_dir_if_not_there(seen_dirs, path)
|
1288 for root, dirs, files in os.walk(path, topdown=True, onerror=errhandler):
|
1289 dirs.sort()
|
| _add_dir_if_not_there = <function _add_dir_if_not_there>, seen_dirs = [], path = '/var/lib/hg/alchemy.grimoire.ca' |
| /usr/lib/pymodules/python2.7/mercurial/util.py in _add_dir_if_not_there(dirlst=[], dirname='/var/lib/hg/alchemy.grimoire.ca') |
1272 match = False
|
1273 samestat = os.path.samestat
|
=> 1274 dirstat = os.stat(dirname)
|
1275 for lstdirstat in dirlst:
|
1276 if samestat(dirstat, lstdirstat):
|
| dirstat undefined, global os = <module 'os' from '/usr/lib/python2.7/os.pyc'>, os.stat = <built-in function stat>, dirname = '/var/lib/hg/alchemy.grimoire.ca' |
<type 'exceptions.OSError'>: [Errno 2] No such file or directory: '/var/lib/hg/alchemy.grimoire.ca'
args =
(2, 'No such file or directory')
errno =
2
filename =
'/var/lib/hg/alchemy.grimoire.ca'
message =
''
strerror =
'No such file or directory'