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

Not ingested file into Dataverse #10108

Open
sbondka opened this issue Nov 9, 2023 · 1 comment · May be fixed by #11054
Open

Not ingested file into Dataverse #10108

sbondka opened this issue Nov 9, 2023 · 1 comment · May be fixed by #11054
Labels
Type: Bug a defect

Comments

@sbondka
Copy link
Contributor

sbondka commented Nov 9, 2023

I've provided a link to a binary file that was uploaded to Dataverse on December 1, 2021. You can access it here: (https://entrepot.recherche.data.gouv.fr/file.xhtml?persistentId=doi:10.15454/YUFRUW/ICGF0B&version=2.0)
After downloading the file in its original .dat format and attempting to reupload it to Dataverse, the file was not successfully ingested. Please refer to the screenshot below for more details.

Capture2

@sbondka sbondka added the Type: Bug a defect label Nov 9, 2023
@qqmyers
Copy link
Member

qqmyers commented Nov 9, 2023

A quick guess - Dataverse only correctly ingests Stata v 14 and 15 files correctly if they have the right version specific mimetype, e.g. application/x-stata-14 . Detecting that version-specific type may not happen for direct upload since detection requires inpecting the file bits. Fixing this is on my radar for QDR - not sure how quickly. At QDR, this particular file does get ingested now when uploaded w/o direct upload and fails due to having application/x-stata as its mimetype when direct uploaded. For now, doing a mimetype redetect and reingest via API is a work-around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug a defect
Projects
Status: ⚠️ Needed/Important
Development

Successfully merging a pull request may close this issue.

2 participants