IQSS / IQSS/dataverse

R data download doesn’t work

Open
#9,490 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature: File Upload & Handling Type: Bug User Role: Guest
Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

Tabular data as R data download does not function. Data files are correct ingested, all kind of original formats are affected (Stata, SPSS, csv):
status: "ERROR”
code: 404
message: "datafile access error: requested optional service (image scaling, format conversion, etc.) could not be performed on this datafile."

server.log:
[2023-03-31T14:35:01.873+0200] [Payara 5.2022.5] [SEVERE] [] [edu.harvard.iq.dataverse.rserve] [tid: _ThreadID=94 _ThreadName=http-thread-pool::jk-connector(1)] [timeMillis: 168026>
voidEval failed, request status: error code: 127]]

e.g.
https://data.aussda.at/api/access/datafile/5991?format=RData (original Stata)
https://data.aussda.at/api/access/datafile/4433?format=RData (original csv)
Not all files are affected, a few downloads are ok, e.g.:
https://data.aussda.at/api/access/datafile/4436?format=RData (Stata)
There is no identifiable pattern as to which ones work and which ones don't.
All settings seem to be ok https://guides.dataverse.org/en/5.13/installation/prerequisites.html#r
Dataverse 5.12.1

Other instances have the same error:
https://dataverse.harvard.edu/api/access/datafile/7029119?format=RData
https://dataverse.harvard.edu/api/access/datafile/6693766?format=RData
https://www.sodha.be/api/access/datafile/2487?format=RData&gbrecs=true

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the listed /api/access/datafile requests with format=RData and compare the failing and successful files. Read the R prerequisites linked in the issue and inspect the server.log entry from edu.harvard.iq.dataverse.rserve, including the status 127 error. Done means affected Stata, SPSS, and CSV files can download as RData without the 404 datafile access error.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
api, data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.