-->
--> -->
<type 'exceptions.AttributeError'> | Python 2.5.2: /usr/bin/python Sun Feb 5 11:04:52 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.
| /usr/lib/cgi-bin/hgwebdir.cgi in () |
89 #f.close()
|
90 return hgwebdir(make_config(baseurl, repos))
|
91
|
92
|
93 wsgicgi.launch(wsgiapplication(make_web_app))
|
| wsgicgi = <proxied module 'wsgicgi'>, wsgicgi.launch = <function launch at 0x875d70>, wsgiapplication = <function wsgiapplication at 0x870cf8>, make_web_app = <function make_web_app at 0x870c08> |
| /var/lib/python-support/python2.5/mercurial/hgweb/request.py in wsgiapplication(app_maker=<function make_web_app at 0x870c08>) |
129 '''For compatibility with old CGI scripts. A plain hgweb() or hgwebdir()
|
130 can and should now be used as a WSGI application.'''
|
131 application = app_maker()
|
132 def run_wsgi(env, respond):
|
133 return application(env, respond)
|
| application undefined, app_maker = <function make_web_app at 0x870c08> |
| /usr/lib/cgi-bin/hgwebdir.cgi in make_web_app() |
88 #f.write('repos: %s\n' % repos)
|
89 #f.close()
|
90 return hgwebdir(make_config(baseurl, repos))
|
91
|
92
|
| global hgwebdir = <class 'mercurial.hgweb.hgwebdir_mod.hgwebdir'>, global make_config = <function make_config at 0x7e0f50>, baseurl = '/~jfournier/hg', repos = [] |
| /usr/lib/cgi-bin/hgwebdir.cgi in make_config(baseurl='/~jfournier/hg', repos=[]) |
48
|
49 def make_config(baseurl, repos):
|
50 c = util.configparser()
|
51 c.add_section('web')
|
52 c.set('web', 'baseurl', baseurl)
|
| c undefined, global util = <proxied module 'util'>, util.configparser undefined |
| /var/lib/python-support/python2.5/mercurial/demandimport.py in __getattribute__(self=<proxied module 'util'>, attr='configparser') |
74 return object.__getattribute__(self, attr)
|
75 self._load()
|
76 return getattr(self._module, attr)
|
77 def __setattr__(self, attr, val):
|
78 self._load()
|
| builtin getattr = <built-in function getattr>, self = <proxied module 'util'>, self._module = <module 'mercurial.util' from '/var/lib/python-support/python2.5/mercurial/util.pyc'>, attr = 'configparser' |
<type 'exceptions.AttributeError'>: 'module' object has no attribute 'configparser'
args =
("'module' object has no attribute 'configparser'",)
message =
"'module' object has no attribute 'configparser'"