![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2021
Device: none
|
Epub Failure
Hey,
I was adding comments to and Epub file of mine. The reader closed, and when I try to open up the file I got the following errors: calibre, version 5.29.0 ERROR: Unhandled error: Unknown error Traceback (most recent call last): at Number.onload (userscript:viewer.js:17521:21) at IframeBoss.content_loaded (userscript:viewer.js:27028:22) at IframeBoss.apply_highlights_on_load (userscript:viewer.js:27863:29) at wrap_text_in_range (userscript:viewer.js:18640:36) at Array.map (<anonymous>) at wrap_node (userscript:viewer.js:18600:17) at wrap_range (userscript:viewer.js:18565:23) Error: Failed to execute 'insertNode' on 'Range': This operation would split a text node, but there's no parent into which to insert. I tried looking for the tracebacks in the epub editor, but I can't find anything that looks similar. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,525
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Try updating calibre first and if you still get the error, the open a bug report and attach the offending epub.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2021
Device: none
|
|
![]() |
![]() |
![]() |
#4 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 47,508
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I went through the epub and found that it had multiple errors according to Epubcheck. Some weird things such as fonts listed in the .opf using octet-stream instead of xfont-ttf, several jpg files listed in the guide section of the .opf (the guide section entries must point at a html/xhtml file), etc.
I used Sigil to do the checking and editing and after finishing the epub opened in calibre's editor and viewer. One question is about editing a file that appears to have been deDRMed and is copyright 2008 by John J. Medina. Unless @sam222 is John Medina or has his permission to edit this file, things are very iffy with making it publicly accessible. Is it possible to move that attachment to private status? |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
mobi to epub failure | catsknit | Conversion | 9 | 05-16-2017 08:07 AM |
azw to epub conversion failure | imageraw | Conversion | 5 | 09-01-2013 02:15 AM |
MOBI to EPUB Conversion Failure | ralphjab | Conversion | 14 | 06-08-2013 07:39 PM |
Conversion Failure: Epub to MOBI | Paulie_D | Conversion | 5 | 10-10-2011 05:11 PM |
Failure to convert from mobi to epub | jlmwrite | Calibre | 9 | 01-06-2011 11:12 PM |