Skip Menu |

This queue is for tickets about the Archive-Extract CPAN distribution.

Report information
The Basics
Id: 61398
Status: new
Priority: 0/
Queue: Archive-Extract

People
Owner: Nobody in particular
Requestors: stepheneliotdewey [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: extract() returns true even in cases of error
Date: Thu, 16 Sep 2010 10:58:36 -0400
To: bug-archive-extract [...] rt.cpan.org
From: Stephen Dewey <stepheneliotdewey [...] gmail.com>
In cases where extract() cannot find the file that it is supposed to operate on, it still returns a true value for me. A sample error message (where extract still returns true) is: Unable to unzip '/home/myname/zips/remoteZip.zip': zipinfo: cannot find either /home/myname/zips/remoteZip.zip or /home/myname/zips/remoteZip.zip.zip at extracter.pm line 50
Subject: Re: [rt.cpan.org #61398] AutoReply: extract() returns true even in cases of error
Date: Thu, 16 Sep 2010 11:06:13 -0400
To: bug-Archive-Extract [...] rt.cpan.org
From: Stephen Dewey <stepheneliotdewey [...] gmail.com>
It may be helpful to know that I am running this in Cygwin, and the file cannot be found because I'm using a path that may be invalid in Cygwin. That said, I'd expect extract to return false whenever unzip can't find the file to extract. Maybe that expectation is wrong? Also, my Perl is version 5.10.1 On Thu, Sep 16, 2010 at 10:58 AM, Bugs in Archive-Extract via RT <bug-Archive-Extract@rt.cpan.org> wrote: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: >        "extract() returns true even in cases of error", > a summary of which appears below. > > There is no need to reply to this message right now.  Your ticket has been > assigned an ID of [rt.cpan.org #61398].  Your ticket is accessible > on the web at: > >    https://rt.cpan.org/Ticket/Display.html?id=61398 > > Please include the string: > >         [rt.cpan.org #61398] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > >                        Thank you, >                        bug-Archive-Extract@rt.cpan.org > > ------------------------------------------------------------------------- > In cases where extract() cannot find the file that it is supposed to > operate on, it still returns a true value for me. A sample error > message (where extract still returns true) is: > > Unable to unzip '/home/myname/zips/remoteZip.zip': zipinfo:  cannot > find either /home/myname/zips/remoteZip.zip or > /home/myname/zips/remoteZip.zip.zip at extracter.pm line 50 > >
Subject: Re: [rt.cpan.org #61398] AutoReply: extract() returns true even in cases of error
Date: Thu, 16 Sep 2010 15:31:33 -0400
To: bug-Archive-Extract [...] rt.cpan.org
From: Stephen Dewey <stepheneliotdewey [...] gmail.com>
Another issue that may be related... when I run my script on Windows (using either ActivePerl or Strawberry Perl), and I have PREFER_BIN set, the script attempts to use a binary command, but fails. It should just be using unzip, but instead I get the error: Could not find or check module 'IPC::Run' [THIS MAY BE A PROBLEM!] at C:/Perl/lib/IPC/Cmd.pm line 125