[Okular-devel] [okular] [Bug 340323] New: Okular unable to open .cbr files due to inabillity to find unrar due to unrar having removed the --version flag in unrar 5.2.1
Jörg Schuck
joerg_schuck at web.de
Fri Oct 24 23:53:22 UTC 2014
https://bugs.kde.org/show_bug.cgi?id=340323
Bug ID: 340323
Summary: Okular unable to open .cbr files due to inabillity to
find unrar due to unrar having removed the --version
flag in unrar 5.2.1
Product: okular
Version: 0.20.2
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Comicbook backend
Assignee: okular-devel at kde.org
Reporter: joerg_schuck at web.de
I tried to open a .cbr file today. Okular could not display it, claiming that
it can't find unrar. Since i had similar problems last year i checked the
package installation history and, yes i got an unrar update from 1:5.1.7-1 to
version 1:5.2.1-1
To be sure i checked the okular source code to see how the detection worked and
tried that manually. Results of that further below.
Reproducible: Always
Steps to Reproduce:
1. Install unrar verstion 1:5.2.1-1
2. Open .cbr file
3.Error
Actual Results:
Empty file with error message displayed. Red error box in main okular window
claims it couldn't find unrar.
Expected Results:
Display of the comic book contents.
Since okular basically calls unrar --version to determine which unrar flavor is
installed i tried
$ unrar --version
Which gave me this:
ERROR: Unknown option: -version
I noticed that it gave me only one - back so i tried:
$ unrar -v
Which gave me:
UNRAR 5.20 beta 1 freeware Copyright (c) 1993-2014 Alexander Roshal
Downgrading unrar to 1:5.1.7-1 i tried it again, just to confirm:
$ unrar --version
The Result was:
UNRAR 5.11 beta 1 freeware Copyright (c) 1993-2014 Alexander Roshal
So yeah, this unrar flavor only supports the short -v flag not the long
--version flag in version 1:5.2.1-1.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list