aonez / aonez/Keka

[REQ] Unable to extract zip file with zstd compression

Open
#1,304 3 comments 1 reaction 1 assignee Claimed by @aonez View on GitHub
enhancement p7zip zip zstd
Dominant language
PHP
Stars
7.3k
Forks
294
Avg merge
14d 16h
Merged PRs (30d)
1

Description

### Configuration
- Keka version: 1.3.2
- macOS version: 11.7.2

### Describe the bug
Files with compression zstd (method 93) are not extractable with Keka. I was able to extract them with [p7zip](https://formulae.brew.sh/formula/p7zip). The files are created in rust with the [zip library](https://github.com/zip-rs/zip).
Looking at the logs it's most likely just that it requires an update to the 7zip to support the method.

### To Reproduce
[sample.zip](https://github.com/aonez/Keka/files/12280523/sample.zip)

### Logs
```
OS: Version 11.7.2 (Build 20G1020) (x86_64)
Keka: v1.3.2-r5208 (WEB) (Sandboxed) (en)
Format detected: ZIP
Binary used: kekaunar
Arguments: (
"-q",
"-r",
"-D",
"-K",
"-nq",
"-o",
"/Users/Sytten/Projects/Personnal/zip/sample.kextraction/Operation",
"/Users/Sytten/Projects/Personnal/zip/sample.zip"
)
Extraction to directory "/Users/Sytten/Projects/Personnal/zip/sample.kextraction/Operation" failed (1 file failed.)

OS: Version 11.7.2 (Build 20G1020) (x86_64)
Keka: v1.3.2-r5208 (WEB) (Sandboxed) (en)
Format detected: ZIP
Binary used: keka7zz
Arguments: (
x,
"/Users/Sytten/Projects/Personnal/zip/sample.zip",
"-snld",
"-aou",
"-xr!__MACOSX",
"-bsp1"
)

7-Zip (z) 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15 : Modified by aone for Keka
64-bit locale=en_US.UTF-8 Threads:8

Scanning the drive for archives:
0M Scan /Users/Sytten/Projects/Personnal/zip/

1 file, 1592 bytes (2 KiB)

Extracting archive: /Users/Sytten/Projects/Personnal/zip/sample.zip

--
Path = /Users/Sytten/Projects/Personnal/zip/sample.zip
Type = zip
Physical Size = 1592

0%
ERROR: Unsupported Method : test/lorem_ipsum.txt

Sub items Errors: 1

Archives with Errors: 1

Sub items Errors: 1

Error code 2
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.