Bug 412581 - Okular fails to open an unencrypted ePub
Summary: Okular fails to open an unencrypted ePub
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: EPub backend (show other bugs)
Version: 1.6.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-03 21:06 UTC by Syfer Polski
Modified: 2019-11-04 16:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Terminal output of opening attempt (21.19 KB, text/plain)
2019-10-03 21:10 UTC, Syfer Polski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Syfer Polski 2019-10-03 21:06:55 UTC
SUMMARY
I recently came across the Baen Free library. They offer ebooks to read in many formats. Usually, my preferred format is epub, so I downloaded one. I tried to open it in Okular to verify if it's DRM free, but it failed to open. However, because from opening fine in FBReader, I can tell it's DRM free and thus should work.

STEPS TO REPRODUCE
1. Download http://baencd.freedoors.org/Books/Echoes%20of%20Honor/Echoes_of_Honor.epub
2. Open it in Okular, with okular-extra-backends installed

OBSERVED RESULT
Error: Could not open file

EXPECTED RESULT
Ebook opened

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: Kubuntu 19.04
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Package: okular-extra-backends
Version: 4:18.12.3-0ubuntu1
Comment 1 Syfer Polski 2019-10-03 21:10:37 UTC
Created attachment 123000 [details]
Terminal output of opening attempt
Comment 2 Albert Astals Cid 2019-10-03 23:05:32 UTC
Works just fine for me.

If your distribution is not too old can you try installing Okular from flathub https://flathub.org/apps/details/org.kde.okular and see if that version works for you?
Comment 3 Bug Janitor Service 2019-10-18 04:33:09 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 4 Syfer Polski 2019-10-21 08:23:08 UTC
(In reply to Albert Astals Cid from comment #2)
> Works just fine for me.
> 
> If your distribution is not too old can you try installing Okular from
> flathub https://flathub.org/apps/details/org.kde.okular and see if that
> version works for you?

That's odd. I'm assuming you tried the linked ePub and not just any ePub? Cause all other ePubs I've tried work just fine.

I'll update from Disco Dingo to Eoan Eremine in a few days and see if that fixes it, as it should update KDE applications from 18.10 to 19.04.

PS. Sorry for the slow answer, the notification ended up in spam... I've altered my filters so it doesn't happen again.
Comment 5 Yuri Chornoivan 2019-10-21 08:29:39 UTC
(In reply to Syfer Polski from comment #4)
> (In reply to Albert Astals Cid from comment #2)
> > Works just fine for me.
> > 
> > If your distribution is not too old can you try installing Okular from
> > flathub https://flathub.org/apps/details/org.kde.okular and see if that
> > version works for you?
> 
> That's odd. I'm assuming you tried the linked ePub and not just any ePub?
> Cause all other ePubs I've tried work just fine.

I can confirm that the linked epub can be opened in recent versions of Okular (at least 1.8). The bug you have encountered must be fixed several months ago.
Comment 6 Syfer Polski 2019-11-04 16:00:09 UTC
Kubuntu 19.10 Eoan Eremine has Okular 1.7.3 and it opens the problematic file just fine. Thanks for the help!