|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2025
Device: onyx boox note air3
|
EPUB file fails to open in KOReader on Onyx Boox Note Air 3 (opens fine in NeoReader)
Device
Onyx Boox Note Air 3 Firmware Latest official firmware version installed Issue Some EPUB files cannot be opened in KOReader. • Example: a specific EPUB book (attached) • The same file opens perfectly with the default Onyx built-in reader (NeoReader) without any issues. • In KOReader, it fails to open (no text is displayed / error message shown). Steps to Reproduce 1. Open KOReader on Onyx Boox Note Air 3 2. Try to open the attached EPUB file 3. Observe that the book does not open properly Expected Behavior The EPUB file should open normally in KOReader, just like in the default Onyx NeoReader. Actual Behavior KOReader cannot open the EPUB file. Attachment EPUB file is attached for testing. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,746
Karma: 24032915
Join Date: Dec 2010
Device: Kindle PW2
|
The Epub is invalid, because the OPF file contains multiple duplicate ids.
The OPF file also has a size of 40 MB(!) and contains 650K(!) lines. I'm really surprised that you ware able to open it with Onyx NeoReader. |
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2025
Device: onyx boox note air3
|
What is the solution to open it in KOReader?
There are many books like this that KOReader cannot open, while NeoReader can open them. However, we don’t like using NeoReader because it does not properly support highlighting and text selection in RTL (right-to-left) languages if the highlight spans more than two lines (for example, Arabic is written from right to left). Can you fix this issue and make KOReader able to open such files in the next update? |
![]() |
![]() |
![]() |
#4 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 47,260
Karma: 171291590
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
That content.opf file is so far from compliant, you'd need a space telescope to set any hint of compliance. 2045 occurences of 'id="page_1"' for instance. Multiple pages of references to id for pages that do not exist. Multiple items in the main.css file with non-existent selectors such as sanad, mateen and sheer. Perhaps .sanad, .mateen and .sheer for those colour settings?
It's a bloody miracle that anything could open this abomination. The first time I've had an epub break epubcheck. As for opening this in KOReader? The fastest answer is to use ePub ebooks that are valid ePub ebooks. Perhaps try an epub to epub conversion in calibre to see if calibre is able to fix enough to make this *&$*!@)# work with KOReader. Edit: I've attached a calibre epub-epub conversion output to this message. The file size shrank drastically however the filename is now an ASCII transliteration of the original Arabic name. Last edited by DNSB; 09-06-2025 at 12:34 PM. Reason: Attached calibre epub-epub conversion output |
![]() |
![]() |
![]() |
#5 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,769
Karma: 731681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
The document in the OP actually does open in KOReader. It just takes a crazy amount of time and depending on the device in question far too much memory (a little over a gigabyte).
Code:
09/06/25-20:18:54 DEBUG CreDocument: rendering document... […] 09/06/25-20:24:43 DEBUG CreDocument: rendering done. Edit: forgot to say, but that EPUB to EPUB conversion opens in 306 milliseconds. (I'd estimate about 2-4 seconds on a device.) Edit 2: quoting from https://github.com/koreader/koreader...ent-3263195394 Quote:
Last edited by Frenzie; 09-06-2025 at 05:57 PM. |
|
![]() |
![]() |
![]() |
#6 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 47,260
Karma: 171291590
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
For what it may be worth, I was watching a football game and spent the commercial breaks and half time running the original epub through Sigil and doing manual cleanup. Size is pretty much the same as the calibre epub=>epub conversion. During this, I found the footnotes links are broken.
I tried the original ePub on my Kobo Sage and it crashed with what I think is an out of memory error. Ditto for Nickel and KOReader on my Libra Colour. Either of my two modified versions will open in any of the renders I tested without taking excess memory or time. For what it may be worth, the original opened in calibre's ebook-viewer on my i9 PC in ~1.25 minutes. The memory use peaked at 984MB. |
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,769
Karma: 731681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
13.3 seconds on my desktop AMD Ryzen 7 7800X3D in KOReader fwiw. A pleasing difference. But as previously stated, my old laptop is already much, much faster than a Kobo Libra something or other. To make up for it the battery lasts only 4-8 hours instead of weeks.
![]() Code:
09/07/25-21:22:18 DEBUG CreDocument: loading document... […] 09/07/25-21:22:31 DEBUG CreDocument: loading done. 09/07/25-21:22:31 DEBUG loading took 13.305 seconds Last edited by Frenzie; 09-07-2025 at 03:38 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Onyx Boox Note Air 4C Metadata | alexstacey | Calibre | 2 | 08-06-2025 11:40 AM |
Ended [EU] Onyx Boox Note air 2 | eReader fan | Flea Market | 1 | 01-20-2024 03:22 PM |
Sell ONYX BOOX Stylus Pen 2 PRO & ONYX BOOX Note Air Protective Sleeve | readandread | Flea Market | 0 | 03-08-2022 03:09 PM |
TWRP*on Onyx Boox Note Air ? | Émile | Onyx Boox | 0 | 09-29-2021 02:58 PM |
Onyx Boox Note Air+ | ayme08 | Onyx Boox | 25 | 07-19-2021 05:41 AM |