Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installation in ckan 2.9 with docker #305

Open
aantilao opened this issue Dec 16, 2022 · 0 comments
Open

Error installation in ckan 2.9 with docker #305

aantilao opened this issue Dec 16, 2022 · 0 comments

Comments

@aantilao
Copy link

Hi,
I was trying to install spatial extension, specially spatial_metadata and spatial_query on my docker, but when i did the step on documentation y got this error. I do different step, for example y change the version of pip-requirements.txt and requirements.txt.
I got this error when I try to initialize the database (ckan --config=/etc/ckan/production.ini spatial initdb 4326) or if i put spatial_metadata and spatial_query on plugins (production.ini).

Has anyone else had this error, so they can help me

Traceback (most recent call last):
File "/usr/lib/ckan/venv/bin/paster", line 8, in
sys.exit(run())
File "/usr/lib/ckan/venv/local/lib/python2.7/site-packages/paste/script/command.py", line 101, in run
command = commands[command_name].load()
File "/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pkg_resources/init.py", line 2443, in load
return self.resolve()
File "/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pkg_resources/init.py", line 2449, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/lib/ckan/venv/lib/python2.7/site-packages/ckanext_spatial-1.0.0-py2.7.egg/ckanext/spatial/commands/spatial.py", line 7, in
import ckanext.spatial.util as util
File "/usr/lib/ckan/venv/lib/python2.7/site-packages/ckanext_spatial-1.0.0-py2.7.egg/ckanext/spatial/util.py", line 19, in
from ckanext.spatial.lib.reports import validation_report
File "/usr/lib/ckan/venv/lib/python2.7/site-packages/ckanext_spatial-1.0.0-py2.7.egg/ckanext/spatial/lib/reports.py", line 5, in
from ckanext.spatial.harvesters import SpatialHarvester
File "/usr/lib/ckan/venv/lib/python2.7/site-packages/ckanext_spatial-1.0.0-py2.7.egg/ckanext/spatial/harvesters/init.py", line 9, in
from ckanext.spatial.harvesters.base import SpatialHarvester
File "/usr/lib/ckan/venv/lib/python2.7/site-packages/ckanext_spatial-1.0.0-py2.7.egg/ckanext/spatial/harvesters/base.py", line 18, in
from owslib import wms
File "/usr/lib/ckan/venv/local/lib/python2.7/site-packages/owslib/wms.py", line 18, in
from .map import wms111, wms130
File "/usr/lib/ckan/venv/local/lib/python2.7/site-packages/owslib/map/wms111.py", line 19, in
from urllib.parse import urlencode
ImportError: No module named parse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant