Bug #13361 [Asn]: Unable to add() some files (ex. mp3)
| From: | mrook@php.net | Date: | Thu, 05 Apr 2012 09:20:53 +0000 |
| Subject: | Bug #13361 [Asn]: Unable to add() some files (ex. mp3) | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-8516@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=13361&edit=1
ID: 13361
Updated by: mrook@php.net
Reported By: marco at pracucci dot com
Summary: Unable to add() some files (ex. mp3)
Status: Assigned
Type: Bug
Package: Archive_Tar
Operating System: Linux
Package Version: 1.3.2
PHP Version: 5.2.5
Assigned To: mrook
-Roadmap Versions:
+Roadmap Versions: 1.3.10
New Comment:
-Roadmap Versions:
+Roadmap Versions: 1.3.10
Previous Comments:
------------------------------------------------------------------------
[2010-04-25 22:30:40] mrook
-Roadmap Versions: 1.3.7
+Roadmap Versions: 1.3.8
------------------------------------------------------------------------
[2010-03-09 10:25:33] mrook
-Roadmap Versions: 1.3.6
+Roadmap Versions: 1.3.7
------------------------------------------------------------------------
[2010-01-04 20:29:35] mrook
-Status: Feedback
+Status: Assigned
-Roadmap Versions: 1.3.4, 1.3.6
+Roadmap Versions: 1.3.6
I am able to reproduce this now.
------------------------------------------------------------------------
[2009-08-18 23:26:06] mrook
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: mrook
Thank you for taking the time to report a problem with the package.
This problem may have been already fixed by a previous change that
is in the CVS of the package. Please log into CVS with:
cvs -d :pserver:cvsread@cvs.php.net:/repository login
and check out the CVS repository of this package and upgrade
cvs -d :pserver:cvsread@cvs.php.net:/repository co pear/Archive_Tar
pear upgrade pear/Archive_Tar/package2.xml
or
pear upgrade pear/Archive_Tar/package.xml
If you are able to reproduce the bug with the latest CVS,
please change the status back to "Open".
Again, thank you for your continued support of PEAR.
Using this code:
<?php
require_once 'dev/Archive_Tar/trunk/Archive/Tar.php';
@unlink('test.tar.gz');
$archive = new Archive_Tar('test.tar.gz', 'gz');
$archive->add(array('test1.mp3'));
?>
and a 15 mb mp3 file, I can't reproduce this using current
sources of the package, can you please confirm this problem
still exists?
------------------------------------------------------------------------
[2008-03-10 05:37:35] pracucci
Description:
------------
I have created a tar.gz and I have added an mp3 file, using the add()
method. Then, I have uncompressed the archive and I've got the following
error:
tar: Skipping to next header
tar: Error exit delayed from previous errors
I have tried with several mp3 files and I get the same error. I don't
have any problem if I add other kind of files, like documents or
images.
Have you ever had a similar problem?
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=13361&edit=1