Bug 476922

Summary: Cannot extract from zip
Product: [Applications] ark Reporter: mkoza0922
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aacid, rthomsen6
Priority: NOR    
Version First Reported In: 23.08.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
URL: https://github.com/nih-at/libzip/issues/116
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The error in question

Description mkoza0922 2023-11-13 06:27:16 UTC
Created attachment 163106 [details]
The error in question

SUMMARY
Error when trying to extract the contents of a zip file


STEPS TO REPRODUCE
1.  Download the zip file here: ( https://www.quaddicted.com/reviews/qbj_1.05.html )
2.  Open with Ark
3.  Try to extract

OBSERVED RESULT
Error popup:
"Failed to open 'qbj/copper.def':
Compression method not supported"

This error happens when trying to extract other files individually as well, not just copper.def.

EXPECTED RESULT
Extracts the contents of the zip with no issue.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.6.1-arch1-1 (64-bit)
KDE Plasma Version: 5.27.9
KDE Frameworks Version:  5.111.0
Qt Version:  5.15.11

ADDITIONAL INFORMATION
I've extracted this file on Windows in the past using 7zip, so I don't think the file itself is corrupted.
Comment 1 mkoza0922 2023-11-13 06:36:21 UTC
One more thing: I tried using the unzip command from the terminal, and that went off without a hitch. It seems to be an Ark specific problem.
Comment 2 mkoza0922 2023-11-13 20:45:50 UTC
I tested this out with xarchiver as well, and that had no problems extracting this either
Comment 3 mkoza0922 2023-11-13 21:43:52 UTC
The issue seems to be libszip: disabling the plugin in Ark fixes the issue.
Comment 4 2wxsy58236r3 2023-11-14 13:21:20 UTC
This bug and Bug 441608 are similar: Files in the ZIP archive are using a method not supported by libzip.

Bug 441608: Implode
This bug: Deflate64

libzip uses zlib and zlib does not include deflate64 support by default.

*** This bug has been marked as a duplicate of bug 441608 ***