OpenNeuroOrg / openneuro

A free and open platform for analyzing and sharing neuroimaging data
https://openneuro.org/
MIT License
108 stars 39 forks source link

Draft file view can fail with reasonable committed files #3100

Open effigies opened 1 month ago

effigies commented 1 month ago

What went wrong?

https://openneuro.org/datasets/ds005126/file-display/participants.json shows:

image

Likewise, https://openneuro.org/datasets/ds005126/file-display/participants.tsv appears as:

image

The files appear to be good on the server:

/datasets/ds005126$ file participants.*
participants.json: JSON text data
participants.tsv:  ASCII text, with CRLF line terminators

Expected behavior

Show the latest draft versions of the files

How to reproduce

  1. https://openneuro.org/datasets/ds005126/
  2. Browse to participants.tsv or participants.json and attempt to view

Desktop

Phone

Additional information

No response

nellh commented 1 month ago

This is fixed for this dataset but still investigating the cause. The issue is that non-existent versions were recorded for the annex keys, so invalid S3 URLs were generated. This isn't draft specific but it was also only a subset of objects (some were fine). It's possible it is an interrupted export but not a failure case we've seen before.