Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
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
Old 07-12-2022, 10:41 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,240
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This will fix it: https://github.com/kovidgoyal/calibr...f5af8dd2567653
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem "installing" "Kindle library extractor" dhdurgee Kindle Developer's Corner 7 11-24-2012 07:09 PM
"A Problem Occurred" on the "Shop" page. swallman Nook Color & Nook Tablet 1 12-25-2010 12:34 PM


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


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