Open bmcrae opened 10 years ago
We do have support for gz
files. Looking at the logs, it seems your gz
files are getting identified as uncompressed text (text/plain)
when they should be application/x-gzip
for gzipped files:
02/14/2014 03.51.08.PM:DEBUG:cloudCS.store: got file_id gdrive://2000x3000mag8resist.asc.gz/0B2RyqHhLbsf9SXlsRVI3eEJyd0E of type <type 'unicode'>
02/14/2014 03.51.09.PM:DEBUG:cloudCS.store: file mime type: text/plain
Could you double check / e-mail the file that was uploaded?
This turned out to be an issue with the automatic Google Drive sync program, which is probably setting incorrect mime type. Works fine when uploaded from the browser interface.
Closing this as it is not an issue with cloudCS.
Good to know. I've reported this on the drive forum. Thanks Tan.
On Sun, Feb 23, 2014 at 5:28 AM, Tanmay Mohapatra notifications@github.comwrote:
Closed #15 https://github.com/Circuitscape/cloudCS/issues/15.
Reply to this email directly or view it on GitHubhttps://github.com/Circuitscape/cloudCS/issues/15 .
Should we leave it open as upstream and close when fixed upstream?
Perhaps, also include the issue in Notes on the main page?
Yes, let's keep it open. Here's the link to the report Brad filed in the Google Drive forum: https://productforums.google.com/forum/#!category-topic/drive/report-a-problem/G58uEQCSHlQ
Actually I faced this today even when I uploaded using the browser interface. We will have to build some checks of our own to handle this.
When loading ascii grids compressed in .gz format, the following error is returned. Not sure if this is a bona fide bug since I'm not sure we currently support .gz format for CloudCS. The same files work with standalone Circuitscape, however.