Bug report #16453
MetaSearch: invalid literal for int() with base 10 error
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | |||
Category: | MetaSearch Catalogue Client | ||
Affected QGIS version: | 2.18.5 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 24362 |
Description
From a email of Paul: "I recently tried metasearch on this endpoint http://geomatics.nlr.nl/excat/csw
when running a query qgis throws an error that it expects an integer, but gets a string for the projection info. Is this something to try/catch and assume 4326 if the parameter is non-parseable?"
I tested on 2.18 and when searching for an empty string I get the following error:
Connection error: invalid literal for int() with base 10:
'Rijksdriehoekstelsel_New (28992)'
History
#1
Updated by Tom Kralidis over 7 years ago
- Resolution set to fixed/implemented
- Status changed from Open to Closed
This is a bug in the CSW service. Example:
Snippet:
<ows:BoundingBox crs="EPSG:Rijksdriehoekstelsel_New (28992)"> <ows:LowerCorner>7.304 50.670</ows:LowerCorner> <ows:UpperCorner>3.047 53.612</ows:UpperCorner> </ows:BoundingBox>
Having said this, fixed in OWSLib upstream master: https://github.com/geopython/OWSLib/commit/a3bbebcf2a5696a7e46fcec3b16cde33668dd8d3 and will propagate to QGIS/MetaSearch once a new OWSLib version is released.