Results 1 to 10 of 10

Thread: The "ark" don't extract zip files

  1. #1
    Join Date
    Aug 2013
    Location
    Jundiai, São Paulo, Brazil
    Posts
    590

    Default The "ark" don't extract zip files

    Maybe this is of interest to the people who make the "ark" extractor.

    The Brazilian government is providing the 2018 Income Tax programs in zipped folders. Here is the link to download some of the files:
    Code:
    https://downloadirpf.receita.fazenda.gov.br/irpf/2018/carne-leao/LEAO2018v1.0.zip
    When I extract a zip folder using the "extract archive here" option or whatever, the files appear with their correct names, but completely empty.

    If I open the zip folder directly with "ark", it will open a screen where files appear that look full, but if I copy them to another folder the files are empty.

    If I do the extraction on an old machine with OpenSuse 13.2 the extraction is done successfully

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,775

    Default Re: The "ark" don't extract zip files

    To me this looks that you have proven this to be a bug (because it works on 13.2).

    The best is to file a bug report on https://bugzilla.opensuse.org/index.cgi (same username and password as here).

    And please post the link to the report here so interested people can see what happens and add information to it.
    Henk van Velden

  3. #3

    Default Re: The "ark" don't extract zip files

    Disable the p7zip plugin in Ark's settings or uninstall p7zip and it should work.

    It seems to be a problem in p7zip:
    Code:
    $ 7z x  LEAO2018v1.0.zip        
    
    7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
    p7zip Version 9.20 (locale=de_AT.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)
    
    Processing archive: LEAO2018v1.0.zip
    
    Extracting  LEAO2018/RFB.ico     Unsupported Method
    Extracting  LEAO2018/offline.png     Unsupported Method
    Extracting  LEAO2018/online.png     Unsupported Method
    Extracting  LEAO2018/lib/batik-awt-util.jar     Unsupported Method
    Extracting  LEAO2018/lib/batik-dom.jar     Unsupported Method
    Extracting  LEAO2018/lib/batik-svg-dom.jar     Unsupported Method
    Extracting  LEAO2018/lib/batik-svggen.jar     Unsupported Method
    Extracting  LEAO2018/lib/batik-util.jar     Unsupported Method
    Extracting  LEAO2018/lib/batik-xml.jar     Unsupported Method
    Extracting  LEAO2018/lib/commons-beanutils-1.7.jar     Unsupported Method
    Extracting  LEAO2018/lib/commons-collections-3.2.1.jar     Unsupported Method
    Extracting  LEAO2018/lib/commons-digester-1.8.jar     Unsupported Method
    Extracting  LEAO2018/lib/commons-logging-1.0.2.jar     Unsupported Method
    Extracting  LEAO2018/lib/forms-1.0.3.jar     Unsupported Method
    Extracting  LEAO2018/lib/foxtrot-core-4.0.jar     Unsupported Method
    Extracting  LEAO2018/lib/freesans.jar     Unsupported Method
    Extracting  LEAO2018/lib/icepdf-core.jar     Unsupported Method
    Extracting  LEAO2018/lib/icepdf-viewer.jar     Unsupported Method
    Extracting  LEAO2018/lib/iText-2.1.0.jar     Unsupported Method
    Extracting  LEAO2018/lib/jasperreports-3.7.2.jar     Unsupported Method
    Extracting  LEAO2018/lib/jdt-compiler-3.1.1.jar     Unsupported Method
    Extracting  LEAO2018/lib/jhall.jar     Unsupported Method
    Extracting  LEAO2018/lib/looks-1.3.1.jar     Unsupported Method
    Extracting  LEAO2018/lib/ppgd-formatosext-4.3.0.jar     Unsupported Method
    Extracting  LEAO2018/lib/ppgd-gui-beans-4.3.0.jar     Unsupported Method
    Extracting  LEAO2018/lib/ppgd-icones-4.0.jar     Unsupported Method
    Extracting  LEAO2018/lib/ppgd-infraestrutura-4.3.0.jar     Unsupported Method
    Extracting  LEAO2018/lib/ppgd-negocio-4.3.0.jar     Unsupported Method
    Extracting  LEAO2018/lib/ppgd-persistencia-4.3.0.jar     Unsupported Method
    Extracting  LEAO2018/lib/ppgd-pgd-utils-4.3.0.jar     Unsupported Method
    Extracting  LEAO2018/lib/serpro.jar     Unsupported Method
    Extracting  LEAO2018/lib/swing-layout-1.0.4.jar     Unsupported Method
    Extracting  LEAO2018/lib/swingx-1.6.jar     Unsupported Method
    Extracting  LEAO2018/lib/tinylaf.jar     Unsupported Method
    Extracting  LEAO2018/lib/xalan.jar     Unsupported Method
    Extracting  LEAO2018/PgdCarneLeao.jar     Unsupported Method
    Extracting  LEAO2018/Leia_me.htm     Unsupported Method
    Extracting  LEAO2018/help/AjudaCLEAO.pdf     Unsupported Method
    Extracting  LEAO2018/help/.~lock.AjudaCLEAO.odt#     Unsupported Method
    Extracting  LEAO2018/LEAO2018.exe     Unsupported Method
    Extracting  LEAO2018/exec.bat     Unsupported Method
    Extracting  LEAO2018/exec.sh     Unsupported Method
    
    Sub items Errors: 42
    Last edited by wolfi323; 03-Mar-2018 at 05:46.

  4. #4
    Join Date
    Aug 2013
    Location
    Jundiai, São Paulo, Brazil
    Posts
    590

    Default Re: The "ark" don't extract zip files

    Quote Originally Posted by wolfi323 View Post
    Disable the p7zip plugin in Ark's settings or uninstall p7zip and it should work.

    It seems to be a problem in p7zip:
    You're right.
    I removed the p7zip and now the "ark" works fine.
    Thank you very much.

  5. #5

    Default Re: The "ark" don't extract zip files

    FWIW, I tried a few ZIP archives I found on my hard disk, and everything worked fine without disabling p7zip.

    So it's not broken in general at least...

  6. #6
    Join Date
    Aug 2013
    Location
    Jundiai, São Paulo, Brazil
    Posts
    590

    Default Re: The "ark" don't extract zip files

    Quote Originally Posted by wolfi323 View Post
    FWIW, I tried a few ZIP archives I found on my hard disk, and everything worked fine without disabling p7zip.

    So it's not broken in general at least...
    I also have other zip files that came from other sources and the extraction worked very well.
    The one that does not work is the zip file that the Brazilian government is currently providing
    However, I can open this file with OpenSuse 13.2
    But it was not possible to open with 42.3 with p7zip installed

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,775

    Default Re: The "ark" don't extract zip files

    So, is this a solution or a bypass?

    In the latter case, a bug report seems still be be something that should be made if we ever want the root cause solved.
    Henk van Velden

  8. #8

    Default Re: The "ark" don't extract zip files

    Quote Originally Posted by sergelli View Post
    However, I can open this file with OpenSuse 13.2
    Yes, because the old Ark in 13.2 didn't support p7zip at all.

    Btw, apparently the main problem is that the p7zip (version 9.20) in Leap 42.3 is just too old.
    I tried with the latest 16.02 now (that will be in Leap 15.0), and I was able to successfully open the mentioned file.

    Although, something seems to be not completely right with the file itself either, Ark warned about a corrupt archive (it allowed to open it anyway though), and 7z (16.02) prints this:
    Code:
    $ 7z x LEAO2018v1.0.zip
    7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
    p7zip Version 16.02 (locale=de_AT.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Pentium(R) 4 CPU 2.80GHz (F49),ASM)
    
    Scanning the drive for archives:
    1 file, 16366985 bytes (16 MiB)
    
    Extracting archive: LEAO2018v1.0.zip
    
    ERRORS:
    Headers Error
    
    --
    Path = LEAO2018v1.0.zip
    Type = zip
    ERRORS:
    Headers Error
    Physical Size = 16366985
    
    
    
    Archives with Errors: 1
    
    Open Errors: 1
    Sounds like https://bugs.kde.org/show_bug.cgi?id=388423, which is considered to be an "upstream issue":
    It's pretty clear that a main issue is clearly with 7z library or a wrong usage of it by Confluence.
    Nothing can be (or should be) done from Ark side.
    But, as mentioned, it does successfully open/extract it anyway, despite the "error".
    Last edited by wolfi323; 03-Mar-2018 at 06:39.

  9. #9

    Default Re: The "ark" don't extract zip files

    Quote Originally Posted by hcvv View Post
    So, is this a solution or a bypass?
    Well, it doesn't bother me...

    Strictly speaking it is a workaround I'd say, but should be fine unless one would want to open a 7z archive... (which Ark in openSUSE 13.2 didn't support at all anyway)

    In the latter case, a bug report seems still be be something that should be made if we ever want the root cause solved.
    But if the root cause is that the zip file is "broken", an openSUSE bug report won't help either...

    It is "fixed" somehow in TW (and Leap 15.0) though, because the newer p7zip does open the file.
    I have no idea whether it would be considered to update p7zip in Leap 42.3, that would be up to its maintainers and the maintenance team.
    Normally upgrades to newer versions are not done in released versions. (with certain exceptions if there are good reasons to do it, not sure if that would qualify)

  10. #10

    Default Re: The "ark" don't extract zip files

    PS, forgot to mention; you can get the latest p7zip for Leap 42.3 as well in the "Archiving" repo:
    https://software.opensuse.org//downl...&package=p7zip

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •