Bug 321951 - Ark is not able open lha archives.
Summary: Ark is not able open lha archives.
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: plugins (show other bugs)
Version: 2.19
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Ragnar Thomsen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-04 12:54 UTC by Dave High
Modified: 2021-01-11 21:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 21.04
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave High 2013-07-04 12:54:06 UTC
Ark is not able open or view lha archives.
Installed programs on my system: lha 1.14i-10.4 
On the command line i can view and extract the archives very well.
This happens on every platform on every distribution.

Reproducible: Always

Steps to Reproduce:
1. start ark.
2. Try to open an lha or arc archive file.
3. 
Actual Results:  
The loading of the archive failed with the following error message "The unpacking was terminated due to an unexpected error"

Expected Results:  
Ark extracts or lists the contents of an lha file
Comment 1 Raphael Kubo da Costa 2013-07-04 12:57:29 UTC
Can you attach or link to an archive that causes this issue?
Comment 2 Christoph Feck 2013-07-04 20:55:41 UTC
Aminet has millions of .lha archives :)

http://aminet.net/
Comment 3 Raphael Kubo da Costa 2013-07-04 22:08:40 UTC
Sigh. There are incompatible LHAs around claiming to be 1.14i and with websites all in Japanese.
Comment 4 2wxsy58236r3 2020-04-03 04:49:29 UTC
I randomly picked CoqueAndKieaguaRally.lha from Aminet and `7z x CoqueAndKieaguaRally.lha` extracted the archive successfully.

Should we add application/x-lzh-compressed to the supported MIME types of the cli7zplugin?
Comment 5 Bug Janitor Service 2021-01-02 12:09:37 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/ark/-/merge_requests/20
Comment 6 Bug Janitor Service 2021-01-02 12:44:50 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/ark/-/merge_requests/21
Comment 7 Elvis Angelaccio 2021-01-11 21:44:10 UTC
Git commit 552f72b5d25f0428228996d7eb3b67904b7c1669 by Elvis Angelaccio, on behalf of Natsumi Higa.
Committed on 11/01/2021 at 21:44.
Pushed by elvisangelaccio into branch 'master'.

cliunarchiverplugin: Add LHA support

unar supports reading LHA (also known as LZH) files.
FIXED-IN: 21.04

M  +17   -3    autotests/plugins/cliunarchiverplugin/cliunarchivertest.cpp
A  +-    --    autotests/plugins/cliunarchiverplugin/data/multiple_toplevel_entries.lha
A  +-    --    autotests/plugins/cliunarchiverplugin/data/one_toplevel_folder.lha
M  +3    -2    plugins/cliunarchiverplugin/CMakeLists.txt
M  +1    -1    plugins/cliunarchiverplugin/kerfuffle_cliunarchiver.json.cmake

https://invent.kde.org/utilities/ark/commit/552f72b5d25f0428228996d7eb3b67904b7c1669