Exception in ebook viewer

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

Bug Description

Encountered the following exception in ebook viewer after starting to view an EPUB:

calibre, version 4.2.0
ERROR: Unhandled error: Uncaught IndexSizeError: Failed to execute 'setStart' on 'Range': The offset 37 is larger than the node's length (34).<br><span style="font-size:smaller">Error at userscript:viewer.js:13635:23</span>

Traceback (most recent call last):
    at fn (userscript:viewer.js:13635:23)
Error: Failed to execute 'setStart' on 'Range': The offset 37 is larger than the node's length (34).

After several times killing and restarting the viewer the exception did no longer occur.

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

Remote bug watches

Bug watches keep track of this bug in other bug trackers.