codecheckers/codecheck

metadata not uploading / incorrect licence?

sje30 opened this issue · 4 comments

I couldn't get much joy from zen4R today. It didn't upload metadata, and was complaining about the licence being unrecognised.

> codecheck:::set_zenodo_metadata(zenodo, record, metadata)
[zen4R][ERROR] ZenodoRecord - License with id 'other-open' doesn't exist in Zenodo 
Error in draft$setLicense(licenseId = "other-open") : 
  License with id 'other-open' doesn't exist in Zenodo

changing the code to use 'MIT' as licence did not work.... removing the line to setLicense silenced the error, but no metadata were uploaded....

shrug...

thanks to @nuest for tipping me off, the API for Zenodo is changing.

See: eblondel/zen4R#127

at the moment zen4R is not functioning, so we will need to copy metadata across "by hand" and watch for progress on zen4R.

one possibility might be to see if the Python interface works robustly:
https://developers.zenodo.org/#quickstart-upload