![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2020
Device: none
|
Converting to EPUB results in files that Calibre can't read
When I convert AZW files to EPUB, Calibre throws an error when I try to open them:
------------------------------------------------------------------- Spoiler:
------------------------------------------------------------------- I also can't open those EPUB files in Microsoft Edge either - *however*, I can open them just fine on Android. So what is Calibre doing that's not standard, and how can I make these EPUB files universally openable? Last edited by theducks; 01-20-2020 at 10:26 AM. Reason: addes SPOILER tags |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
you are blaming Calibre for choking on a a file with a defect
( XMLSyntaxError: Char 0x0 out of allowed range, line 21, column 50 (line 21) ) << FWIW that is a NUL, and has no useful purpose in any ebook It is a fairly well known fact that many render engines tolerate some defects (because they are so stupidly common ![]() ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2020
Device: none
|
Okay, so that being the case, how do I validate a file to EPUB standards?
I don't see an obvious method of doing that in Calibre. |
![]() |
![]() |
![]() |
#4 |
Interested in the matter
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 421
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
|
1- Install the Run EpubCheck plugin.
2- Open the epub in the editor. 3- Run the plugin. |
![]() |
![]() |
![]() |
#5 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
If the viewer won't read the EPUB it's possible the editor won't either
In that case the OP can use the stand alone version of EPUBCHECK ==>> Releases · w3c/epubcheck It needs Java (as do the calibre and sigil plugins). BR |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,752
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That looks like some metadata from the mobi file has null bytes in it. calibre tries to sanitize all such but I might have missed something. Open a bug report and attach the aw3 file.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help! Converting from epub to mobi results in loss of *all* images and font data | Spankeh | Conversion | 12 | 10-17-2019 07:45 PM |
help in converting epub to mobi in calibre to read in kindle paperwhite | prashantsingh | Conversion | 6 | 04-14-2018 10:09 PM |
No Privacy Policy? Can I use Calibre to read epub files? | kkklll | Introduce Yourself | 1 | 09-17-2017 04:13 AM |
Converting epub to epub results in 2 pages in book | deback | Conversion | 13 | 01-31-2016 03:06 PM |
Windows Explorer v Calibre - same files, different results | Sondar | Library Management | 15 | 06-11-2011 07:24 AM |