[ckan-dev] Installing ckanext-spatial fails during configuration.

Nigel Babu nigel.babu at okfn.org
Tue Jun 18 08:39:58 UTC 2013


Hi Henrik,

Did you install CKAN from source or from the Debian package?

Nigel Babu

Developer  |  @nigelbabu <https://twitter.com/nigelbabu>

The Open Knowledge Foundation <http://okfn.org/>

Empowering through Open Knowledge

http://okfn.org/  |  @okfn <http://twitter.com/OKFN>  |  OKF on
Facebook<https://www.facebook.com/OKFNetwork> |
Blog <http://blog.okfn.org/>  |  Newsletter<http://okfn.org/about/newsletter>

 CKAN | http://ckan.org/ | @CKANproject
<http://twitter.com/CKANproject> |the world’s leading open-source data
portal platform


On 17 June 2013 12:39, Henrik Aagaard Sørensen <BU1G at tmf.kk.dk> wrote:

> I’m trying to install the spatial extension. When reaching configuration
> after PostGIS installation, I get the following error:****
>
> ** **
>
> Traceback (most recent call last):****
>
>   File "/usr/lib/ckan/default/bin/paster", line 9, in <module>****
>
>     load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()*
> ***
>
>   File
> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
> line 103, in run****
>
>     command = commands[command_name].load()****
>
>   File
> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py",
> line 1989, in load****
>
>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
> ****
>
>   File
> "/usr/lib/ckan/default/src/ckanext-spatial/ckanext/spatial/commands/spatial.py",
> line 8, in <module>****
>
>     from ckanext.spatial.lib import save_package_extent****
>
>   File
> "/usr/lib/ckan/default/src/ckanext-spatial/ckanext/spatial/lib/__init__.py",
> line 7, in <module>****
>
>     from ckanext.spatial.model import PackageExtent****
>
>   File
> "/usr/lib/ckan/default/src/ckanext-spatial/ckanext/spatial/model/__init__.py",
> line 10, in <module>****
>
>     from harvested_metadata import *****
>
>   File
> "/usr/lib/ckan/default/src/ckanext-spatial/ckanext/spatial/model/harvested_metadata.py",
> line 1, in <module>****
>
>     from lxml import etree****
>
> ImportError: No module named lxml****
>
> ** **
>
> It’s when running the command:****
>
> sudo /usr/lib/ckan/default/bin/paster --plugin=ckanext-spatial spatial
> initdb 4326 --config=/etc/ckan/default/production.ini****
>
> ** **
>
> I cannot find any package called lxml via apt-get…****
>
> ** **
>
> Any help, all help is very much appreciated.****
>
> ** **
>
> Regards****
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130618/126f1543/attachment-0001.html>


More information about the ckan-dev mailing list