eawag-rdm / resup

Batch upload and download of resources to and from data package in CKAN.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong "resource_type"

scheidan opened this issue · comments

The default resource_type is not valid. Most likely the problem is at https://github.com/eawag-rdm/resup/blob/master/resup/resup.py#L214

error message:

ckanapi.errors.ValidationError: {u'__type': u'Validation Error', u'resource_type': [u"Value must be one of: Dataset; Collection; Text; Image; Audiovisual; Software; Sound; GeospatialData; Model; Event; InteractiveResource; PhysicalObject; Service; Workflow; Other (not u'Data_Set')"]}

Will be fixed in the next release.