Bug 412413 - rar and 7zip compressed comic books don't work
Summary: rar and 7zip compressed comic books don't work
Status: ASSIGNED
Alias: None
Product: okular
Classification: Applications
Component: Comicbook backend (show other bugs)
Version: 1.8.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-28 04:49 UTC by bugs60
Modified: 2021-03-09 00:14 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Error message for .cbr files (15.66 KB, image/png)
2019-09-28 04:49 UTC, bugs60
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugs60 2019-09-28 04:49:47 UTC
Created attachment 122913 [details]
Error message for .cbr files

When trying to open a rar compressed comic book file (.cbr) Okular gives the following error message:

The document cannot be opened because the program unrar or unarchiver was not found.

Similar problem when I try to open 7zip compressed comic books (.cb7)

(zip compressed comic books (.cbz) work fine)



SOFTWARE/OS VERSIONS
Windows: Windows 10 1903
Okular from Windows store
Comment 1 Nate Graham 2019-10-07 03:03:38 UTC
This was fixed for Linux with Bug 339370 but I suppose Windows will be harder.
Comment 2 Albert Astals Cid 2019-10-07 21:33:57 UTC
I don't think it's really harder, what needs is someone debugging it and having some kind of Windows experience (or wanting to spend their time there)
Comment 3 Christoph Cullmann 2019-10-09 17:23:44 UTC
I assume the issue is just that the programs are not installed (aka unrar or unarchiver). Does it work if you install these command line tools on Windows?
Comment 4 Albert Astals Cid 2020-02-27 15:14:09 UTC
Please answer Chrtisoph's question
Comment 5 Hannah von Reth 2020-02-27 15:28:01 UTC
The command line client on windows and most other systems is called 7za.
https://github.com/KDE/ark/blob/e88b46ddb92e47009227e883111c952eb8c0365d/plugins/cli7zplugin/cliplugin.cpp looks for 7z.
Comment 6 Bug Janitor Service 2020-03-13 04:33:11 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Christoph Feck 2020-03-20 17:41:05 UTC
New information was added with comment 5; changing status for inspection.
Comment 8 Tony 2021-02-27 08:28:46 UTC
On Windows 10 1809 .cb7 and .cbz files are working OK, cbr on the other hand does not.

I installed winrar and added it to "PATH" okular fails to find it, may be because is version 6?

I also tried with unrar from here : www.rarlab.com/rar_add.htm
Okular does find it but still can't open the file, may be because the switches/options are different?
Comment 9 Bug Janitor Service 2021-03-07 00:12:54 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/374
Comment 10 Albert Astals Cid 2021-03-09 00:14:35 UTC
Git commit e6f82a50cf1df3e9cc38c8198d0d3f82502024dc by Albert Astals Cid, on behalf of George Florea Bănuș.
Committed on 09/03/2021 at 00:14.
Pushed by aacid into branch 'master'.

Fix unrar detection on Windows

M  +3    -1    generators/comicbook/unrar.cpp

https://invent.kde.org/graphics/okular/commit/e6f82a50cf1df3e9cc38c8198d0d3f82502024dc