[ckan-dev] extension issues: ckanext-scheming
Thomas Heetderks - MSU
thomas.heetderks at montana.edu
Fri Oct 28 23:58:47 UTC 2016
Hi -
We have CKAN 2.5.2 up and running on CentOS 6.8
I have been trying to install ckanext-scheming
The pip install actually went fine...
But when I tried to add scheming_datasets to the ckan.plugins setting in
the production.ini file-- I got this error:
ImportError: No module named scheming.plugins
The entire trace-back follows--
Thanks in advance for any and all help!
BTW: can anyone suggest the BEST way to extend the metadata schema?
(I have found two so far, this extension and IDatasetForm, which I also
had trouble with)
...I get the feeling I am somehow making this extension stuff harder
than it should be :)
- Thomas Heetderks
------------
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] mod_wsgi
(pid=12165): Target WSGI script '/etc/ckan/default/apache.wsgi' cannot
be loaded as Python module.
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] mod_wsgi
(pid=12165): Exception occurred processing WSGI script
'/etc/ckan/default/apache.wsgi'.
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] Traceback
(most recent call last):
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] File
"/etc/ckan/default/apache.wsgi", line 18, in <module>
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] application =
loadapp('config:%s' % config_filepath)
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] File
"/usr/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line
247, in loadapp
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] return
loadobj(APP, uri, name=name, **kw)
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] File
"/usr/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line
272, in loadobj
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] return
context.create()
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] File
"/usr/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line
710, in create
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] return
self.object_type.invoke(self)
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] File
"/usr/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line
146, in invoke
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] return
fix_call(context.object, context.global_conf, **context.local_conf)
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] File
"/usr/local/lib/python2.7/site-packages/paste/deploy/util.py", line 55,
in fix_call
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] val =
callable(*args, **kw)
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] File
"/usr/lib/ckan/default/src/ckan/ckan/config/middleware.py", line 58, in
make_app
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142]
load_environment(conf, app_conf)
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] File
"/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 232,
in load_environment
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] p.load_all(config)
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] File
"/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 134, in load_all
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] load(*plugins)
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] File
"/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 148, in load
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] service =
_get_service(plugin)
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] File
"/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 254, in
_get_service
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] return
plugin.load()(name=plugin_name)
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] File
"/usr/lib/ckan/default/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 2235, in load
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] return
self.resolve()
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] File
"/usr/lib/ckan/default/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 2241, in resolve
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] module =
__import__(self.module_name, fromlist=['__name__'], level=0)
[Fri Oct 28 13:00:38 2016] [error] [client 52.57.242.142] ImportError:
No module named scheming.plugins
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20161028/c1fa62b8/attachment-0002.html>
More information about the ckan-dev
mailing list