[ckan-dev] Fwd: issues while enabling ckanext-spatial extension and customized url Base map
Naresh N
naresh919 at gmail.com
Thu Aug 6 06:40:45 UTC 2015
Dear All,
I have installed CKAN production set-up on Ubuntu 12.04 64 bit
machine.
1. ckanext-spatial extension issue
And followed instructions given in
http://docs.ckan.org/projects/ckanext-spatial/en/latest/install.html to
enable the spatial extenion of CKAN i.e ckanext-spatial. After doing this
if I am opening CKAN page it is showing messages 500-some internal error
occurred. Please find the attached error log file.
and suggest me to resolve the issue.
2. Customized url for Base Map change
a. Is it necessary to enable ckanext-spatial extension to change the base
map option.
Please suggest me to resolve the issues
Thanks in advance.
Thanks&Regards,
Naresh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150806/f1b9fd8c/attachment-0002.html>
-------------- next part --------------
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] mod_wsgi (pid=3845): Target WSGI script '/etc/ckan/default/apache.wsgi' cannot be loaded as Python module.
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] mod_wsgi (pid=3845): Exception occurred processing WSGI script '/etc/ckan/default/apache.wsgi'.
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] Traceback (most recent call last):
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/etc/ckan/default/apache.wsgi", line 10, in <module>
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] application = loadapp('config:%s' % config_filepath)
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] return loadobj(APP, uri, name=name, **kw)
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] return context.create()
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] return self.object_type.invoke(self)
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] return fix_call(context.object, context.global_conf, **context.local_conf)
[Thu Aug 06 11:45:37 2015] [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
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] val = callable(*args, **kw)
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/config/middleware.py", line 58, in make_app
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] load_environment(conf, app_conf)
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 232, in load_environment
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] p.load_all(config)
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 134, in load_all
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] load(*plugins)
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 148, in load
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] service = _get_service(plugin)
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 254, in _get_service
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] return plugin.load()(name=plugin_name)
[Thu Aug 06 11:45:37 2015] [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
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] entry = __import__(self.module_name, globals(),globals(), ['__name__'])
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/src/ckanext-spatial/ckanext/spatial/plugin.py", line 42, in <module>
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] from ckanext.spatial.lib import save_package_extent, validate_bbox, bbox_query, bbox_query_ordered
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/src/ckanext-spatial/ckanext/spatial/lib/__init__.py", line 8, in <module>
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] from shapely.geometry import asShape
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/usr/local/lib/python2.7/dist-packages/shapely/geometry/__init__.py", line 4, in <module>
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] from .base import CAP_STYLE, JOIN_STYLE
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/usr/local/lib/python2.7/dist-packages/shapely/geometry/base.py", line 9, in <module>
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] from shapely.coords import CoordinateSequence
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/usr/local/lib/python2.7/dist-packages/shapely/coords.py", line 8, in <module>
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] from shapely.geos import lgeos
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/usr/local/lib/python2.7/dist-packages/shapely/geos.py", line 145, in <module>
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] prototype(_lgeos, geos_version)
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/usr/local/lib/python2.7/dist-packages/shapely/ctypes_declarations.py", line 252, in prototype
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] lgeos.GEOSCovers.restype = c_byte
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] func = self.__getitem__(name)
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] File "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] func = self._FuncPtr((name_or_ordinal, self))
[Thu Aug 06 11:45:37 2015] [error] [client 127.0.0.1] AttributeError: /usr/lib/libgeos_c.so.1: undefined symbol: GEOSCovers
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] mod_wsgi (pid=3844): Target WSGI script '/etc/ckan/default/apache.wsgi' cannot be loaded as Python module.
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] mod_wsgi (pid=3844): Exception occurred processing WSGI script '/etc/ckan/default/apache.wsgi'.
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] Traceback (most recent call last):
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/etc/ckan/default/apache.wsgi", line 10, in <module>
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] application = loadapp('config:%s' % config_filepath)
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] return loadobj(APP, uri, name=name, **kw)
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] return context.create()
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] return self.object_type.invoke(self)
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] return fix_call(context.object, context.global_conf, **context.local_conf)
[Thu Aug 06 11:45:49 2015] [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
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] val = callable(*args, **kw)
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/config/middleware.py", line 58, in make_app
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] load_environment(conf, app_conf)
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 232, in load_environment
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] p.load_all(config)
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 134, in load_all
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] load(*plugins)
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 148, in load
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] service = _get_service(plugin)
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 254, in _get_service
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] return plugin.load()(name=plugin_name)
[Thu Aug 06 11:45:49 2015] [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
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] entry = __import__(self.module_name, globals(),globals(), ['__name__'])
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/src/ckanext-spatial/ckanext/spatial/plugin.py", line 42, in <module>
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] from ckanext.spatial.lib import save_package_extent, validate_bbox, bbox_query, bbox_query_ordered
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/src/ckanext-spatial/ckanext/spatial/lib/__init__.py", line 8, in <module>
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] from shapely.geometry import asShape
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/usr/local/lib/python2.7/dist-packages/shapely/geometry/__init__.py", line 4, in <module>
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] from .base import CAP_STYLE, JOIN_STYLE
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/usr/local/lib/python2.7/dist-packages/shapely/geometry/base.py", line 9, in <module>
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] from shapely.coords import CoordinateSequence
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/usr/local/lib/python2.7/dist-packages/shapely/coords.py", line 8, in <module>
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] from shapely.geos import lgeos
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/usr/local/lib/python2.7/dist-packages/shapely/geos.py", line 145, in <module>
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] prototype(_lgeos, geos_version)
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/usr/local/lib/python2.7/dist-packages/shapely/ctypes_declarations.py", line 252, in prototype
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] lgeos.GEOSCovers.restype = c_byte
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] func = self.__getitem__(name)
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] File "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] func = self._FuncPtr((name_or_ordinal, self))
[Thu Aug 06 11:45:49 2015] [error] [client 127.0.0.1] AttributeError: /usr/lib/libgeos_c.so.1: undefined symbol: GEOSCovers
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] mod_wsgi (pid=3844): Target WSGI script '/etc/ckan/default/apache.wsgi' cannot be loaded as Python module.
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] mod_wsgi (pid=3844): Exception occurred processing WSGI script '/etc/ckan/default/apache.wsgi'.
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] Traceback (most recent call last):
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/etc/ckan/default/apache.wsgi", line 10, in <module>
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] application = loadapp('config:%s' % config_filepath)
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] return loadobj(APP, uri, name=name, **kw)
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] return context.create()
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] return self.object_type.invoke(self)
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] return fix_call(context.object, context.global_conf, **context.local_conf)
[Thu Aug 06 11:45:50 2015] [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
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] val = callable(*args, **kw)
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/config/middleware.py", line 58, in make_app
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] load_environment(conf, app_conf)
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 232, in load_environment
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] p.load_all(config)
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 134, in load_all
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] load(*plugins)
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 148, in load
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] service = _get_service(plugin)
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 254, in _get_service
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] return plugin.load()(name=plugin_name)
[Thu Aug 06 11:45:50 2015] [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
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] entry = __import__(self.module_name, globals(),globals(), ['__name__'])
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/src/ckanext-spatial/ckanext/spatial/plugin.py", line 42, in <module>
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] from ckanext.spatial.lib import save_package_extent, validate_bbox, bbox_query, bbox_query_ordered
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/src/ckanext-spatial/ckanext/spatial/lib/__init__.py", line 8, in <module>
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] from shapely.geometry import asShape
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/usr/local/lib/python2.7/dist-packages/shapely/geometry/__init__.py", line 4, in <module>
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] from .base import CAP_STYLE, JOIN_STYLE
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/usr/local/lib/python2.7/dist-packages/shapely/geometry/base.py", line 9, in <module>
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] from shapely.coords import CoordinateSequence
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/usr/local/lib/python2.7/dist-packages/shapely/coords.py", line 8, in <module>
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] from shapely.geos import lgeos
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/usr/local/lib/python2.7/dist-packages/shapely/geos.py", line 145, in <module>
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] prototype(_lgeos, geos_version)
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/usr/local/lib/python2.7/dist-packages/shapely/ctypes_declarations.py", line 252, in prototype
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] lgeos.GEOSCovers.restype = c_byte
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] func = self.__getitem__(name)
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] File "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] func = self._FuncPtr((name_or_ordinal, self))
[Thu Aug 06 11:45:50 2015] [error] [client 127.0.0.1] AttributeError: /usr/lib/libgeos_c.so.1: undefined symbol: GEOSCovers
More information about the ckan-dev
mailing list