View Single Post
Old 07-21-2019, 10:56 AM   #1629
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Kobber View Post
Hello,
Recently, whenever I plug in the Aura One, at the end of the ""storing reading position for … books" I receive the following error.

calibre, version 3.46.0
ERROR: Unhandled exception: <b>TypeError</b>:combine() argument 1 must be datetime.date, not time.struct_time

calibre 3.46 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.16299-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.16299')
Python 2.7.15+
Windows: ('10', '10.0.16299', 'SP0', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeDRM (6, 5, 3) && Kobo Utilities (2, 8, 0) && KePub Metadata Reader (3, 0, 2) && KoboBooks (1, 0, 0) && KePub Output (3, 1, 3) && Find Duplicates (1, 6, 3) && KePub Metadata Writer (3, 0, 3) && Reading List (1, 6, 6) && KoboTouchExtended (3, 1, 5) && KePub Input (3, 0, 0) && Modify ePub (1, 3, 13) && Quick Preferences (1, 4, 1) && EpubSplit (2, 7, 0)
Traceback (most recent call last):
File "site-packages\calibre\gui2\__init__.py", line 479, in dispatch
File "calibre_plugins.koboutilities.action", line 2186, in _store_completed
File "calibre_plugins.koboutilities.dialogs", line 2684, in __init__
File "calibre_plugins.koboutilities.dialogs", line 2794, in populate_table
File "calibre_plugins.koboutilities.dialogs", line 2859, in populate_table_row
File "calibre_plugins.koboutilities.common_utils", line 304, in __init__
File "site-packages\calibre\utils\date.py", line 347, in format_date
TypeError: combine() argument 1 must be datetime.date, not time.struct_time


I think it's being caused by the Koboutilites plugin. If so, does anyone have any suggestion to fix it?
Thank you in advance for the help.
Yes, that is coming from the plugin. One of the dates on the device isn't in the expected format. Can you run calibre in debug mode and try again? Then post the debug log. Hopefully the logging will show the date that is failing a conversion.
davidfor is offline