You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found this in my logs, when importing some iso records
File "/harvesters/record-to-pycsw/metadata.py", line 126, in <module>
record = metadata.parse_record(context, metadata_record, repo)
File "/harvesters/lib/python3.10/site-packages/pycsw/core/metadata.py", line 119, in parse_record
return _parse_metadata(context, repos, record)
File "/harvesters/lib/python3.10/site-packages/pycsw/core/metadata.py", line 149, in _parse_metadata
return [_parse_iso(context, repos, exml)]
File "/harvesters/lib/python3.10/site-packages/pycsw/core/metadata.py", line 1429, in _parse_iso
_set(context, recobj, 'pycsw:Keywords', ','.join([k.name for k in all_keywords]))
TypeError: sequence item 0: expected str instance, NoneType found
Could not parse 33208a53-4973-4516-8f16-5ef82e20fd3b as record, sequence item 0: expected str instance, NoneType found, None
similar for bands
File "/harvesters/record-to-pycsw/metadata.py", line 126, in <module>
record = metadata.parse_record(context, metadata_record, repo)
File "/harvesters/lib/python3.10/site-packages/pycsw/core/metadata.py", line 119, in parse_record
return _parse_metadata(context, repos, record)
File "/harvesters/lib/python3.10/site-packages/pycsw/core/metadata.py", line 149, in _parse_metadata
return [_parse_iso(context, repos, exml)]
File "/harvesters/lib/python3.10/site-packages/pycsw/core/metadata.py", line 1528, in _parse_iso
for band in ci.bands:
AttributeError: 'MD_FeatureCatalogueDescription' object has no attribute 'bands'
Could not parse 2e0566eb-af7c-493c-abec-81f990c96161 as record, 'MD_FeatureCatalogueDescription' object has no attribute 'bands', None
Found this in my logs, when importing some iso records
similar for bands
records.zip
The text was updated successfully, but these errors were encountered: