-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ePub book fails validation for ePub version 3; causes hangs and rendering errors in e-readers #720
Comments
Could you check for me if your reader supports EPUB3? |
I'll add another compression step to the build, which might help, but will make the build less portable. If you want to test it locally, you can install Calibre and run |
It doesn't specify version, but checking specification and product release dates it seems to support version 3 of Running an optimization pass seems to have altered the
|
I've been able to replicate the hanging behavior on a much less anemic Nook Color. I have a Boox Note Air 2 Plus arriving in mid-July to test on, too. For the sake of argument, I'm trying e-readers on my desktop, and am able to replicate the hanging behavior in Foliate. Bookworm works, but huge swaths of formatting are removed. Gnome Books renders complete garbage. LRF viewer works ok, if somewhat laggy, and appears to be a part of Calibre. |
Looks like the generated Epub is chock-full of schema violations. From https://www.ebookit.com/tools/bp/Bo/eBookIt/epub-validator :
|
Tools for validation and detection include: EPUB-Checker seems to use epubcheck, but seems to be lagging in commits. |
There are three action items that I am aware of.
1 seems very easy. Just add another package to the depends and run it. 2 seems more involved, involving the same steps as one and then adding more in addition to CI configuration. 3 looks difficult as the |
Those checks are disabled in the repository:
|
Does this result in a working EPUB? Your response wasn't super clear on this.
Already happens.
See above. |
If you'd like to investigate The solution for |
Closing as a duplicate. |
Partially addressed by #829. |
Fighting with non-responsiveness issues on my nook, there might be others who have difficulty with the generated
.epub
as is. All I know at time of writing is that the SOC just can't handle it. https://ebooks.stackexchange.com/questions/482/how-can-i-optimize-an-epub-file may or may not be relevant. I do see that the file itself is (compressed?) over 5MB, which is apparently large.The text was updated successfully, but these errors were encountered: