[ckan-dev] error installing ckan spatial extension
Claire Reis
Claire.Herbert at umanitoba.ca
Fri Nov 13 16:04:03 UTC 2015
Hi,
I have CKAN 2.4 installed on Ubuntu 12.04. I have tried to install ckanext-spatial extension which was working in the previous version, but have failed at the pip install. Looking through some issues with other extensions, I can clone the spatial extension into /usr/lib/ckan/default/src
But then if I try pip install I get the error:
Traceback (most recent call last):
File "/usr/lib/ckan/default/lib/python2.7/site.py", line 682, in <module>
main()
File "/usr/lib/ckan/default/lib/python2.7/site.py", line 662, in main
paths_in_sys = addsitepackages(paths_in_sys)
File "/usr/lib/ckan/default/lib/python2.7/site.py", line 278, in addsitepackages
addsitedir(sitedir, known_paths)
File "/usr/lib/ckan/default/lib/python2.7/site.py", line 203, in addsitedir
addpackage(sitedir, name, known_paths)
File "/usr/lib/ckan/default/lib/python2.7/site.py", line 172, in addpackage
exec(line)
File "<string>", line 1, in <module>
KeyError: 'ckanext'
And if I try python setup.py develop I get:
Traceback (most recent call last):
File "/usr/lib/ckan/default/lib/python2.7/site.py", line 682, in <module>
main()
File "/usr/lib/ckan/default/lib/python2.7/site.py", line 662, in main
paths_in_sys = addsitepackages(paths_in_sys)
File "/usr/lib/ckan/default/lib/python2.7/site.py", line 278, in addsitepackages
addsitedir(sitedir, known_paths)
File "/usr/lib/ckan/default/lib/python2.7/site.py", line 203, in addsitedir
addpackage(sitedir, name, known_paths)
File "/usr/lib/ckan/default/lib/python2.7/site.py", line 172, in addpackage
exec(line)
File "<string>", line 1, in <module>
KeyError: 'ckanext'
Any suggestions?
-----Original Message-----
From: ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] On Behalf Of ckan-dev-request at lists.okfn.org<mailto:ckan-dev-request at lists.okfn.org>
Sent: November 3, 2015 17:39
To: ckan-dev at lists.okfn.org<mailto:ckan-dev at lists.okfn.org>
Subject: ckan-dev Digest, Vol 61, Issue 2
Send ckan-dev mailing list submissions to
ckan-dev at lists.okfn.org<mailto: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<mailto:ckan-dev-request at lists.okfn.org>
You can reach the person managing the list at
ckan-dev-owner at lists.okfn.org<mailto:ckan-dev-owner at lists.okfn.org>
When replying, please edit your Subject line so it is more specific than "Re: Contents of ckan-de
Claire Herbert
Coordinator
Lake Winnipeg Basin Information Network
Centre For Earth Observation Science
Department of Environment and Geography
522 Wallace Building
University of Manitoba
Winnipeg, Canada, R3T 3N2
Phone: (204) 474-8657
Follow us on twitter - @LWBIN_UM
Web: http://lwbi.cc.umanitoba.ca/
Search data: http://130.179.67.140/
Search maps (beta) : http://manitoba.geoportalgenie.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20151113/7e1ed794/attachment-0002.html>
More information about the ckan-dev
mailing list