Skip to content
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

Dataset.id errors b/c some entries in Dataverse.get_contents are lacking fields. #50

Open
felliott opened this issue Jan 30, 2019 · 2 comments

Comments

@felliott
Copy link

Hello!

On the OSF, we've had a few users who can't connect their dataverse datasets to their projects. The symptom is that when we try to call the id property of the dataset we're getting a KeyError: 'protocol' on this line. The entry that is causing the problem has the following fields:

{u'id': 1781, u'title': u'Carl Klarner Dataverse', u'type': u'dataverse'}

This seems to have only started recently, so I'm wondering if the recent 4.10.x updates changed the "Show Contents of a Dataverse" Native endpoint to return something else. Is this something that needs to be fixed in the library or is this a regression in the DV API? Thank you!

Cheers,
@felliott

@pdurbin
Copy link
Member

pdurbin commented Jan 30, 2019

@felliott interesting! I sure hope not. Can I please trouble you to open an issue at https://github.com/IQSS/dataverse/issues because that's the issue tracker that we use in estimation and sprint planning and https://waffle.io/IQSS/dataverse

@pdurbin
Copy link
Member

pdurbin commented Jan 30, 2019

@felliott ah, you already created IQSS/dataverse#5500 ! Perfect! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants