Bug 338491

Summary: New (2.19) ark created wrong archives
Product: [Applications] ark Reporter: xituh
Component: generalAssignee: Raphael Kubo da Costa <rakuco>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: alexalexiv, eugene, jfp, rthomsen6
Priority: NOR    
Version: 2.19   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description xituh 2014-08-23 07:47:37 UTC
I use ark to create ROMs of mobile phones (zip file)
in new version of ark this files successfully reading on desktop, but phone can't read this.
on the old versions of ark archives created with temp file wits random name, but in new version ark created temp file name.arkwritting. Maybe in correlated with this bug?
thanks

Reproducible: Always

Steps to Reproduce:
1.Select files to make zip archive
2.In the context menu of dolphin choose create ZIP
3.waiting to complete
4.Put ROM file on mobile device android
5. Flash ROM (I've test 3 different flash programs)
6. Result: Unable to open zip archive
Actual Results:  
Unable to open zip archive


with new version (2.19) of ark
Comment 1 xituh 2014-08-23 10:36:18 UTC
Also zip files, created in 2.19 can't open ark 2.18.
Comment 2 eugene 2014-08-24 11:08:23 UTC
I confirm it, Ark-created archives has wrong format probably:

$ unzip -t file.zip 
Archive:  file.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of file.zip or
        file.zip.zip, and cannot find file.zip.ZIP, period.

$ zip --help
Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
Zip 3.0 (July 5th 2008).
Comment 3 Alexei Ivanov 2014-08-24 11:44:09 UTC
I have the same problem. Zip archive created in Ark v2.19 is not recognize correctly in PeaZip(v5.4.0) or WinRAR (v4.20, via wine).
Comment 4 Jean-Francois Pirus 2014-11-02 23:24:38 UTC
Ark now creates gzip files instead of zip files when given the zip option:

WRONG On Kubuntu 14.10
$ ark -v
Qt: 4.8.6
KDE Development Platform: 4.14.1
Ark: 2.19
$ touch oink
$ ark --changetofirstpath --add --autofilename zip oink
$ file oink.zip
oink.zip: gzip compressed data, last modified: Mon Nov  3 12:19:19 2014, from Unix

RIGHT On Kubuntu 14.04
$ ark -v
Qt: 4.8.6
KDE Development Platform: 4.13.3
Ark: 2.19
$ touch oink
$ ark --changetofirstpath --add --autofilename zip oink
$ file oink.zip
oink.zip: Zip archive data, at least v2.0 to extract
Comment 5 Raphael Kubo da Costa 2014-11-03 09:27:14 UTC
(In reply to Jean-Francois Pirus from comment #4)
> Ark now creates gzip files instead of zip files when given the zip option:
> 
> WRONG On Kubuntu 14.10

This is a different problem caused by Kubuntu, not Ark. See bug 340456.
Comment 6 Ragnar Thomsen 2015-09-18 11:25:39 UTC
Can't reproduce this with Ark 15.08.1. A proper zip file is created by Ark. If this issue persists, please file a bug at the Kubuntu bugtracker.