Bug 347634 - unrar finder does not recognize the correct unrar
Summary: unrar finder does not recognize the correct unrar
Status: RESOLVED DUPLICATE of bug 340323
Alias: None
Product: okular
Classification: Applications
Component: Comicbook backend (show other bugs)
Version: 0.17.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-12 19:24 UTC by Osipov Oleg
Modified: 2015-05-12 21:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Osipov Oleg 2015-05-12 19:24:17 UTC
Okular cannot open .cbr files. It complains about being not able to find the unrar while unrar is present and working. I suspect it tries to verify if unrar binary is correct unrar but fails because unrar being non-GNU software does not respond good to "--version" argument. My proposal is to remove that redundant check and live happily and forever.

Reproducible: Always

Steps to Reproduce:
1. Have rar or unrar installed
2. Open .cbr file with okular

Actual Results:  
Okular says it cannot find unrar

Expected Results:  
Read comics.

[root@battlehummer ~]# unrar | head -n2

UNRAR 5.21 freeware      Copyright (c) 1993-2015 Alexander Roshal
[root@battlehummer ~]# md5sum /usr/bin/unrar
b81142742fc5697b76bea0a7574367d1  /usr/bin/unrar
[root@battlehummer ~]# unrar --version

ERROR: Unknown option: -version[root@battlehummer ~]#
Comment 1 Albert Astals Cid 2015-05-12 21:35:53 UTC

*** This bug has been marked as a duplicate of bug 340323 ***