-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing the funders-zenodo-ror-data as funders.yaml crashes #218
Comments
There is an open PR for the documentation: https://github.com/inveniosoftware/docs-invenio-rdm/pull/398/files
Then you can use the following and it seems to work1
When removing the
When setting a wrong yaml for
When setting a wrong yaml in
and calling with the right
Footnotes |
in funders:
readers:
- type: yaml
args:
origin: "app_data/vocabularies/funders.yaml"
writers:
- type: funders-service
args:
service_or_name: funders
identity: system_identity
awards:
readers:
- type: yaml
args:
origin: "app_data/vocabularies/awards.yaml"
writers:
- type: awards-service
args:
service_or_name: awards
identity: system_identity funders schema should look like that: - id: 202100-2585
country: SE
name: name
title:
en: name the command is: invenio vocabularies import --vocabulary funders --filepath ./vocabularies-future.yaml Please follow this recipe and let me know If it works |
My folder structure:
So the file |
and still not working? |
So if we change the paths:
setting the path relative to function call (
alternatively: when setting the path relative to
|
you should check your paths maybe you are adding |
okay - I will not go on with testing paths here but sum up:
|
Package version (if known): invenio-app-rdm 9.1.3; invenio-vocabularies 0.11.6
Describe the bug
When downloading and converting the https://zenodo.org/api/files/25d4f93f-6854-4dd4-9954-173197e7fad7/v1.1-2022-06-16-ror-data.zip into a
funders.yaml
and then trying to importing thefunders
vocabulary using avocabularies-future.yaml
and thisfunders.yaml
we get an TypeError and a Traceback.Steps to Reproduce
Following the documentation here: https://inveniordm.docs.cern.ch/customize/vocabularies/funding/#funders-ror
Expected behavior
Importing should work (although we probably identified four broken isni within this
funders.yaml
)Additional Notes
Same, if
"
are added around the file-names.The text was updated successfully, but these errors were encountered: