View Single Post
Old 01-07-2019, 05:47 PM   #6
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 Harzmounty View Post
Turned the meta updating off and error disappeared. But as mentioned, the error appeared even when transfering books with no series entry.
The error is not happening when books are being sent. After that is done, calibre runs a second job that include the metadata update. But, it is doing the metadata update is for all books already on the device and in the device database. For all books on the device, it compares what is on the device to what is in the calibre library. If there are differences, it updates the device with what is in the library. To reach the line of code where the error is, there must be a difference in either the series name or index and the library has a series name. But, then there is no index.

For any books just sent, the metadata update is skipped as it is not in the database. And even if it was, the book state of the series info should mean it either can't get to that line, or it would have a series index. I'll have another look at this, but, I have sent plenty of books with and without series numbers in the last week without error.

Can you tell me what the "Metadata management" option is set to? This is on the "Sending books to device" page of the preferences. I usually recommend the automatic option for Kobo users as the other options means the collection management and metadata updating don't happen when the device is first connected. If it is one of the other options, it affects when the metadata update would be done, but, still shouldn't trigger this error.
davidfor is offline   Reply With Quote