Gunzip Invalid Compressed Data Length Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring zcat invalid compressed data length error developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ invalid compressed data--length error zgrep Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it gzip: stdin: invalid compressed data--length error only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Error with a .gz file decompression in Mint, but works perfectly in
Gunzip Invalid Compressed Data--crc Error
Windows, so the file is not corrupt up vote 2 down vote favorite I've downloaded some .csv files from the OECD Stats website, since I need them to plot some graphs with gnuplot. When I open them with File Roller 3.4.1 (the default program to handle archive files), there's a file that seems empty (0 byte). When I try on the terminal, I get: gunzip Financial\ Indicators\ –\ Stocks.gz gzip: Financial Indicators – Stocks.gz: invalid compressed data--length error gzip: Financial Indicators gzip invalid compressed data--format violated – Stocks.gz has more than one entry -- unchanged So the file seems corrupted, but I sent it to a friend who uses Windows. He extracted the file on his computer and sent me the output: it's a zip files which, in turn, contains two .csv files. So the file is not corrupt, there must be a problem with the packages used to handle them. Any suggestion? compression gzip share|improve this question edited Nov 19 '13 at 13:27 Zelda 3,9621023 asked Nov 15 '13 at 11:25 Luigi 15128 1 Run file Financial\ Indicators\ –\ Stocks.gz, to see what's actually there. –angus Nov 15 '13 at 11:28 The output is: Financial Indicators – Stocks.gz: Zip archive data, at least v3.0 to extract –Luigi Nov 15 '13 at 11:35 add a comment| 1 Answer 1 active oldest votes up vote 5 down vote accepted If it is a zip then the file extension is wrong, and you can not use gunzip. If it contains 2 files then it is not a gzip file, gunzip works with single files, it just compresses, sometimes we use it with tar to combine file. It may be zip or tarred zip .taz Use file command to find out. If zip You need unzip. Also if zip change the file extension, as some tools may use this to detect file type. share|improve this answer edited Feb 23 '14 at 20:50 answered Nov 15 '13 at 11:30
1.0.6. The downloaded file was gunzip has more than one entry unchanged in the tar.gz format. When the download finished
Gunzip Error Codes
I tried to gunzip it and got the following errors: gunzip: web-XXXX.tar.gz: invalid compressed data--crc error gunzip: web-XXXX.tar.gz: invalid compressed data--length error So, I contacted the publisher and said, hey, I think this file http://unix.stackexchange.com/questions/101254/error-with-a-gz-file-decompression-in-mint-but-works-perfectly-in-windows-so is bad. They checked and said it worked for them. I downloaded the same file to a SuSE v9.2 system using Firefox 1.0.6 and it gunzipped fine - same file size as earlier download, though SuSE has gzip v1.3.5 and FC3 only has http://forums.fedoraforum.org/archive/index.php/t-67688.html 1.3.3. From what I've been able to find, this error occurs most frequently when a binary file is downloaded in ascii mode. I can't find any settings in Firefox that sets the mode ... plus isn't binary mode the default for almost everything? Any ideas on this one? Thanks, dxturner DRE.ORGY.NET4th August 2005, 12:28 AMWhen you downloaded it, did you select to save to a file or to open with an application? dxturner4th August 2005, 04:11 AMsave to file ... I saved it to /tmp/web-XXXX.tar.gz I actually downloaded it twice. The website allows you to select download via FTP or HTTP. When the first file downloaded via FTP gave the gunzip errors, I downloaded it again using HTTP. Same results. vBulletin v3.8.7, Copyright ©2000-2016, vBulletin Solutions, Inc.
l2 products (ie ftp and mget *.gz).. i attempt to unzip with gunzip *.gz but I am getting an error gunzip: A2003001175500.L2_LAC_OC.x.hdf.gz: invalid compressed data--crc errorgunzip: A2003001175500.L2_LAC_OC.x.hdf.gz: invalid compressed data--length errorThis may http://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?tid=4046 be due to a warning message when I was downloading from site.. it said something about remaining downloaded as ascii.. this is odd, because when I try to unzip a file off of the server it works fine. help!I also tried gunzip -a *.gz and nothing!Erin By SeanBailey Date 2011-05-27 19:09 Erin,Make sure to explicitly set your download transfer mode to binary before you initiate the (m)get command.(usually as simple invalid compressed as typing 'binary' at the ftp prompt)If the server transfers the data in ASCII mode, it will be buggered.Sean Topic Products and Algorithms / Satellite Data Access / Issue with gunzip of .gz.. ASCII problem (locked) Forum Announcements - Ocean Color Announcements - SeaDAS Announcements Frequently Asked Questions - General Forum Information - SeaDAS 7 FAQ - SeaDAS 6 FAQ - Data Products & Algorithms FAQ - Data Access FAQ invalid compressed data Products and Algorithms - Satellite Data Products & Algorithms - Satellite Data Access - Field Data - SeaBASS SeaDAS - SeaDAS 7 - General Questions - SeaDAS 6.x - General Questions - SeaDAS 6.x Virtual Appliance for Windows - MODIS Direct Broadcast Support - Non-SeaDAS Packages (e.g. MATLAB, ENVI, GIS, etc) Special Topics - Ocean Color Reprocessing - PACE - HICO - OceanColor Website Redesign - Inherent Optical Properties Workshop Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill About What We Do Staff Directory Contact Us Need help? Click here for the forum. Missions CZCS GOCI OCTS SeaWiFS MODIS Terra MODIS Aqua MERIS HICO Aquarius VIIRS PACE Need help? Click here for the forum. Data Overview Direct Data Access Data File Search Data Subscription OPeNDAP SeaBASS Field Data How to Cite Other Resources Data Browsers Level 1&2 Browser Level 3 Browser Need help? Click here for the forum. Docs How to Cite Processing History Technical Documents Meetings/Workshops Educational Material Products Level 1, 2, & 3 Definitions Algorithm Descriptions Ancillary Sources Quality Assessment Product Validation Global L3 Trends Need help? Click here for the forum. Services OceanColor Forum Registration Data Subscription HPLC Pigments Image Gallery Informational Videos Mailing Lists Overpass Predictor Order Manager Software & Tools SeaDAS IDL