Quote:
Originally Posted by Comfy.n
I got this error today but it happened on version 1.77, not the latest one.
Spoiler:
Traceback (most recent call last):
File "calibre_plugins.Reading_Goal.ui", line 276, in set_main_action
File "calibre_plugins.Reading_Goal.main", line 211, in manage_reading_goal
File "calibre_plugins.Reading_Goal.main", line 1002, in update_database
File "calibre_plugins.Reading_Goal.main", line 388, in add_to_goal
File "calibre_plugins.Reading_Goal.main", line 947, in check_database
File "calibre_plugins.Reading_Goal.main", line 1201, in autofill
ValueError: invalid literal for int() with base 10: 'All'
|
Hi, @Comfy.n.
I checked the code and this line is converting the year from string to integer. The error shows that it tried to convert 'All' to integer. The thing is: the database does not have an 'All' year entry; the dropdown menu option compiles it at execution time. I don't see how you would have an entry called 'All' instead of a number (2023, 2024, 2025...). Did you edited the JSON manually? Can you send me the database so I can have a look?