Skip to content

Download: Cannot download tab file but can download original and rdata version on develop #6278

@kcondon

Description

@kcondon

A regression has snuck into develop branch: cannot download the tab version of a tabular file, 50by1000.dta but can download the original and rdata version. Tested on 2 different machines.

Note that the tabular file is present on disk.
Also note that if I hack the url to look this way, instead of the the one displayed below, it works:

/api/access/datafile/298

There is no log error on download but the browser shows this:

File ingest logs this:

/api/access/datafile/298?format=tab&gbrecs=true

{"status":"ERROR","code":404,"message":"'/api/v1/access/datafile/298' endpoint does not exist on this server. Please check your code for typos, or consult our API guide at http://guides.dataverse.org."}

[2019-10-16T12:29:34.090-0400] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.ingest.IngestServiceBean] [tid: _ThreadID=149 _ThreadName=jk-connector(4)] [timeMillis: 1571243374090] [levelValue: 800] [[
  Ingest of 1 tabular data file(s) is in progress.]]

[2019-10-16T12:29:34.393-0400] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.ingest.tabulardata.impl.plugins.dta] [tid: _ThreadID=93 _ThreadName=p: thread-pool-1; w: 1] [timeMillis: 1571243374393] [levelValue: 800] [[
  ***** DTAFileReader: read() start *****]]

[2019-10-16T12:29:34.394-0400] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.ingest.tabulardata.impl.plugins.dta] [tid: _ThreadID=93 _ThreadName=p: thread-pool-1; w: 1] [timeMillis: 1571243374394] [levelValue: 800] [[
  release number=113]]

[2019-10-16T12:29:34.395-0400] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.ingest.tabulardata.impl.plugins.dta] [tid: _ThreadID=93 _ThreadName=p: thread-pool-1; w: 1] [timeMillis: 1571243374395] [levelValue: 800] [[
  number of variables(nvar)=50]]

[2019-10-16T12:29:34.447-0400] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.ingest.tabulardata.impl.plugins.dta] [tid: _ThreadID=93 _ThreadName=p: thread-pool-1; w: 1] [timeMillis: 1571243374447] [levelValue: 800] [[
  ***** DTAFileReader: read() end *****]]

[2019-10-16T12:29:34.448-0400] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.ingest.IngestServiceBean] [tid: _ThreadID=93 _ThreadName=p: thread-pool-1; w: 1] [timeMillis: 1571243374448] [levelValue: 800] [[
  Tabular data successfully ingested; DataTable with 50 variables produced.]]

[2019-10-16T12:29:34.448-0400] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.ingest.IngestServiceBean] [tid: _ThreadID=93 _ThreadName=p: thread-pool-1; w: 1] [timeMillis: 1571243374448] [levelValue: 800] [[
  Tab-delimited file produced: /tmp/tempTabfile.7683848823370224846.tab]]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions