ioos / ckanext-ioos-theme

IOOS Catalog as a CKAN extension
GNU Affero General Public License v3.0
7 stars 14 forks source link

CSW ISO19139 record serialization failed (OAIPHM, also) #191

Closed valentinedwv closed 5 years ago

valentinedwv commented 5 years ago

CSW Record works. https://data.ioos.us/csw?service=CSW&version=2.0.2&request=GetRecords&elementsetname=full&typenames=gmd:MD_Metadata&outputformat=application/xml&resulttype=results


ISO fails:

https://data.ioos.us/csw?mode=oaipmh&verb=ListRecords&metadataPrefix=iso19139

`

Record serialization failed: startswith first arg must be str or a tuple of str, not bytes` https://data.ioos.us/csw?service=CSW&version=2.0.2&request=GetRecords&elementsetname=full&typenames=gmd:MD_Metadata&outputformat=application/xml&outputschema=http://www.isotc211.org/2005/gmd&resulttype=results ``` Record serialization failed: startswith first arg must be str or a tuple of str, not bytes ```
benjwadams commented 5 years ago

I applied a hotfix to the server which should take care of this until it's fixed upstream in PyCSW. The pertinent issue is here: https://github.com/geopython/pycsw/issues/576 Going to close since the request now appears to work; please reopen if you encounter other problems related to this issue.