EPUB crashes. Cannot read property 'startswith'.

Bug #1886192 reported by el pogotron on 2020-07-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Hi, this started to happen today after updating to 4.20 when the EPUB reader try to load a different chapter of the book. The same file was working with no problem before the update. It's running on Ubuntu 18.04

calibre, version 4.20.0
ERROR: Unhandled error: Uncaught TypeError: Cannot read property 'startswith' of null<br><span style="font-size:smaller">Error at userscript:viewer.js:18127:26</span>

Traceback (most recent call last):
    at HTMLHtmlElement.ρσ_anonfunc (userscript:viewer.js:18159:25)
    at postprocess (userscript:viewer.js:18127:26)
TypeError: Cannot read property 'startswith' of null

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