Gz 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 developers or gzip: stdin: invalid compressed data--length error posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix &
Gzip Invalid Compressed Data--format Violated
Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a
Zcat Invalid Compressed Data Length Error
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 Windows, so the file
Invalid Compressed Data--length Error Zgrep
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 – Stocks.gz has more than one gunzip error codes 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 richard 5,27311334 The output of file is: Financial Indicators – Stocks
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 gunzip has more than one entry unchanged data--crc errorgunzip: A2003001175500.L2_LAC_OC.x.hdf.gz: invalid compressed data--length errorThis may be due to a gzip crc 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 http://unix.stackexchange.com/questions/101254/error-with-a-gz-file-decompression-in-mint-but-works-perfectly-in-windows-so explicitly set your download transfer mode to binary before you initiate the (m)get command.(usually as simple 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 http://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?tid=4046 Asked Questions - General Forum Information - SeaDAS 7 FAQ - SeaDAS 6 FAQ - Data Products & Algorithms FAQ - Data Access FAQ 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 Leve
Today's Posts Advanced Search Find the answer to your Linux question: Entire Site Articles Downloads Forums Linux Hosting Forum Your Distro Red Hat / Fedora Linux invalid compressed data--length error If this is your first visit, be sure to check out the FAQ by clicking the http://www.linuxforums.org/forum/red-hat-fedora-linux/179914-invalid-compressed-data-length-error.html link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. ** If you are logged in, most ads http://askubuntu.com/questions/429501/any-big-file-download-results-in-file-error will not be displayed. ** Linuxforums now supports the Tapatalk app for your mobile device. Results 1 to 2 of 2 Thread: invalid compressed data--length error Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch invalid compressed to Hybrid Mode Switch to Threaded Mode Enjoy an ad free experience by logging in. Not a member yet? Register. 06-20-2011 #1 ozgurozel View Profile View Forum Posts Private Message View Articles Just Joined! Join Date Jun 2011 Posts 1 invalid compressed data--length error Hi everybody. I am new in this forum I have a serious problem I have a something.gz file. When I type gunzip -c something.gz this commend open the file but at the end of the file I get an error invalid compressed data message invalid compressed data--length error. Also if I type more at the and of this commend like gunzip -c something.gz | more, file would not open. It gives some meaningless characters. I want to open this file with more. what is the reason of this problem. Reply With Quote 06-21-2011 #2 Rubberman View Profile View Forum Posts Private Message View Articles Linux Guru Join Date Apr 2009 Location I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away. Posts 13,266 Probably the gzip file is munged. BTW, the -c option outputs the uncompressed data to stdout, and if you pipe it to more (or less) to view the file, make sure it is a text and not a binary file. If you just want to uncompress the file, drop the -c option and it will uncompress the file "something.gz" file to "something", removing the "something.gz" file if it is successful. Normally the -c option is used when you want to redirect to another file name and keep the original .gz file intact. Sometimes, real fast is almost as good as real time. Just remember, Semper Gumbi - always be flexible! Reply With Quote Quick Navigation Red Hat / Fedora Linux Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Linux Forums Linux Forums Site News / Info Your Distro Arch Linux Debian Linux Gentoo Linux Knoppix Linux Mandriva Linux Mint Linux PCLinuxOS Slackware Linux SuSE Li
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start 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 developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it 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 any big file download results in file error up vote 1 down vote favorite My problem is that whenever I try downloading a big file (100MB or more), it always gets completed but file is corrupted. I have been observing this when downloading Eclipse IDE. I tried many Eclipse versions, Scala IDE, but all result in the same error. Is there something wrong with my Internet connection or my Hard Drive? How to diagnose and fix this problem? *Update * i tried using another computer to download the same file on the same internet connection. the file download is successful. so it means something wrong in my harddisk only. i checked the Disk 'palimpsest' report and does show many "read errors" and many "Seek Errors" , many "hardware ECC recovered" . But the "Uncorrectable Sector Count" is 0. Does that mean my disk is a problem but it is a recoverable error? what can be done to recover from these errors? Update 2 i tried attaching my phone as a USB device and downloaded the file in it. the file was downloaded using wget -c command. The same error occured, i.e. extracting the .tar.gz file failed as there was a CRC error that means Harddisk is OK, and internet connection is OK (see Update 1) , but there is something wrong in the OS? many times i am not even able to apply all updates as the updates also fail for the same reason "Hash Sum Mismatch" plz help!!