Exception in ebook viewer

Bug #1849775 reported by leastcommonancestor on 2019-10-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
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.

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  Edit
Everyone can see this information.

Other bug subscribers