[ckan-dev] No Module Named Python
Gerace, Christian [ITSUS]
cgerace at ITS.JNJ.com
Mon Mar 9 19:32:28 UTC 2015
Hello,
After setting up multiple instances of CKAN previously, I recently decided to start up a new instance of version 2.3 on RHEL 6. I'm currently attempting to customize my own CKAN theme, which I have done in the past, but I keep on receiving an error in my log file telling me that there is no module named plugin. Due to this issue, my instance won't run when the my theme name is included in the ckan.plugins list in the configuration file. Below is my traceback, if someone could please provide guidance as to why I might be seeing this issue, it would be greatly appreciated.
Traceback (most recent call last):
File "/etc/ckan/default/apache.wsgi", line 9, in <module>
application = loadapp('config:%s' % config_filepath)
File "/usr/lib/ckan/default/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
return loadobj(APP, uri, name=name, **kw)
File "/usr/lib/ckan/default/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
return context.create()
File "/usr/lib/ckan/default/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 710, in create
return self.object_type.invoke(self)
File "/usr/lib/ckan/default/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke
return fix_call(context.object, context.global_conf, **context.local_conf)
File "/usr/lib/ckan/default/lib/python2.6/site-packages/paste/deploy/util.py", line 56, in fix_call
val = callable(*args, **kw)
File "/usr/lib/ckan/default/src/ckan/ckan/config/middleware.py", line 58, in make_app
load_environment(conf, app_conf)
File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 232, in load_environment
p.load_all(config)
File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 134, in load_all
load(*plugins)
File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 148, in load
service = _get_service(plugin)
File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 254, in _get_service
return plugin.load()(name=plugin_name)
File "/usr/lib/ckan/default/lib/python2.6/site-packages/pkg_resources.py", line 2260, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
ImportError: No module named plugin
Thanks,
Christian Gerace
Associate Analyst - Enterprise Architect
+1.908.655.4147 | cgerace at its.jnj.com<mailto:cgerace at its.jnj.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150309/763f5023/attachment-0002.html>
More information about the ckan-dev
mailing list