Update who.ini when packaging 2.3+
Closed this issue · 0 comments
amercader commented
We need to get rid of the OpenID bits, as described in ckan/ckan#2108, otherwise we get exceptions:
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] Traceback (most recent call last):
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] File "/etc/ckan/default/apache.wsgi", line 10, in <module>
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] application = loadapp('config:%s' % config_filepath)
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] return loadobj(APP, uri, name=name, **kw)
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] return context.create()
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] return self.object_type.invoke(self)
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] return fix_call(context.object, context.global_conf, **context.local_conf)
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/util.py", line 56, in fix_call
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] val = callable(*args, **kw)
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/config/middleware.py", line 118, in make_app
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] who_parser.parse(open(app_conf['who.config_file']))
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/repoze/who/config.py", line 83, in parse
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] obj = self._makePlugin(name, IPlugin, options)
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/repoze/who/config.py", line 40, in _makePlugin
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] obj = _resolve(name)
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/repoze/who/config.py", line 23, in _resolve
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] return EntryPoint.parse('x=%s' % name).load(False)
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 1989, in load
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] entry = __import__(self.module_name, globals(),globals(), ['__name__'])
[Wed Dec 10 15:21:46 2014] [error] [client 127.0.0.1] ImportError: No module named openid