View Single Post
Old 07-12-2022, 10:36 AM   #1
jbaumann
Zealot
jbaumann plays well with othersjbaumann plays well with othersjbaumann plays well with othersjbaumann plays well with othersjbaumann plays well with othersjbaumann plays well with othersjbaumann plays well with othersjbaumann plays well with othersjbaumann plays well with othersjbaumann plays well with othersjbaumann plays well with others
 
Posts: 107
Karma: 2724
Join Date: Nov 2011
Device: Multiple Kobos, multiple Kindles
Problem with "Classification"

Hi,

I have a medium-large library of books. For some time now, if I try to enter something into the classification field without "[1]" (or some other number) I get the following error:
calibre, version 6.0.0
ERROR: Failed to set data: Could not set data, click "Show details" to see why.

Code:
Traceback (most recent call last):
  File "calibre/gui2/library/models.py", line 1217, in setData
  File "calibre/gui2/library/models.py", line 1243, in _set_data
  File "calibre/gui2/library/models.py", line 1190, in set_custom_column_data
  File "calibre/db/legacy.py", line 728, in get_next_cc_series_num_for
  File "calibre/db/cache.py", line 77, in call_func_with_lock
  File "calibre/db/cache.py", line 1834, in get_next_series_num_for
TypeError: '<' not supported between instances of 'NoneType' and 'float'
I have a second field "series" in which the same works without problems.

What can I do to fix this?

And thanks again for this fantastic software.

Cheers, Joe
jbaumann is offline   Reply With Quote