Bug 265254 - Okular's epub backend renders a single white page instead of the actual document.
Summary: Okular's epub backend renders a single white page instead of the actual docum...
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: EPub backend (show other bugs)
Version: 0.11.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-03 06:27 UTC by Fran Rodriguez
Modified: 2011-02-03 16:43 UTC (History)
1 user (show)

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


Attachments
Sample ebook (278.25 KB, application/epub+zip)
2011-02-03 10:03 UTC, Fran Rodriguez
Details
Cmd prompt log (6.78 KB, text/plain)
2011-02-03 14:06 UTC, Fran Rodriguez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fran Rodriguez 2011-02-03 06:27:47 UTC
Version:           0.11.2 (using KDE 4.5.4) 
OS:                MS Windows

Tried opening several epub books from different sources, and Okular always opens them as a single white page.

When I launch Okular from Windows' command prompt, okular's log files always return the following error: "faulty toc file ncx"

Reproducible: Always




I'm using Windows XP SP3. Okular was installed using the latest KDE-on-Windows installer (0.9.8-1)
Comment 1 Pino Toscano 2011-02-03 09:25:00 UTC
Can you please provide a sample ocument showing the issue?
Which is the version of your epub library?
Comment 2 Fran Rodriguez 2011-02-03 10:03:17 UTC
Created attachment 56818 [details]
Sample ebook
Comment 3 Fran Rodriguez 2011-02-03 10:07:18 UTC
The ebook-tools library is at version 0.2.1. Okular's epub backend is at version 0.1. I attached one of the ebooks I used during testing (Huck Finn from Project Gutenberg, confirmed to work with FBReader) to the following message - hope it helps.
Comment 4 Pino Toscano 2011-02-03 13:54:43 UTC
Hm, it works here (Linux) with ebook-tools 0.2.1 and:
- okular 0.10.5 (kde 4.4.5)
- current okular trunk (future kde 4.7)

My guess is that it could be something Windows-specific; could you attach the whole debug output you get in a terminal?
Comment 5 Fran Rodriguez 2011-02-03 14:06:51 UTC
Created attachment 56823 [details]
Cmd prompt log
Comment 6 Patrick Spendrin 2011-02-03 14:10:31 UTC
Hm, confirmed this bug.
The question is: how do you know the ebook-tools version (not that it matters a
lot)?
I will try to investigate & I am pretty sure this is a bug in the ebook-tools
library on Windows.
Comment 7 Fran Rodriguez 2011-02-03 14:36:46 UTC
I found out the ebook-tools version using the "Package Maintainer" mode in the KDE installer. It has fairly detailed info on version numbers and stuff.
Comment 8 Pino Toscano 2011-02-03 15:08:11 UTC
This was a bug in the ebook-tools library.
It has been fixed in r141, which means in ebook-tools >= 0.2.2.

Thanks for the report.
Comment 9 Patrick Spendrin 2011-02-03 16:43:49 UTC
SVN commit 1218654 by sengels:

fix libepub on Windows and trigger rebuild
updates for ebook-tools will be available in some hours
CCBUG: 265254


 M  +12 -0     ebook-tools-0.2.1.diff  
 D             ebook-tools-src-20091218.py  
 A             ebook-tools-src-20110203.py   ebook-tools-src-20091218.py#1218060


WebSVN link: http://websvn.kde.org/?view=rev&revision=1218654