Click here to get back home

Gunzip module problems

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Gunzip module problems Mark 11-06-2006
Posted by Mark on November 6, 2006, 4:56 pm
Please log in for more thread options


Hello.

I am using IO::Uncompress::Gunzip to read zipped log files
from my web server. About 3/4 of these files fail with
"data error-3". The rest of the zipped files are processed
without difficulty.

Any ideas what might be going on here? Perhaps there is
a RFC1952 compliance issue with some of the files?

Thanks
-Mark



Posted by Paul Marquess on November 7, 2006, 4:56 am
Please log in for more thread options


> Hello.
>
> I am using IO::Uncompress::Gunzip to read zipped log files
> from my web server. About 3/4 of these files fail with
> "data error-3". The rest of the zipped files are processed
> without difficulty.
>
> Any ideas what might be going on here? Perhaps there is
> a RFC1952 compliance issue with some of the files?

A "data error" usually means corruption of the compressed data stream.

An easy first step is to check if IO::Uncompress::Gunzip is telling the
truth is to see if the command line gunzip utility thinks there is a problem
with them as well. Can you try testing some of the log files that fail with
gunzup - the "-t" option will test the integrity of the file for you.

If gunzip thinks that the files are ok, can you contact me directly please?

Paul



Posted by Mark on November 7, 2006, 12:43 pm
Please log in for more thread options


>
> If gunzip thinks that the files are ok, can you contact me directly
> please?

Paul:

My apologies for the false alarm. After a good night's sleep, I found
that I was not specifying FTP binary mode when downloading the
zipped files from the web server. I didn't pick up on this right away
since some of the zipped files appeared to decompress without
complaint despite the inadvertent ascii-mode transfer.

Of course everything now works as it should.

Thank you for your fine work and continued support on the
Compress::Zlib module.

-Mark



Similar ThreadsPosted
Problems using Module PDF::Create February 18, 2005, 2:51 am
trying to resolve module installation problems November 11, 2007, 2:51 pm
"diameter", "has_a_cycle" problems in Graph-0.76 module July 12, 2006, 4:32 am
Problems using GD.pm January 8, 2005, 8:05 pm
Problems when using Net::MSN 1.022 May 4, 2005, 1:20 pm
LWP problems July 11, 2005, 3:50 pm
PPM Problems on Win.XP November 5, 2007, 4:26 pm
LWP Problems (Authentication?) September 5, 2004, 7:12 am
Net::FTP mdtm problems December 14, 2004, 11:00 pm
Problems with Parse::Lex May 5, 2005, 8:22 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap