Summary: | Zip that was created by ark was not extracted by php | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | Nikunj Gandhi <nik_gandhi007> |
Component: | general | Assignee: | Raphael Kubo da Costa <rakuco> |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | normal | CC: | amichai2, artghio, arthur, eforgeot, h6zb8-kdebugs20120801, kevin, peterchibunna, rasker, rstone.mail, tim, yi.s.ding |
Priority: | NOR | ||
Version: | 2.19 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
here is zip attached which get error when extracted with php
Screenshot how I am creating zip |
Description
Nikunj Gandhi
2014-10-29 12:52:32 UTC
Thanks for the report. Does it happen to any file you try to create or a specific one? Can you attach a faulty file to this report? Created attachment 89363 [details]
here is zip attached which get error when extracted with php
Hello
The error occurred on every zip file created with ARK.
Plz find attached zip file.If I try to extract attached zip with php.I get error.
"The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature".
If I create zip with wine(7zip) it simply work.
Thanks
That's a TAR gzip file. Are you sure you selected the right compression type when creating the file? Created attachment 89370 [details]
Screenshot how I am creating zip
Hello
I have created zip by RightClick on folder-->Compress-->As Zip Archive
I have also attached screenshot for same.
Is it not right way to create zip file ? I am new in kubuntu.Please let me know rightway to create zip in kubuntu.
Thanks
Hmm, that should work. What Kubuntu version are you using? Can you do the following on a terminal: * Run kdebugdialog, type "ark" in the search box and check both "1601 ark (kdeutils)" and "ark". * Go to the directory that has the folder you want to compress. * Run "ark --changetofirstpath --add --autofilename zip <the folder you want>". * Paste the output you get here in the bug. Hello I am using kubuntu 14.10. The previous version of kubuntu 14.07 also have same problem. Output ------------------------------------------------------------------------------- rk(8699) main: Entering application loop ark(8699) Kerfuffle::AddToArchive::slotStartJob: ark(8699) Kerfuffle::AddToArchive::slotStartJob: Autoset filename to "/home/niks/test1.zip" ark(8699)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-niks/ksycoca4" ark(8699)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "application/zip" , "Kerfuffle/Plugin" : returning 1 offers ark(8699) Kerfuffle::Archive::create: Loading plugin "kerfuffle_libarchive" ark(8699) Kerfuffle::ReadOnlyArchiveInterface::ReadOnlyArchiveInterface: ark(8699) Kerfuffle::AddToArchive::slotStartJob: Setting GlobalWorkDir to "/home/niks" ark(8699) KSharedUiServerProxy::KSharedUiServerProxy: kuiserver registered ark(8699) LibArchiveInterface::addFiles: GlobalWorkDir is set, changing dir to "/home/niks" ark(8699) LibArchiveInterface::addFiles: Falling back to gzip ark(8699) LibArchiveInterface::writeFile: Writing new entry test1/ ark(8699) Kerfuffle::Job::onFinished: true ark(8699) Kerfuffle::AddToArchive::slotFinished: Right, thanks. This is a problem with Kubuntu's packaging -- a while ago Debian decided to use libarchive for handling ZIP files instead of the infozip packages we use here. Kubuntu then followed suit, but looking its patch seems to be based on an older version of the Debian one. Please file a bug report in Kubuntu's bug tracker explaining the situation. I have added bug to ubuntu but still there is no replay and it is till unassigned. Plz look it here https://bugs.launchpad.net/ubuntu/+source/kde-baseapps/+bug/1387924 The component there should probably be "ark", and I guess it helps if you keep the subject short. I'm afraid that's all I can do to help, as I'm not involved with the (K)ubuntu packaging process. *** Bug 341078 has been marked as a duplicate of this bug. *** *** Bug 344745 has been marked as a duplicate of this bug. *** *** Bug 347209 has been marked as a duplicate of this bug. *** *** Bug 341078 has been marked as a duplicate of this bug. *** *** Bug 347009 has been marked as a duplicate of this bug. *** *** Bug 347171 has been marked as a duplicate of this bug. *** *** Bug 348483 has been marked as a duplicate of this bug. *** *** Bug 345717 has been marked as a duplicate of this bug. *** *** Bug 365062 has been marked as a duplicate of this bug. *** *** Bug 374286 has been marked as a duplicate of this bug. *** |