Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-23-2021, 09:25 PM   #1
OldLincoln
Zealot
OldLincoln ought to be getting tired of karma fortunes by now.OldLincoln ought to be getting tired of karma fortunes by now.OldLincoln ought to be getting tired of karma fortunes by now.OldLincoln ought to be getting tired of karma fortunes by now.OldLincoln ought to be getting tired of karma fortunes by now.OldLincoln ought to be getting tired of karma fortunes by now.OldLincoln ought to be getting tired of karma fortunes by now.OldLincoln ought to be getting tired of karma fortunes by now.OldLincoln ought to be getting tired of karma fortunes by now.OldLincoln ought to be getting tired of karma fortunes by now.OldLincoln ought to be getting tired of karma fortunes by now.
 
OldLincoln's Avatar
 
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
OldLincoln is offline   Reply With Quote
Old 04-23-2021, 09:32 PM   #2
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,945
Karma: 74999999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
https://www.mobileread.com/forums/sh...d.php?t=339007
ownedbycats is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 09:08 AM.


MobileRead.com is a privately owned, operated and funded community.