For some reason when trying to open a book that I was able to open earlier in the day Calibre shows this error:
Code:
calibre, version 4.99.17
ERROR: Unhandled exception: <b>TypeError</b>:'<' not supported between instances of 'datetime.datetime' and 'str'
calibre 4.99.17 Portable embedded-python: True is64bit: False
Windows-10-10.0.19041-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 34, 0) && Package KFX (from KFX Input) (1, 34, 0) && Count Pages (1, 10, 0) && EpubCheck (0, 2, 3) && EpubMerge (2, 11, 0) && EpubSplit (2, 9, 0) && FanFicFare (3, 23, 0) && Goodreads Sync (1, 14, 3) && KFX metadata reader (from KFX Input) (1, 34, 0) && KFX Input (1, 34, 0) && Set KFX metadata (from KFX Output) (1, 44, 0) && KFX Output (1, 44, 0)
Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\ui.py", line 511, in load_finished
File "site-packages\calibre\gui2\viewer\ui.py", line 541, in load_book_data
File "site-packages\calibre\gui2\viewer\ui.py", line 564, in load_book_annotations
File "site-packages\calibre\db\annotations.py", line 92, in merge_annotations
TypeError: '<' not supported between instances of 'datetime.datetime' and 'str'