linuxmint / nemo-extensions

A set of extensions for Nemo
416 stars 150 forks source link

Nemo can’t open these old ZIP files #538

Closed InfoLibre closed 1 month ago

InfoLibre commented 3 months ago

Distribution

Linux Mint Cinnamon 22

Package version

6.2.6

Frequency

Always

Bug description

When I want to extract files from these ZIP archives with Nemo, I've got this error message:

image

See https://gitlab.gnome.org/GNOME/file-roller/-/issues/260

Steps to reproduce

Click on one of theses files:

AGATE.ZIP BORIS.ZIP CARIB24.ZIP PSWRD.ZIP TAPMKR20.ZIP

Expected behavior

The archive should be opened.

Additional information

No response

Jeremy7701 commented 3 months ago

In LMDE6, Downloading AGATE.ZIP, then running unzip AGATE.ZIP gives a bunch of files in a directory called ZIPDUMP They look like .pfa and .pfb font files with a creation date of 1991.

If you just want a more GUI access to these ancient files, you could install ark to view/access them in the .zip file.

InfoLibre commented 3 months ago

I'd like Nemo being able to do that too, without using a command but with File Roller.

Radek-Ken commented 3 months ago

I recommend using Ark.

InfoLibre commented 3 months ago

Yes, but I want to use Nemo, not Ark, not unzip.

mtwebster commented 3 months ago

Looks like 7z can't open these. If you remove 7z file-roller can then open them. I'm not sure yet what it uses instead, maybe just zip/unzip

InfoLibre commented 3 months ago

Midnight Commander is using unar to open .PAK files. Indeed, after uninstalling 7zip and p7zip, it works with Nemo. Is it because there's a bad link in file-roller? .PAK isn't in the list of files that p7zip can open: https://www.7-zip.fr

Haky86 commented 1 month ago

Extracting with ARK seems working, but the issue still persist with the latest release!

leigh123linux commented 1 month ago

The issue doesn't reproduce on fedora.

[leigh@mpd-pc ~]$ rpm -qa *roller
file-roller-44.3-2.fc41.x86_64
nemo-fileroller-6.2.0-2.fc41.x86_64
[leigh@mpd-pc ~]$
leigh123linux commented 1 month ago

@InfoLibre It's p7zip and 7zip that are broken not nemo.

$ /usr/bin/7za x '/home/leigh/Downloads/BORIS.ZIP' 

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs AMD Ryzen 3 4300U with Radeon Graphics          (860F01),ASM,AES-NI)

Scanning the drive for archives:
1 file, 83948 bytes (82 KiB)    

Extracting archive: /home/leigh/Downloads/BORIS.ZIP

ERRORS:
Headers Error

--
Path = /home/leigh/Downloads/BORIS.ZIP
Type = zip
ERRORS:
Headers Error
Physical Size = 83948

Archives with Errors: 1

Open Errors: 1
InfoLibre commented 1 month ago

Thank you all. I made a report on 7z bugtracker.

InfoLibre commented 1 month ago

https://sourceforge.net/p/sevenzip/bugs/2517/