[ckan-dev] Problems with wms_preview

Adrià Mercader adria.mercader at okfn.org
Wed Jul 10 13:24:32 UTC 2013


Hi Hilde,

The errors when installing are fine and not related. What errors do
you get on the js console?
It could be a problem with the resource proxy.

Note that the WMS viewer currently included in ckanext-spatial is a
very basic one, intended only as an example.

Adrià

On 9 July 2013 15:45, Hildegard Gerlach
<hildegard.gerlach at jrc.ec.europa.eu> wrote:
> Hello,
>
> I have installed CKAN 2.0 on Redhat 6 with harvesting and spatial extension
> and finally managed to harvest data from our geonetwork instances.
>
> I have problems though when trying to see the preview with the wms_preview
> plugin. The Website says loading but nothing happens. I have the
> resource_proxy plugin also enabled as described here.
> https://github.com/okfn/ckanext-spatial#wms-preview
>
>
> Could it be that I am missing some OpenLayers files ?
>
> I got the following warnings when doing
> pip install -e
> git+https://github.com/okfn/ckanext-spatial.git@stable#egg=ckanext-spatial
>
> Updating ./pyenv/src/ckanext-spatial clone (to stable)
>   Running setup.py egg_info for package ckanext-spatial
>     warning: no files found matching '*.js' under directory
> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/'
>     warning: no files found matching '*.txt' under directory
> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/'
>     warning: no files found matching '*.cfg' under directory
> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/'
>     warning: no files found matching '*.gif' under directory
> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/img/'
>     warning: no files found matching '*.png' under directory
> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/img/'
>     warning: no files found matching '*.css' under directory
> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/theme/default/'
>     warning: no files found matching '*.js' under directory
> 'ckanext/spatial/public/ckanext/spatial/js/'
>     warning: no files found matching '*.css' under directory
> 'ckanext/spatial/public/ckanext/spatial/'
> Installing collected packages: ckanext-spatial
>   Running setup.py develop for ckanext-spatial
>     warning: no files found matching '*.js' under directory
> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/'
>     warning: no files found matching '*.txt' under directory
> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/'
>     warning: no files found matching '*.cfg' under directory
> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/'
>     warning: no files found matching '*.gif' under directory
> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/img/'
>     warning: no files found matching '*.png' under directory
> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/img/'
>     warning: no files found matching '*.css' under directory
> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/theme/default/'
>     warning: no files found matching '*.js' under directory
> 'ckanext/spatial/public/ckanext/spatial/js/'
>     warning: no files found matching '*.css' under directory
> 'ckanext/spatial/public/ckanext/spatial/'
>     Creating
> /usr/local/mtester.ies.jrc.it/pyenv/lib/python2.6/site-packages/ckanext-spatial.egg-link
> (link to .)
>     ckanext-spatial 0.2 is already the active version in easy-install.pth
>     Installing cswinfo script to /usr/local/mtester.ies.jrc.it/pyenv/bin
>
>     Installed /usr/local/mtester.ies.jrc.it/pyenv/src/ckanext-spatial
> Successfully installed ckanext-spatial
> Cleaning up...
>
> Regards
>
> Hilde
>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev




More information about the ckan-dev mailing list