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'
So I've just updated to 1.80 in hopes that it would fix itself, but it didn't
I remember I had done something unusual in the main dialog last time I used the plugin and achieved the desirable result: IIRC, I did Ctrl+A to select all books and mark/select them (with 'All' selected in years dropdown). It did select and mark all books as intended.
I guess the error is related to that action and it's probably a minor issue, reversible via backup restore.