[OWSLib-devel] testing csw
Tom Kralidis
tomkralidis at gmail.com
Sun Dec 14 04:59:08 PST 2014
On Sun, Dec 14, 2014 at 3:57 AM, Jachym Cepicky
<jachym.cepicky at gmail.com> wrote:
> Hi,
> playing with CSW client, following the documentation at
> http://geopython.github.io/OWSLib/#csw, it does not seem to be quite
> up-to-date.
>
> 1. csw.getrecords does not work with constrains parameter (I hope, I changed
> it corretly to getrecords2 in
> https://github.com/geopython/OWSLib/compare/17984108a2b9...e4baff1ce553
>
Thanks for updating!
> 2. following the "bird_query" example:
>
> birds_query = PropertyIsEqualTo('csw:AnyText', 'birds')
> csw.getrecords2(constraints=[birds_query])
>
> leads to error:
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/local/lib/python2.7/dist-packages/owslib/csw.py", line 351, in
> getrecords2
> self._invoke()
> File "/usr/local/lib/python2.7/dist-packages/owslib/csw.py", line 658, in
> _invoke
> raise ows.ExceptionReport(self._exml, self.owscommon.namespace)
> owslib.ows.ExceptionReport: 'ORA-00936: missing expression'
>
owslib.ows.ExceptionReport is a server error. Looks like the CSW
Oracle backend is throwing error.
>
> I have absolutely no idea, whether this is error on the server or on the
> client.
>
> Thanks for help (I might me sending more mails related to this csw topic in
> near future)
>
> Jachym
More information about the OWSLib-devel
mailing list