View Single Post
Old 11-26-2020, 05:45 AM   #2004
BradleyDS2
Junior Member
BradleyDS2 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2020
Device: Kobo Clara HD
Quote:
Originally Posted by davidfor View Post
There is an error in there that I will fix, but, I think you also have a broken configuration.

The error is after getting the current value for the percent read from the calibre library. The value is "None", but it should be an integer. I think that the column you have selected for the percent read no longer exists. Or has been renamed. But, the configuration is pointing to the old column name. Could you check that? And fix it if I'm right.

I don't handle changes the library that do not match the configuration well. I will fix that when I have time.
Sadly not the case.
The column still exists, and is still set to be an Integer.

I tried setting up a new column, made sure it's an integer and changed the Kobo Utilities config to use it instead, same error. Tried the same with pages read in case it's the issue. This issue was first identified after I updated Calibre to version 5, unsure if related.

Code:
calibre, version 5.5.0
ERROR: Unhandled exception: <b>TypeError</b>:'&lt;' not supported between instances of 'NoneType' and 'int'

calibre 5.5 [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: Count Pages (1, 11, 0) && Kindle hi-res covers (0, 5, 0) && Kobo Books (1, 8, 0) && Kobo Utilities (2, 11, 8) && KoboTouchExtended (3, 4, 1) && Obok DeDRM (6, 5, 4) && Quality Check (1, 10, 1)
Traceback (most recent call last):
  File "calibre_plugins.koboutilities.action", line 987, in handle_bookmarks
  File "calibre_plugins.koboutilities.action", line 1203, in store_current_bookmark
  File "calibre_plugins.koboutilities.action", line 4182, in _store_current_bookmark
TypeError: '<' not supported between instances of 'NoneType' and 'int'
BradleyDS2 is offline