View Single Post
Old 12-02-2020, 01:01 AM   #2023
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 pricciar View Post
I sent a link to the log to you in a private message. I started Calibre. Updated the book. Restarted in debug mode, and updated the book again. This is the resulting log.

If I'm reading the log correctly, the first entry is the Calibre portion, and the second is the Kobo portion? They all seem to match. Two oddities from my quick perusal, they are probably meaningless.
1) Current reading location for the book does not include a #kobo1.1 at the end, which every other book that has a reading position seems to have.
For the book you were having problems with, the log shows:

Code:
	DEBUG:    0.2 _store_bookmarks - current_chapterid ='OEBPS/Bluff.xhtml'
	DEBUG:    0.2 _store_bookmarks - new_chapterid='None'
The first one is what is in the library and the second on the device. I think you marked the book as finished on the device without opening it. In any case, I am not handling this properly. Both when it is getting the location from the device, and then later when it updates the library. But, I should be able to reproduce this and fix it.

For the "#kobo.1.1" or other numbers, is used for kepub. For an epubs, it will look like "#point(/1/4/208/1:52)". And if it is finished, the chapter stored should be the start of the book without this. Both of these indicate the first character on the page you were up to. For kepubs, it is basically tag, sentence and number of character. For epubs, it is tag with the number of characters into the tag.

"#kobo.1.1" means the reading location is the start of an internal file which is usually the start of a chapter. For epubs, the chapter start should look like "#point(/1/4/2/1:0)".
Quote:
2) In the logs the percent read is 99%, but in Calibre it is listed at 100%, and on the Kobo it is listed as Read.
The plugin takes care of this. For epubs, the device doesn't update the percent read to 100 percent when you finish the book. If the device says the book is finished, the plugin will always use 100%.
davidfor is offline