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

2014-11-12 Thread schunk
> ¡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


-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/f7272b41ff81996951289a35b0ba3801.squir...@webmail.fh-muenster.de



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

2014-11-12 Thread schunk
Hola Maximiliano,

> El 2014-11-12 a las 11:34 +0100, sch...@fh-muenster.de escribió:
>>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.
>
> Oh, right, I forgot to skip the default filter (gzip) for the zip files.
>
> Can you test this new version? :
> http://maxy.com.ar/debian/pool/main/a/ark/ark_4.14.2-2~1.dsc
> http://maxy.com.ar/debian/pool/main/a/ark/ark_4.14.2-2~1_amd64.deb
>
> Happy hacking,
> --
> : You are in a dark room with a compiler, emacs, an internet connection,
> : and a thermos of coffee.
> : Your move ?
> Saludos /\/\ /\ >< `/

Things are working as expected for me now! Thank you very much ... and

Sunny Greetings


-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/242c73486c15ae3596043712b7b41a1c.squir...@webmail.fh-muenster.de