[ckan-dev] issues while enabling ckanext-spatial extension

Naresh N naresh919 at gmail.com
Thu Aug 13 08:49:29 UTC 2015


Dear  Ross Jones,

Thanks a lot , the link helped me to resolve. Now I will work further to
enable to map search widget.

Thanks&Regards,
Naresh


On Mon, Aug 10, 2015 at 4:07 PM, <ckan-dev-request at lists.okfn.org> wrote:

> Send ckan-dev mailing list submissions to
>         ckan-dev at lists.okfn.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.okfn.org/mailman/listinfo/ckan-dev
> or, via email, send a message with subject or body 'help' to
>         ckan-dev-request at lists.okfn.org
>
> You can reach the person managing the list at
>         ckan-dev-owner at lists.okfn.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ckan-dev digest..."
>
>
> Today's Topics:
>
>    1. Re: issues while enabling ckanext-spatial extension (Ross Jones)
>    2. Re: problem with spatial previews (Matthew Fullerton)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 10 Aug 2015 11:00:25 +0100
> From: Ross Jones <ross at servercode.co.uk>
> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
> Subject: Re: [ckan-dev] issues while enabling ckanext-spatial
>         extension
> Message-ID: <FF3D6F07-8AC6-4338-81E3-FA5C9FB1BF1E at servercode.co.uk>
> Content-Type: text/plain; charset=us-ascii
>
> A quick google for the error (last line of log) with
>
>  ckan AttributeError: /usr/lib/libgeos_c.so.1: undefined symbol: GEOSCovers
>
> returned
>
>
> http://stackoverflow.com/questions/25873463/libgeos-c-so-undefined-symbol-geosisclosed
>
> which looks like it may have a solution to your problem.
>
> Hope this helps
>
> Ross
>
>
>
> > On 10 Aug 2015, at 09:37, Naresh N <naresh919 at gmail.com> wrote:
> >
> > Dear All,
> >  Please help to resolve following   issue.
> >
> > Thanks&Regards,
> > Naresh
> >
> > On Thu, Aug 6, 2015 at 5:30 PM, <ckan-dev-request at lists.okfn.org> wrote:
> > Send ckan-dev mailing list submissions to
> >         ckan-dev at lists.okfn.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >         https://lists.okfn.org/mailman/listinfo/ckan-dev
> > or, via email, send a message with subject or body 'help' to
> >         ckan-dev-request at lists.okfn.org
> >
> > You can reach the person managing the list at
> >         ckan-dev-owner at lists.okfn.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of ckan-dev digest..."
> >
> >
> > Today's Topics:
> >
> >    1. Fwd: issues while enabling ckanext-spatial extension and
> >       customized url Base map (Naresh N)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Thu, 6 Aug 2015 12:10:45 +0530
> > From: Naresh N <naresh919 at gmail.com>
> > To: ckan-dev at lists.okfn.org
> > Subject: [ckan-dev] Fwd: issues while enabling ckanext-spatial
> >         extension and customized url Base map
> > Message-ID:
> >         <CAKAPXzNkfe5WXZn=
> QYZumg8iQzSB_tFRnCroB+oQhauPuvSNbw at mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > 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-0001.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
> >
> > ------------------------------
> >
> > Subject: Digest Footer
> >
> > _______________________________________________
> > ckan-dev mailing list
> > ckan-dev at lists.okfn.org
> > https://lists.okfn.org/mailman/listinfo/ckan-dev
> > Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> >
> >
> > ------------------------------
> >
> > End of ckan-dev Digest, Vol 58, Issue 6
> > ***************************************
> >
> > _______________________________________________
> > ckan-dev mailing list
> > ckan-dev at lists.okfn.org
> > https://lists.okfn.org/mailman/listinfo/ckan-dev
> > Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 10 Aug 2015 10:20:54 +0000
> From: Matthew Fullerton <matthew at smartlane.de>
> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
> Subject: Re: [ckan-dev] problem with spatial previews
> Message-ID: <1439202038327.90438 at smartlane.de>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear Armin,
> Are you using ckanext-geoview or ckanext-spatial?
>
> For the WMS viewer I think you need to specify which file types you want
> to offer previews for, e.g.:
> ckanext.geoview.ol_viewer.formats = wms kml
> https://github.com/ckan/ckanext-geoview#openlayers-viewer
>
> In general, and specifically for the GeoJSON problem, check that the file
> formats are set for the resource. I think it needs to be 'geojson' for a
> GeoJSON file and 'wms' for the WMS resource.
>
> Best,
> Matt
>
>
>
> Projekt SMARTLANE
>
> matthew at smartlane.de<mailto:florian at smartlane.de>
> T +49.89.289.28575
> F +49.89.289.22333
> www.smartlane.de<http://www.smartlane.de/>
>
> EXIST-Gr?ndungsvorhaben "Tapestry"
> c/o Lehrstuhl f?r Verkehrstechnik
> Technische Universit?t M?nchen
> Arcisstra?e 21
> 80333 M?nchen
>
> Gef?rdert vom Bundesministerium f?r Wirtschaft und Technologie
> aufgrund eines Beschlusses des Deutschen Bundestages.
>
> ________________________________
> Von: ckan-dev <ckan-dev-bounces at lists.okfn.org> im Auftrag von Armin
> Retterath <armin.retterath at gmail.com>
> Gesendet: Freitag, 7. August 2015 12:07
> An: CKAN Development Discussions
> Betreff: [ckan-dev] problem with spatial previews
>
> hello together,
> i freshly installed ckan 2.4.0 with the spatial extensions on an debian 8
> environment (including  datastore).
> in the frontend the options for show wms, geojson, ... are not displayed
> :-( .
> it seems to be, that ckan don't find the plugins?
> here are my entries in the development.ini:
>
> ckan.plugins = stats text_view datastore image_view recline_view
> spatial_metadata spatial_query geo_view geojson_view resource_proxy
>
> # Define which views should be created by default
> # (plugins must be loaded in ckan.plugins)
> ckan.views.default_views = ckanext-geoview geojson_view geo_view
> image_view text_view recline_view recline_map_view
>
> thanx in advance
> armin
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.okfn.org/pipermail/ckan-dev/attachments/20150810/03e53802/attachment.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
> ------------------------------
>
> End of ckan-dev Digest, Vol 58, Issue 9
> ***************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150813/2652eb91/attachment-0003.html>


More information about the ckan-dev mailing list