[ckan-dev] Installing ckanext-spatial fails during configuration.
Armin Retterath
armin.retterath at gmail.com
Tue Jun 18 09:30:01 UTC 2013
hello,
some month ago i had a similar problem, do you have installed libxml2 -
maybe you need to install a newer version.
https://github.com/okfn/ckanext-spatial
regards
armin
2013/6/18 Henrik Aagaard Sørensen <BU1G at tmf.kk.dk>
> From package on Ubuntu 12.04 LTS.****
>
> ** **
>
> *Fra:* ckan-dev-bounces at lists.okfn.org [mailto:
> ckan-dev-bounces at lists.okfn.org] *På vegne af *Nigel Babu
> *Sendt:* 18. juni 2013 10:40
> *Til:* CKAN Development Discussions
> *Emne:* Re: [ckan-dev] Installing ckanext-spatial fails during
> configuration.****
>
> ** **
>
> 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****
>
> ** **
>
> _______________________________________________
> 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/9ded4486/attachment-0001.html>
More information about the ckan-dev
mailing list