View Single Post
Old 09-19-2010, 03:33 PM   #20
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,471
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
@phenomshel & @Perkin:

Thanks to the files from phenomshel and the information you both supplied I (am 99% sure I) found the problem. The fix will be in the next release.

The problem, in case you care. Books on Sonys have three identifiers: a unique ID that comes from the library where the book was created, an 'application_id' that is the database key from the library that sent the book (which might change), and a 'db_id', which is the key from the library that put the book on the device. Calibre uses all three in a rather complicated way to try to match the book on the device with the book in the library. The application_id and db_id are indicative, meaning that they give a hint that the book might match.

The bug arises because I mistakenly used the db_id as an exact match in one rare case. The db_id matched some other random book in the library that has an application_id that equaled the db_id, causing the check mark to appear and the count to increase. However, the 'delete from device' dialog did not include the bug, so it would not show you these incorrect books.

I would *never* have found this problem without a) your insistence that it was really happening, b) the information you supplied, and c) (most importantly) phenomshel 's files.
chaley is offline   Reply With Quote