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
Your issue may already be reported! Please search on the issue tracker before creating one.
Use our issue templates for bug reports and feature requests, if that's what you need.
Are you running the expected version of pyDataverse? (check via pip freeze).
Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome. For more information, see the Contributor Guide.
We as maintainers foster an open and welcoming environment. Be respectfull, supportive and nice to each other! :)
Issue
[Explain the reason for your issue]
Dear pyDataverser developers,
I am running pyDataverse to upload dataset to our Dataverse installation.
Our dataset contains custom metadata ("freeKeywordValue")
As recommended in the tutorial, I create the dataset with "ds.from_json(data_json)" (the example is at the end of this message).
However, the upload fails and when I check with "ds.get()", I see that the custom metadata fields fields are not there anymore.
As well the server rejects the input, because pyDataverse removes the entry "metadataLanguage": "en" which is required by Dataverse as stated in the dataverse tutorial https://guides.dataverse.org/en/latest/api/native-api.html#id43.
If I use a simple CURL, my json is accepted perfectly and the dataset is inserted as expected.
Thank you for your contribution!
It's great, that you want contribute to pyDataverse.
First, start by reading the Bug reports, enhancement requests and other issues section.
Before we can start
Before moving on, please check some things first:
pip freeze
).Issue
[Explain the reason for your issue]
Dear pyDataverser developers,
I am running pyDataverse to upload dataset to our Dataverse installation.
Our dataset contains custom metadata ("freeKeywordValue")
As recommended in the tutorial, I create the dataset with "ds.from_json(data_json)" (the example is at the end of this message).
However, the upload fails and when I check with "ds.get()", I see that the custom metadata fields fields are not there anymore.
As well the server rejects the input, because pyDataverse removes the entry "metadataLanguage": "en" which is required by Dataverse as stated in the dataverse tutorial https://guides.dataverse.org/en/latest/api/native-api.html#id43.
If I use a simple CURL, my json is accepted perfectly and the dataset is inserted as expected.
The original json:
The output of ds.get:
The incoming json in the server log:
The text was updated successfully, but these errors were encountered: