Issue with "Error: Unhandled exception"
Good day. I keep running into the error message below when I try to open select books in Calibre. I would appreciate any help. Thanks.
calibre, version 0.8.54
ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'i' referenced before assignment
Traceback (most recent call last):
File "site-packages/calibre/gui2/viewer/main.py", line 848, in load_ebook
File "site-packages/calibre/gui2/viewer/toc.py", line 153, in __init__
File "site-packages/calibre/gui2/viewer/toc.py", line 72, in __init__
UnboundLocalError: local variable 'i' referenced before assignment