Bug 441608

Summary: Ark fails to unzip file with message about compression method not supported
Product: [Applications] ark Reporter: Steve Zakulec <spzakulec>
Component: pluginsAssignee: Ragnar Thomsen <rthomsen6>
Status: REPORTED ---    
Severity: normal CC: aacid, antti.savo, aoeui, elvis.angelaccio, lexlexlex, mkoza0922, myndstream, social.calamari468, teadrinkingprogrammer
Priority: NOR    
Version First Reported In: 21.08.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The zipfile Ark fails on extracting

Description Steve Zakulec 2021-08-27 14:22:41 UTC
Created attachment 141089 [details]
The zipfile Ark fails on extracting

SUMMARY
Ark can't unzip the attached zip file (ntraid01.zip)- it can be unzipped using 7zip 16.02.
The message shown is:
There was an error while extracting ‘/home/steve/games/DOS-games/ntraid01.zip’:
Failed to open 'GRAPHICS.NRD': Compression method not supported

STEPS TO REPRODUCE
1. Open folder in Dolphin containing zip file
2. Right-click on zip file (ntraid01.zip) and choose Extract here, auto-detect subfolder.


OBSERVED RESULT
Ark fails with "There was an error while extracting ‘/home/steve/games/DOS-games/ntraid01.zip’:
Failed to open 'GRAPHICS.NRD': Compression method not supported"

If you try extracting this with 7zip 16.02, it works fine.

EXPECTED RESULT
Ark extracts the zip file the same as 7zip does.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon 5.22
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION

I've included the output of 7z l -slt which seems to provide a little more insight on the compression format used:
7z l -slt ntraid01.zip 

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz (406E3),ASM,AES-NI)

Scanning the drive for archives:
1 file, 711703 bytes (696 KiB)

Listing archive: ntraid01.zip

--
Path = ntraid01.zip
Type = zip
Physical Size = 711703
Comment = 
ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
º   Software Creations BBS (ASP) - (508) 365-2359  -"The Home Of The AUTHORS" º
º      "Specializing in the Development & Distribution of Shareware"          º
º       1200/2400/9600/14.4 HST/Duals/V.32bis/V42/CompuCom/ 65 Lines          º
ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ

----------
Path = GRAPHICS.NRD
Folder = -
Size = 791301
Packed Size = 637091
Modified = 1993-03-16 19:33:38
Created = 
Accessed = 
Attributes = A
Encrypted = -
Comment = 
CRC = ECBF206F
Method = Implode
Host OS = FAT
Version = 10
Volume Index = 0

Path = PROBLEMS.TXT
Folder = -
Size = 3915
Packed Size = 1803
Modified = 1993-03-22 14:20:16
Created = 
Accessed = 
Attributes = A
Encrypted = -
Comment = 
CRC = C382BC12
Method = Implode
Host OS = FAT
Version = 10
Volume Index = 0

Path = NITERAID.DOC
Folder = -
Size = 3381
Packed Size = 1785
Modified = 1993-03-22 14:46:42
Created = 
Accessed = 
Attributes = A
Encrypted = -
Comment = 
CRC = 175F8269
Method = Implode
Host OS = FAT
Version = 10
Volume Index = 0

Path = NTR.EXE
Folder = -
Size = 59981
Packed Size = 59981
Modified = 1993-03-22 14:36:50
Created = 
Accessed = 
Attributes = A
Encrypted = -
Comment = 
CRC = 18A23183
Method = Store
Host OS = FAT
Version = 10
Volume Index = 0

Path = SYSOPS.DOC
Folder = -
Size = 2157
Packed Size = 985
Modified = 1993-03-20 15:10:06
Created = 
Accessed = 
Attributes = A
Encrypted = -
Comment = 
CRC = F186F36A
Method = Implode
Host OS = FAT
Version = 10
Volume Index = 0

Path = ORDERFRM.DOC
Folder = -
Size = 2433
Packed Size = 794
Modified = 1993-03-22 14:43:34
Created = 
Accessed = 
Attributes = A
Encrypted = -
Comment = 
CRC = F1CFE2BD
Method = Implode
Host OS = FAT
Version = 10
Volume Index = 0

Path = OMBUDSMN.ASP
Folder = -
Size = 917
Packed Size = 495
Modified = 1993-03-20 15:10:06
Created = 
Accessed = 
Attributes = A
Encrypted = -
Comment = 
CRC = D0DB8380
Method = Implode
Host OS = FAT
Version = 10
Volume Index = 0

