Bug 347634

Summary: unrar finder does not recognize the correct unrar
Product: [Applications] okular Reporter: Osipov Oleg <legolegs>
Component: Comicbook backendAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aacid
Priority: NOR    
Version: 0.17.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

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 ***