View Single Post
Old 04-23-2021, 11:40 AM   #1
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,134
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
F2 error on date field

Code:
calibre, version 5.16.1
ERROR: Unhandled exception: <b>AttributeError</b>:'NoneType' object has no attribute 'year'

calibre 5.16.1 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 38, 0) && DeDRM (7, 2, 1) && Package KFX (from KFX Input) (1, 38, 0) && APNX Generator (1, 1, 0) && Count Pages (1, 11, 0) && Diaps Editing Toolbag (0, 3, 7) && EpubMerge (2, 11, 0) && EpubSplit (3, 0, 0) && Extract ISBN (1, 5, 0) && Fantastic Fiction (1, 4, 0) && Fantastic Fiction Adults (1, 2, 0) && Find Duplicates (1, 8, 5) && Generate Cover (2, 0, 2) && Goodreads (1, 5, 1) && Import List (1, 5, 4) && KFX metadata reader (from KFX Input) (1, 38, 0) && KFX Input (1, 38, 0) && Set KFX metadata (from KFX Output) (1, 51, 0) && KFX Output (1, 51, 0) && KePub Input (3, 4, 3) && KePub Metadata Reader (3, 4, 3) && KePub Metadata Writer (3, 4, 3) && KePub Output (3, 4, 4) && Kindle Collections (1, 7, 29) && KindleUnpack - The Plugin (0, 83, 0) && Kobo Books (1, 8, 2) && Kobo Utilities (2, 13, 2) && KoboTouchExtended (3, 4, 4) && LanguageTool (0, 1, 1) && Manage Series (1, 2, 11) && Modify ePub (1, 6, 3) && Obok DeDRM (7, 2, 1) && Open With (1, 5, 13) && Quality Check (1, 11, 2) && Resize Cover (1, 1, 0) && Search The Internet (1, 8, 1) && Smashwords Metadata (1, 0, 2) && Sort CSS (0, 2, 0)
Traceback (most recent call last):
  File "calibre\gui2\library\delegates.py", line 55, in updateEditorGeometry
  File "calibre\gui2\library\delegates.py", line 428, in displayText
  File "calibre\utils\date.py", line 173, in qt_to_dt
AttributeError: 'NoneType' object has no attribute 'year'
I have 2 custom columns of Date type (Done Reading, Edited). Up until recent, I select the field and hit F2 to edit (Tweak set to F2 only)
Now I get this message, but it will allow a second F2.

Anyone else seeing this?
theducks is offline   Reply With Quote