[okular] [Bug 420775] New: Bad error message when opening .epub files without .epub support

Volker Weißmann bugzilla_noreply at kde.org
Wed Apr 29 23:50:58 BST 2020


https://bugs.kde.org/show_bug.cgi?id=420775

            Bug ID: 420775
           Summary: Bad error message when opening .epub files without
                    .epub support
           Product: okular
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: EPub backend
          Assignee: okular-devel at kde.org
          Reporter: volker.weissmann at gmx.de
  Target Milestone: ---

The Archpackage of okular has ebook-tools as an optional dependency.
If you don't install ebook-tools and open a .epub file, okular displays "Could
not open file:///path/to/file.epub" and the following message gets printed to
stderrr.

org.kde.okular.core: Invalid plugin factory for
"/usr/lib/qt/plugins/okular/generators/okularGenerator_epub.so":"Cannot load
library /usr/lib/qt/plugins/okular/generators/okularGenerator_epub.so:
(libepub.so.0: cannot open shared object file: No such file or directory)"

It would be way nicer, if okular would instead display e.g. "Could not open
file:///path/to/file.epub, because the ebook-tools package is missing."

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list