Closed bryanmgee closed 5 months ago
It looks like an issue with retrieving the presigned URL for one (or more) of the files. Possibly due to a mix of old and new storage methods?
A NoMethodError occurred in downloads#zip_assembly_info:
undefined method `[]' for nil:NilClass
app/models/stash_engine/resource.rb:439:in `merritt_ark'
It is in fact not just a zip download error, but an error with retrieving the README file specifically, which was copied from an earlier version: https://datadryad.org/stash/downloads/file_stream/2918499
@ahamelers can I get you to look at this briefly and let me know whether it's related? We had an author email about this published dataset:
When I try to download the full dataset or open the version file of August 26th, the download is immediately canceled and the link to the version file returns a broken site.
Is this a problem in the Dryad website or may it be a problem in my computer? I have tried to download the file both in Google Chrome and with Microsoft Edge, but both these browsers returned the same problem.
I tried the following:
Can make into a new ticket if not related.
@bryanmgee
Firefox in incognito mode, 'Download Dataset' button is missing??? but I can download it fine by clicking on the file
This will always be the case, it's a specific aspect of Firefox's incognito mode that the tech the download runs on will not work (service workers)
Chrome in incognito mode, same issue as user, download does not initiate
This is very strange, it does seem to be a problem on Chrome only, for this specific file. You can see the issue just trying to download the file. No idea why it's only on Chrome,or what it is about this file (could it be the spaces in the filename?) but this is a different issue and needs its own ticket. The issue in this case (unlike the one in this existing ticket, which shows a ruby/rails error) seems to be on the AWS side: dryad-assetstore-merritt-west.s3.us-west-2.amazonaws.com sent an invalid response.
Failed to load response data: No data found for resource with given identifier
@ahamelers got another HD email saying that an author could not download the README specifically and then when they tried to the Download Data button, it stalls out. I was able to download using the button on Chrome, but I did get the error when I tried to just download the README (it says Not Found). Is this related to this one?
Closing this ticket, as the main issue is fixed by https://github.com/CDL-Dryad/dryad-app/pull/1529
Moving https://doi.org/10.5061/dryad.mp4jt67 to a separate ticket
The author of this dataset emailed HD saying that the PPR link doesn't work for their dataset; it returns this error message:
When I try this in incognito mode on Firefox, it displays the message that it doesn't allow the automatic download but does allow me to download the files. When I/Laura try this on Chrome and Safari, we get the same error as the author. I tested a few other PPR links and did not have issues with them in Chrome. The Activity Log is rather vanilla with nothing of note other than perhaps that the author has updated it a few times today (always in PPR).