epub file no longer opens

Bug #1954726 reported by sam wilson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

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.33.2
ERROR: Unhandled error: Unknown error

Traceback (most recent call last):
    at Number.onload (userscript:viewer.js:17545:21)
    at IframeBoss.content_loaded (userscript:viewer.js:27059:22)
    at IframeBoss.apply_highlights_on_load (userscript:viewer.js:27894:29)
    at wrap_text_in_range (userscript:viewer.js:18664:36)
    at Array.map (<anonymous>)
    at wrap_node (userscript:viewer.js:18624:17)
    at wrap_range (userscript:viewer.js:18589:23)
Error: Failed to execute 'insertNode' on 'Range': This operation would split a text node, but there's no parent into which to insert.

Revision history for this message
sam wilson (samwilson22) wrote :
Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers