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
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