[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#769099: ark: crashes trying to add file to existing zip archive



> ¡Hola joachim!
>
> El 2014-11-11 a las 11:38 +0100, joachim escribió:
>>Package: ark
>>Version: 4:4.14.2-1
>>Severity: important
>>
>>Dear Maintainer,
>>
>>The simplest possible testcase is:
>>
>>- creating two textfiles
>>- making a zip-archive of one of these file
>>- using 'right-click-functionality' in dolphin "Compress as ZIP-Archive"
- opening archive with ark and trying to add other textfile using 'Add
>> File'-button
>>
>>Result is ark crashing with following message:
>>
>>"Setting the format failed with the following error: No such format"
>
> But, that's not a crash, anyway, I've just updated the patch to use
libarchive
> to handle zip files included in ark package, could you test it?
>
> The source package is:
> http://maxy.com.ar/debian/pool/main/a/ark/ark_4.14.2-2~.dsc
>
> The amd64 prebuilt binary is:
> http://maxy.com.ar/debian/pool/main/a/ark/ark_4.14.2-2~_amd64.deb
>
> Happy hacking,
> --
> "We must be very careful when we give advice to younger people:
sometimes they
> follow it!"
> -- Edsger W. Dijkstra
> Saludos /\/\ /\ >< `/



Hola Maximiliano,

writing "crash" was only a way to describe that there is a breakage. It
was not meant as 'severity description' ...

The patch works for adding files but now I get zip-archives that I cannot
open with 'unzip'-command:

$ unzip test.txt.zip
Archive:  test.txt.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 test.txt.zip or
        test.txt.zip.zip, and cannot find test.txt.zip.ZIP, period.

Many thanks anyway and sunny greetings,

Joachim


Reply to: