Bug 441608 - Ark fails to unzip file with message about compression method not supported
Summary: Ark fails to unzip file with message about compression method not supported
Status: REPORTED
Alias: None
Product: ark
Classification: Applications
Component: plugins (show other bugs)
Version: 21.08.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Ragnar Thomsen
URL:
Keywords:
: 476922 478008 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-08-27 14:22 UTC by Steve Zakulec
Modified: 2023-12-17 04:54 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The zipfile Ark fails on extracting (695.02 KB, application/zip)
2021-08-27 14:22 UTC, Steve Zakulec
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***