Closed cehbrecht closed 9 years ago
@cehbrecht I think this is an issue with the underlying CSW server. Do you have a csw endpoint to test?
i'm using pycsw 1.10.1, of course ;) But my service is not open accessible.
I experienced more troubles with owslib 0.9 (accessing pywps). Everything works with previous versions (0.8.13 or below).
I'm using owslib from anaconda which i build myself: https://github.com/bird-house/conda-recipes/tree/master/ocgis
You can get my 0.9 version from binstar on the dev channel:
$ conda install -c https://conda.binstar.org/birdhouse/channel/dev owslib
Is there maybe a dependency missing or do i need to use different versions (lxml, ...)?
@cehbrecht good CSW choice! :smile:
I tested this against OWSLib master and a local CSW (pycsw) instance to harvest http://cida.usgs.gov/gdp/utility/WebProcessingService and everything worked as expected. OWSLib has an etree wrapper which looks for lxml first, etc.
Looking at the exception caught by OWSLib, it looks like a pycsw harvesting error. Perhaps you can run a bare CSW Harvest request against the pycsw instance first to rule out an issue there? If that works, then there is something wrong downstream.
its all fine with OWSLib :)
but i'm running into a version conflict with requests:
File "/home/pingu/.conda/envs/birdhouse/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 640, in find_egg_entry_point
pkg_resources.require(self.spec)
File "/home/pingu/.conda/envs/birdhouse/lib/python2.7/site-packages/setuptools-18.0.1-py2.7.egg/pkg_resources/__init__.py", line 952, in require
File "/home/pingu/.conda/envs/birdhouse/lib/python2.7/site-packages/setuptools-18.0.1-py2.7.egg/pkg_resources/__init__.py", line 844, in resolve
pkg_resources.ContextualVersionConflict: (requests 2.6.0 (/home/pingu/.conda/envs/birdhouse/lib/python2.7/site-packages), Requirement.parse('requests>=2.7'), set(['owslib']))
i've no clue where the requests=2.6
requirement comes from. I'm using owslib in anaconda and only requests=2.7
is installed.
I suppose if i would remove the explicit requests>=2.7
requirement in OWSLib this check would pass and things will work ...
fixed with requirement requests>=1.0
Hi *,
did the interface of csw.harvest() change? I'm harvesting a wps service (which worked in 0.8.13):
and i get the exception::
Cheers, Carsten