View Single Post
Old 01-21-2024, 04:07 AM   #41
crnirg
Connoisseur
crnirg began at the beginning.
 
Posts: 64
Karma: 10
Join Date: Nov 2010
Location: Niš, Srbija
Device: TCL Nxtpaper 11, Kindle PW 2024
I really like this plugin and I would like to ask why I get this error:
****
calibre, version 7.4.0
ERROR: Unhandled exception: <b>UnboundLocalError</b>:cannot access local variable 'book_dict' where it is not associated with a value

calibre 7.4 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
....
Traceback (most recent call last):
File "calibre_plugins.grauthornotes.main", line 66, in do_author_action
File "calibre_plugins.grauthornotes.authornotes", line 21, in link
File "calibre_plugins.grauthornotes.authornotes", line 174, in get_booksoup
UnboundLocalError: cannot access local variable 'book_dict' where it is not associated with a value
***

Since I have many authors, I select a few of them and at some point I get the specified error. After that nothing happens anymore and I have to select Cancel. What happened until then he collected Ok.

Last edited by crnirg; 01-21-2024 at 04:27 AM.
crnirg is offline   Reply With Quote