View Single Post
Old 02-20-2025, 12:43 AM   #63
Espen
Junior Member
Espen began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2025
Device: Kobo Libra Colour
Hi everyone! After using various Kindle readers since their second generation, I finally decided to withdraw from the Amazon ecosystem and get a Kobo Libra Colour. I spent quite some time downloading, de-DRMing, and organizing my Kindle library (as well as a small amount of books obtained through Humble Bundles and purchases from third-party sites) in Calibre before I even got the Kobo, so when it arrived, everything was ready for it. I had also purchased a new book in the Kobo store to test that out and had downloaded and de-DRMed it before adding it to my Calibre library, mostly because I wanted to see how that would work when synchronizing with the device later.

The first connect was pretty much flawless. It recognized the recently bought book as already on the device (I downloaded it there before connecting) and allowed my to transfer everything else over, which went well. I had to connect a few times before the series information transferred, but that's normal from what I understand. I also marked all my previous books as read.

After that, I bought and downloaded another book directly from the device, but have yet to download and de-DRM it separately. I also started reading the first book I bought in the Kobo store (the one I placed in my Calibre library before even getting the device).

And that's when the trouble started.

When I attempt to connect my Kobo to Calibre now, it fails with an exception that, even as a programmer, doesn't really help me solve things on my end. I can see there's an error when converting dates, but without anything more specific, I'm lost. I assume it's the reading progress on the book I've been reading that's failing to transfer, but that's just my guesswork. Here's the exception:

Quote:
calibre, version 7.26.0
ERROR: Unhandled exception: <b>TypeError</b>:strptime() argument 1 must be str, not None

calibre 7.26 embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.5
Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: DeACSM (0, 0, 16) && Gather KFX-ZIP (from KFX Input) (2, 19, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 19, 0) && KFX metadata reader (from KFX Input) (2, 19, 0) && From KFX (2, 19, 0) && KFX Input (2, 19, 0) && Kobo Utilities (2, 18, 1)
Traceback (most recent call last):
File "calibre\gui2\__init__.py", line 806, in dispatch
File "calibre_plugins.koboutilities.action", line 2900, in _store_completed
File "calibre_plugins.koboutilities.dialogs", line 3774, in __init__
File "calibre_plugins.koboutilities.dialogs", line 3932, in populate_table
File "calibre_plugins.koboutilities.dialogs", line 4003, in populate_table_row
File "calibre_plugins.koboutilities.action", line 7906, in convert_kobo_date
File "calibre_plugins.koboutilities.common_utils", line 321, in convert_kobo_date
TypeError: strptime() argument 1 must be str, not None
Searching the web for this error turns out nothing about Calibre. Surely I can't be the first person to run into this error? What can I do to resolve it?

This is with the latest version of Kobo Utilities (2.18.1), by the way.
Espen is offline   Reply With Quote