![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 103
Karma: 1961918
Join Date: Feb 2012
Device: FBReader
|
5.16.1 Error in Date Type Custom Field
First appeared in 5.16.1. I have a custom field (Date Read) that I populate when marking books completed. The error code states:
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: DeDRM (7, 0, 3) && Count Pages (1, 11, 0) && Find Duplicates (1, 8, 5) && Quality Check (1, 11, 2) 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' -------------------------------------- The Column Type is Date Format for dates is M/d/yyyy Default value is empty Other items: Lookup name is read-date; Column heading is Date Read Up to this version (many years) I would open field not enter anything then tab and it would populate today's date. Now I open field get the error, hit OK tab and it populates today's date. Minor error but may bite something going forward. Thanks Earle Pearce |
![]() |
![]() |
![]() |
#2 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,945
Karma: 74999999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
F2 error on date field | theducks | Library Management | 12 | 04-24-2021 09:11 AM |
custom field based on multiple value field for export | nindotza | Calibre | 0 | 01-02-2021 08:37 AM |
Automatically Setting Date field to file creation date when importing. | Marc_G2 | Library Management | 6 | 07-25-2020 10:35 PM |
Search Replcae error on custom field | adept22 | Library Management | 4 | 03-14-2011 09:47 AM |
Can't clear "custom" date field? | joegearhart | Calibre | 5 | 12-20-2010 03:32 AM |