FarGroup / FarManager

File and Archive Manager
https://farmanager.com
BSD 3-Clause "New" or "Revised" License
1.74k stars 194 forks source link

Error when compressing with zip (arclite) #842

Open Virgondio opened 1 month ago

Virgondio commented 1 month ago

Far Manager version

3.0.6333.0

OS version

10.0.19045.4355

Other software

ZIP

Steps to reproduce

trying to compress to zip

Expected behavior

compress to zip

Actual behavior

Hello, the version "v3.0 build 6300 x64" when trying to compress to zip shows the error "ArcLite Not implemented (0x80004001) update.cpp:1141 " With 7zip it works.

Greetings!

alabuzhev commented 1 month ago

Make sure a supported compression method is selected in the dialog (e.g. "Deflate").

Virgondio commented 1 month ago

Hello, I tried changing the LZMA2 method to LZMA and it worked. In build 6226 x64 and earlier, this change was not necessary for it to work. Greetings!

yegor-mialyk commented 1 month ago

6226 did not allow you to select a custom compression method for the zip format, but the current version does. Whether a certain compression can be applied for zip depends on a codec. In your case LZMA2 is not supported for zip, while LZMA is.

But be careful here, as a zip file with LZMA compression (or any compressions besides deflate) may not be unpacked by some other zip archivers (e.g. Windows Explorer)