View Single Post
Old 12-01-2023, 08:31 PM   #2796
tspear
Enthusiast
tspear began at the beginning.
 
tspear's Avatar
 
Posts: 25
Karma: 10
Join Date: Dec 2023
Location: New England USA
Device: Kobo Aura One
@davidfor,

It took a while, but I did figure out my issue. I read your directions, and using the debug logs figure out that the option "Store current bookmarks on connect" is required to load the reading status and location information. I must have skipped past that section a dozen times since I do not use bookmarks. Any chance you change the text of the option to state "Store current bookmarks/reading location on connect"?


Anyways, now when I sync, I have two issues.
First it looks like roughly 100 books have imported the reading status, and it should be closer to 200 that I have marked as finished. I am now on my second Kobo eReader, is it possible Kobo (and I think likely) that the reading status was lost when I switched eReaders?

Second, there are two books which show a new reading status each time I connect; and I did not even eject the eReader (just restarting Calibre). Here is the debug log from one of the two (I have the full log if desired):

DEBUG: 0.1 ----------- _store_bookmarks - top of loop -----------
DEBUG: 0.1 _store_bookmarks - Current book: Maverick Gambit - Marjorie King
DEBUG: 0.1 _store_bookmarks - contentIds='['20713488-3bf9-4649-a771-9b8c63b1b77e', 'file:///mnt/onboard/King, Marjorie/Maverick Gambit - Marjorie King.epub']'
DEBUG: 0.1 _store_bookmarks - contentId='20713488-3bf9-4649-a771-9b8c63b1b77e'
DEBUG: 0.1 _store_bookmarks - device_status='None'
DEBUG: 0.1 _store_bookmarks - result='{'ChapterIDBookmarked': '20713488-3bf9-4649-a771-9b8c63b1b77e!OEBPS!0_cover.xhtml#kobo.1.1', 'adobe_location': None, 'ReadStatus': 2, '___PercentRead': 95, 'Attribution': 'Marjorie King', 'DateLastRead': '2023-11-29T03:40:43Z', 'Title': 'Maverick Gambit', 'MimeType': 'application/x-kobo-epub+zip', 'Rating': None, 'ContentID': '20713488-3bf9-4649-a771-9b8c63b1b77e'}'
DEBUG: 0.1 _store_bookmarks - device_status is None
DEBUG: 0.1 _store_bookmarks - contentId='file:///mnt/onboard/King, Marjorie/Maverick Gambit - Marjorie King.epub'
DEBUG: 0.1 _store_bookmarks - device_status='{'ChapterIDBookmarked': '20713488-3bf9-4649-a771-9b8c63b1b77e!OEBPS!0_cover.xhtml#kobo.1.1', 'adobe_location': None, 'ReadStatus': 2, '___PercentRead': 95, 'Attribution': 'Marjorie King', 'DateLastRead': '2023-11-29T03:40:43Z', 'Title': 'Maverick Gambit', 'MimeType': 'application/x-kobo-epub+zip', 'Rating': None, 'ContentID': '20713488-3bf9-4649-a771-9b8c63b1b77e'}'
DEBUG: 0.1 _store_bookmarks - result='{'ChapterIDBookmarked': None, 'adobe_location': None, 'ReadStatus': 0, '___PercentRead': 0, 'Attribution': 'Marjorie King', 'DateLastRead': None, 'Title': 'Maverick Gambit', 'MimeType': 'application/epub+zip', 'Rating': None, 'ContentID': 'file:///mnt/onboard/King, Marjorie/Maverick Gambit - Marjorie King.epub'}'
DEBUG: 0.1 _store_bookmarks - finished reading database for book - device_status= {'ChapterIDBookmarked': '20713488-3bf9-4649-a771-9b8c63b1b77e!OEBPS!0_cover.xhtml#kobo.1.1', 'adobe_location': None, 'ReadStatus': 2, '___PercentRead': 95, 'Attribution': 'Marjorie King', 'DateLastRead': '2023-11-29T03:40:43Z', 'Title': 'Maverick Gambit', 'MimeType': 'application/x-kobo-epub+zip', 'Rating': None, 'ContentID': '20713488-3bf9-4649-a771-9b8c63b1b77e'}
DEBUG: 0.1 _store_bookmarks - Start of checks for current_last_read - reading_position_changed='False'
DEBUG: 0.1 _store_bookmarks - current_last_read='2023-11-29 03:40:43+00:00'
DEBUG: 0.1 _store_bookmarks - new_last_read ='2023-11-29 03:40:43+00:00'
DEBUG: 0.1 _store_bookmarks - current_last_read != new_last_read='False'
DEBUG: 0.1 _store_bookmarks - After checking current_last_read - reading_position_changed='False'
DEBUG: 0.1 _store_bookmarks - current_percentRead ='100'
DEBUG: 0.1 _store_bookmarks - new_kobo_percentRead='100'
DEBUG: 0.1 _store_bookmarks - current_percentRead != new_kobo_percentRead='False'
DEBUG: 0.1 _store_bookmarks - After checking percent read - reading_position_changed= False
DEBUG: 0.1 _store_bookmarks - current_chapterid ='20713488-3bf9-4649-a771-9b8c63b1b77e!OEBPS!0_cover.xhtml#kobo.1.1'
DEBUG: 0.1 _store_bookmarks - new_chapterid='20713488-3bf9-4649-a771-9b8c63b1b77e!OEBPS!0_cover.xhtml#kobo.1.1'
DEBUG: 0.1 _store_bookmarks - current_chapterid != new_chapterid='False'
DEBUG: 0.1 _store_bookmarks - After checking location - reading_position_changed= False
DEBUG: 0.1 _store_bookmarks - current_rating=8, new_kobo_rating=0
DEBUG: 0.1 _store_bookmarks - current_rating != new_kobo_rating= True
DEBUG: 0.1 _store_bookmarks - current_rating != new_kobo_rating and not (current_rating is None and new_kobo_rating == 0)= True
DEBUG: 0.1 _store_bookmarks - current_rating != new_kobo_rating and new_kobo_rating > 0= False
DEBUG: 0.1 _store_bookmarks - position changed for: Maverick Gambit - Marjorie King
tspear is offline