[ckan-dev] extension issues: ckanext-googleanalytics

Thomas Heetderks - MSU thomas.heetderks at montana.edu
Fri Oct 28 23:47:55 UTC 2016


Hi -

We have CKAN 2.5.2 up and running on CentOS 6.8

I have been trying to install ckanext-googleanalytics
The pip install from github went fine.

But when I tried to add googleanalytics to the ckan.plugins setting in 
the production.ini file,
and restarted mod_wsgi-- I got this error:

PluginNotFoundException: googleanalytics

The entire trace-back follows--

Thanks in advance for any help!

- Thomas

-----------
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236] mod_wsgi 
(pid=12715): Target WSGI script '/etc/ckan/default/apache.wsgi' cannot 
be loaded as Python module.
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236] mod_wsgi 
(pid=12715): Exception occurred processing WSGI script 
'/etc/ckan/default/apache.wsgi'.
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236] Traceback 
(most recent call last):
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236]   File 
"/etc/ckan/default/apache.wsgi", line 18, in <module>
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236] application = 
loadapp('config:%s' % config_filepath)
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236]   File 
"/usr/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 
247, in loadapp
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236] return 
loadobj(APP, uri, name=name, **kw)
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236]   File 
"/usr/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 
272, in loadobj
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236] return 
context.create()
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236]   File 
"/usr/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 
710, in create
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236] return 
self.object_type.invoke(self)
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236]   File 
"/usr/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 
146, in invoke
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236] return 
fix_call(context.object, context.global_conf, **context.local_conf)
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236]   File 
"/usr/local/lib/python2.7/site-packages/paste/deploy/util.py", line 55, 
in fix_call
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236]     val = 
callable(*args, **kw)
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236]   File 
"/usr/lib/ckan/default/src/ckan/ckan/config/middleware.py", line 58, in 
make_app
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236] 
load_environment(conf, app_conf)
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236]   File 
"/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 232, 
in load_environment
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236] 
p.load_all(config)
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236]   File 
"/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 134, in load_all
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236] load(*plugins)
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236]   File 
"/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 148, in load
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236] service = 
_get_service(plugin)
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236]   File 
"/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 255, in 
_get_service
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236] raise 
PluginNotFoundException(plugin_name)
[Fri Oct 28 13:43:39 2016] [error] [client 153.90.201.236] 
PluginNotFoundException: googleanalytics
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236] mod_wsgi 
(pid=12716): Target WSGI script '/etc/ckan/default/apache.wsgi' cannot 
be loaded as Python module.
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236] mod_wsgi 
(pid=12716): Exception occurred processing WSGI script 
'/etc/ckan/default/apache.wsgi'.
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236] Traceback 
(most recent call last):
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236]   File 
"/etc/ckan/default/apache.wsgi", line 18, in <module>
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236] application = 
loadapp('config:%s' % config_filepath)
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236]   File 
"/usr/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 
247, in loadapp
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236] return 
loadobj(APP, uri, name=name, **kw)
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236]   File 
"/usr/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 
272, in loadobj
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236] return 
context.create()
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236]   File 
"/usr/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 
710, in create
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236] return 
self.object_type.invoke(self)
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236]   File 
"/usr/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 
146, in invoke
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236] return 
fix_call(context.object, context.global_conf, **context.local_conf)
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236]   File 
"/usr/local/lib/python2.7/site-packages/paste/deploy/util.py", line 55, 
in fix_call
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236]     val = 
callable(*args, **kw)
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236]   File 
"/usr/lib/ckan/default/src/ckan/ckan/config/middleware.py", line 58, in 
make_app
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236] 
load_environment(conf, app_conf)
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236]   File 
"/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 232, 
in load_environment
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236] 
p.load_all(config)
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236]   File 
"/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 134, in load_all
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236] load(*plugins)
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236]   File 
"/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 148, in load
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236] service = 
_get_service(plugin)
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236]   File 
"/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 255, in 
_get_service
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236] raise 
PluginNotFoundException(plugin_name)
[Fri Oct 28 13:43:42 2016] [error] [client 153.90.201.236] 
PluginNotFoundException: googleanalytics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20161028/c145fbe1/attachment-0002.html>


More information about the ckan-dev mailing list