Path = LICENSE.DOC
Folder = -
Size = 6873
Packed Size = 3088
Modified = 1993-03-22 14:44:44
Created = 
Accessed = 
Attributes = A
Encrypted = -
Comment = 
CRC = A99D4CD5
Method = Implode
Host OS = FAT
Version = 10
Volume Index = 0

Path = FILE_ID.DIZ
Folder = -
Size = 346
Packed Size = 343
Modified = 1993-06-01 15:29:04
Created = 
Accessed = 
Attributes = A
Encrypted = -
Comment = 
CRC = 44758B55
Method = Implode
Host OS = FAT
Version = 10
Volume Index = 0

Path = VENDOR.DOC
Folder = -
Size = 8009
Packed Size = 3136
Modified = 1993-06-01 15:28:14
Created = 
Accessed = 
Attributes = A
Encrypted = -
Comment = 
CRC = C4DF6D58
Method = Implode
Host OS = FAT
Version = 10
Volume Index = 0

Path = PACKING.LST
Folder = -
Size = 705
Packed Size = 467
Modified = 1993-06-01 15:33:42
Created = 
Accessed = 
Attributes = A
Encrypted = -
Comment = 
CRC = 0E127FBC
Method = Implode
Host OS = FAT
Version = 10
Volume Index = 0

Path = CONFIG.NRD
Folder = -
Size = 478
Packed Size = 136
Modified = 1993-06-01 21:28:02
Created = 
Accessed = 
Attributes = A
Encrypted = -
Comment = 
CRC = 325EEAAD
Method = Implode
Host OS = FAT
Version = 10
Volume Index = 0
Comment 1 2wxsy58236r3 2021-08-29 09:50:24 UTC
Maybe you can try disabling libzip plugin in Ark settings as a workaround.

Info-zip and p7zip support Implode, but libzip does not support Implode.

If libzip plugin is enabled in Ark then Ark will prioritize libzip.
Comment 2 Steve Zakulec 2021-08-30 03:09:41 UTC
I just tried disabling the libzip plugin, and it worked just fine then- is this a bug with libzip then?

Thanks for your help here.
Comment 3 2wxsy58236r3 2021-08-30 06:15:52 UTC
I am not Ark developer, but I wish that Ark can switch to another plugin automatically when it finds that files in the ZIP archive is using a method not supported by libzip.

You can also try asking libzip to add Implode support, but I wonder whether they will implement Implode because Implode is no longer used nowadays.
Comment 4 2wxsy58236r3 2023-11-14 13:21:20 UTC
*** Bug 476922 has been marked as a duplicate of this bug. ***
Comment 5 teadrinkingprogrammer 2023-12-12 10:39:49 UTC
As this is still an issue, what are some possible fixes? It seems to me that adding a fallback would help with the issue. The popup would also need to be more helpfull, maybe help it detect what is not supported by libzip and suggesting that you install 7zip
Comment 6 teadrinkingprogrammer 2023-12-12 10:41:41 UTC
Personally I also wouldn't mind if libzip is deprecated and 7zip is a required dependency. This would solve this issue and also solve the confusion around having to download 7zip for .7z support. This is more inpactfull though
Comment 7 2wxsy58236r3 2023-12-17 04:54:52 UTC
*** Bug 478008 has been marked as a duplicate of this bug. ***
Comment 8 Alex Folland 2024-09-04 03:56:59 UTC
I encountered this today when extracting a very popular game mod.  Of course, the workaround of disabling "libzip" worked, but anyone with a default KDE installation who tries to extract that mod will encounter this, which is a huge problem for the desktop's popularity.  It makes the Linux ecosystem look much worse than it should, since even the Windows built-in compression tool can handle that game mod.  I suggest that this be made a high-priority issue to prevent common gamers from feeling like the Linux ecosystem is not ready for daily use.
Comment 9 myndstream 2024-11-24 18:34:14 UTC
Disabling the libzip plugin in Ark did not work. Here's how I solved problem "Compression method not supported":

I could extract the file with p7zip by renaming the file from .zip to .7z and then decompressing with p7zip (p7zip -d  "./file.7z")
Comment 10 myndstream 2024-11-24 23:17:24 UTC
7z x "./file.zip" and 7za e "./file.zip" work as well. It does show
ERRORS:
Headers Error
but it did extract files. That's with 7-Zip [64] 16.02 which is the version in the Debian repos. It shouldn't have this headers error.
Comment 11 2wxsy58236r3 2025-08-14 08:12:31 UTC
*** Bug 506685 has been marked as a duplicate of this bug. ***