I'm trying to use QGIS MetaSearch plugin to search data stored in our pyCSW catalog. Metasearch will get the correct service info and the GetCapabilities response however, when I try to search the catalog, I get:

Search error: "Record serialization failed: Argument must be bytes or unicode, got 'SpatialRepresentationType'"

Any idea what could be wrong? I'm using the pyCSW server that came with GeoNode. The catalogue url is http://geoinfo.cnpm.embrapa.br/catalogue/csw

1 Answer 1


MetaSearch is working fine here and is reporting an exception from the server. This is an issue with GeoNode which was fixed here: https://github.com/GeoNode/geonode/commit/68ce3806327c7478555bf0e64e761df679e2dede

It looks like you are using a version of GeoNode which predates this fix.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.