This error happens when I try to update any book from 2023. No other years.
Code:
calibre, version 8.6.0
ERROR: Unhandled exception: <b>KeyError</b>:'last_year_pages'
calibre 8.6 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.12
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: ...
Traceback (most recent call last):
File "calibre_plugins.Reading_Goal.main", line 256, in manage_reading_goal
File "calibre_plugins.Reading_Goal.main", line 628, in add_to_goal
File "calibre_plugins.Reading_Goal.main", line 1149, in update_summary
KeyError: 'last_year_pages'
I disabled migrate, no effect.
Random one, maybe something wrong with 2023 entries.
Spoiler:
Code:
"7828": {
"authors": [
"almne"
],
"challenges": [
"Annual"
],
"date": {
"__class__": "datetime.datetime",
"__value__": "2023-02-24T09:57:21+00:00"
},
"genre": [
"Fanfiction.Other"
],
"last_year_pages": 0,
"page_count": 251,
"read_pages": 251,
"records": {
"0": {
"date": {
"__class__": "datetime.datetime",
"__value__": "2023-02-24T09:57:21+00:00"
},
"read_pages": 251,
"status": 100
}
},
"reread_count": 0,
"series": null,
"shelf": "Read",
"status": 100,
"title": "A Downed Dragon is a Dead Dragon",
"title_sort": "Downed Dragon is a Dead Dragon, A"
},