Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 12-12-2021, 11:02 PM   #1
sam222
Junior Member
sam222 began at the beginning.
 
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.
sam222 is offline   Reply With Quote
Old 12-13-2021, 02:55 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Advert
Old 12-13-2021, 09:10 PM   #3
sam222
Junior Member
sam222 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2021
Device: none
Alright, I did as you said.

https://bugs.launchpad.net/calibre/+bug/1954726
sam222 is offline   Reply With Quote
Old 12-13-2021, 10:03 PM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
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?
DNSB is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 04:53 AM.


MobileRead.com is a privately owned, operated and funded community.