-
Notifications
You must be signed in to change notification settings - Fork 283
NoneType object has no attribute attrib #973
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
Comments
@pvgenuchten - are you able to provide the query that raised this error? url = 'https://inspire-geoportal.ec.europa.eu/srv/eng/csw'
c = cs(url)
c.getrecords2()
print(c.results)
# {'matches': 346714, 'returned': 10, 'nextrecord': 11}
# query with a filter?
# uuid_filter = fes.PropertyIsEqualTo(propertyname='sys.siteuuid', literal="{%s}" % "1706F520-2647-4A33-B7BF-592FAFDE4B45")
# c.getrecords2([uuid_filter], esn='full', maxrecords=2) |
code is this one:
indeed, code snippet is required to reproduce |
pvgenuchten
added a commit
to pvgenuchten/OWSLib
that referenced
this issue
Mar 1, 2025
add a null check before using attrib
tomkralidis
pushed a commit
that referenced
this issue
Mar 8, 2025
* resolves issue #973 add a null check before using attrib * Add pytest_httpserver and unit test * Remove live server URL * Mark online --------- Co-authored-by: sethg <sethg@geographika.co.uk>
Closed with #978 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when querying the csw endpoint of inspire on datasets of atmospheric conditions, i get this error
not sure which record caused the error
The text was updated successfully, but these errors were encountered: