wooey / Wooey

A Django app that creates automatic web UIs for Python scripts.
http://wooey.readthedocs.org
BSD 3-Clause "New" or "Revised" License
2.12k stars 182 forks source link

tar.gz is tar archive but not gzip compressed in 'All Files' #341

Closed congmaowang closed 2 years ago

congmaowang commented 3 years ago

Can check demo https://wooey.herokuapp.com/jobs/19430/ for example. Cat_Fetcher_20210814-1626.tar.gz is tar archive but not gzip compressed.

Chris7 commented 2 years ago

In what way is it not gzip compressed?

➜ gunzip -l Cat_Fetcher_20211219-2059.tar.gz 
         compressed        uncompressed  ratio uncompressed_name
             166412              184320   9.7% Cat_Fetcher_20211219-2059.tar
congmaowang commented 2 years ago

Use Google Chrome browser under Linux/Windows/Mac to download can reproduce this bug. It seems works for Firefox or via command line curl to download the tar.gz file.

Chris7 commented 1 year ago

This is a chrome issue: https://stackoverflow.com/questions/68112512/disable-chromes-gzip-automatic-decompression. AWS S3 is serving the file here, so at some point maybe I can look at if the bucket configuration can be updated for chrome, but Wooey is not doing the actual file serving on the demo app. I don't believe this is a bug in Wooey itself.