12-11-2021, 06:44 AM | #2371 |
Custom User Title
Posts: 9,376
Karma: 64435965
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
My poor Kobo Aura HD crashed again and factory reset itself. I got everything working again but now Kobo Utilities won't automatically store the bookmarks. Any idea what to do?
EDIT: I figured it out -- I had to remove the reader from the list of devices in the settings and re-add it. I guess the reset made it appear as a new device. Last edited by ownedbycats; 12-11-2021 at 06:22 PM. |
12-12-2021, 07:52 AM | #2372 | |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
Advert | |
|
12-23-2021, 10:32 PM | #2373 | |
Guru
Posts: 746
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
|
Kobo Utilities: Update ToC Errors
I'm having trouble using Kobo Utilities' Update ToC abilities with 3 of my epubs (going to my Kobo Forma as a kepub). I've tried many things and am to the point where I've used Calibre's Edit ToC function, removed the entire ToC entries, used the Generate ToC From All Headings (Removing Duplicates) function to repopulate it, removing everything but the actual chapters, adding my own entries to the Cover and the Jacket, and then indenting the Chapters under their Parts (I've also made the Part names unique and changed their locations to the first bits of text in each case). Here's what one of those ToCs currently looks like:
No matter what I do, when I try to Update the ToC to the Kobo, I always get the following error: Quote:
Cover > OEBPS/titlepage.xhtml Review > OEBPS/jacket.xhtml Part I - Things Slow Down > OEBPS/part-001.xhtml#toc_2 Chapter 1 > OEBPS/part-001-chapter-001.xhtml ... all the other chapters and parts change in the obvious way by having unique chapter and part strings. The relevant part of the calibre debug log looks like: Code:
DEBUG: 31.1 update_button_clicked - ids_to_sync= [1462] DEBUG: 32.7 update_book_toc_on_device - len(update_books)=1 DEBUG: 32.7 update_book_toc_on_device - update_books=1 DEBUG: 32.7 update_book_toc_on_device - filtered update_books=1 DEBUG: 32.7 version=Kobo Utilities v2.14.1 DEBUG: 32.7 update_device_toc_for_books - books= [{'good': False, 'calibre_id': 1462, 'title': 'Immortal and the Island of Impossible Things', 'author': 'Gene Doucette', 'author_sort': 'Doucette, Gene', 'comment': 'Chapters need to be updated in Kobo eReader database', 'url': '', 'added': False, 'library_chapters': [{'title': 'Cover', 'path': 'titlepage.xhtml-1', 'toc_depth': 1, 'added': False}, {'title': 'Review', 'path': 'jacket.xhtml-1', 'toc_depth': 1, 'added': False}, {'title': 'Part I - Things Slow Down', 'path': 'part-001.xhtml#toc_2-1', 'toc_depth': 1, 'fragment': 'toc_2', 'added': False}, {'title': 'Chapter 1', 'path': 'part-001-chapter-001.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 2', 'path': 'part-001-chapter-002.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 3', 'path': 'part-001-chapter-003.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 4', 'path': 'part-001-chapter-004.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 5', 'path': 'part-001-chapter-005.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 6', 'path': 'part-001-chapter-006.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Part II - There and Back Again', 'path': 'part-002.xhtml#toc_2-1', 'toc_depth': 1, 'fragment': 'toc_2', 'added': False}, {'title': 'Chapter 7', 'path': 'part-002-chapter-007.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 8', 'path': 'part-002-chapter-008.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 9', 'path': 'part-002-chapter-009.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 10', 'path': 'part-002-chapter-010.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 11', 'path': 'part-002-chapter-011.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 12', 'path': 'part-002-chapter-012.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 13', 'path': 'part-002-chapter-013.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Part III - The Priestess', 'path': 'part-003.xhtml#toc_2-1', 'toc_depth': 1, 'fragment': 'toc_2', 'added': False}, {'title': 'Chapter 14', 'path': 'part-003-chapter-014.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 15', 'path': 'part-003-chapter-015.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 16', 'path': 'part-003-chapter-016.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 17', 'path': 'part-003-chapter-017.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 18', 'path': 'part-003-chapter-018.xhtml-2', 'toc_depth': 2, 'added': False}], 'kobo_chapters': [{'title': 'Cover', 'path': 'titlepage.xhtml-1', 'toc_depth': 1, 'added': False}, {'title': 'Review', 'path': 'jacket.xhtml-1', 'toc_depth': 1, 'added': False}, {'title': 'Part I - Things Slow Down', 'path': 'part-001.xhtml#toc_2-1', 'toc_depth': 1, 'fragment': 'toc_2', 'added': False}, {'title': 'Chapter 1', 'path': 'part-001-chapter-001.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 2', 'path': 'part-001-chapter-002.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 3', 'path': 'part-001-chapter-003.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 4', 'path': 'part-001-chapter-004.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 5', 'path': 'part-001-chapter-005.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 6', 'path': 'part-001-chapter-006.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Part II - There and Back Again', 'path': 'part-002.xhtml#toc_2-1', 'toc_depth': 1, 'fragment': 'toc_2', 'added': False}, {'title': 'Chapter 7', 'path': 'part-002-chapter-007.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 8', 'path': 'part-002-chapter-008.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 9', 'path': 'part-002-chapter-009.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 10', 'path': 'part-002-chapter-010.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 11', 'path': 'part-002-chapter-011.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 12', 'path': 'part-002-chapter-012.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 13', 'path': 'part-002-chapter-013.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Part III - The Priestess', 'path': 'part-003.xhtml#toc_2-1', 'toc_depth': 1, 'fragment': 'toc_2', 'added': False}, {'title': 'Chapter 14', 'path': 'part-003-chapter-014.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 15', 'path': 'part-003-chapter-015.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 16', 'path': 'part-003-chapter-016.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 17', 'path': 'part-003-chapter-017.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 18', 'path': 'part-003-chapter-018.xhtml-2', 'toc_depth': 2, 'added': False}], 'kobo_database_chapters': [{'chapterContentId': '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!titlepage.xhtml-1', 'VolumeIndex': 0, 'title': 'Cover', 'path': 'titlepage.xhtml-1', 'adobe_location': None, 'ChapterIDBookmarked': '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!titlepage.xhtml', 'toc_depth': 1, 'added': True}, {'chapterContentId': '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!jacket.xhtml-1', 'VolumeIndex': 1, 'title': 'Review', 'path': 'jacket.xhtml-1', 'adobe_location': None, 'ChapterIDBookmarked': '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!jacket.xhtml', 'toc_depth': 1, 'added': True}, {'chapterContentId': '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!part-001', 'VolumeIndex': 2, 'title': 'Part I - Things Slow Down', 'path': 'part-001', 'adobe_location': None, 'ChapterIDBookmarked': '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!part', 'toc_depth': 1, 'added': True}], 'kobo_format_status': True, 'kobo_database_status': False, 'can_update_toc': True, 'ContentID': 'file:///mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub', 'kobo_format': 'KEPUB', 'library_format': 'EPUB', 'library_opf_name': 'OEBPS/volume.opf', 'library_opf_dir': 'OEBPS', 'library_manifest': [{'path': 'titlepage.xhtml', 'file_size': 842, 'name': 'OEBPS/titlepage.xhtml'}, {'path': 'jacket.xhtml', 'file_size': 5687, 'name': 'OEBPS/jacket.xhtml'}, {'path': 'cover.xhtml', 'file_size': 1133, 'name': 'OEBPS/cover.xhtml'}, {'path': 'title-page.xhtml', 'file_size': 1297, 'name': 'OEBPS/title-page.xhtml'}, {'path': 'copyright.xhtml', 'file_size': 2543, 'name': 'OEBPS/copyright.xhtml'}, {'path': 'epigraph.xhtml', 'file_size': 1862, 'name': 'OEBPS/epigraph.xhtml'}, {'path': 'contents.xhtml', 'file_size': 8919, 'name': 'OEBPS/contents.xhtml'}, {'path': 'part-001.xhtml', 'file_size': 1333, 'name': 'OEBPS/part-001.xhtml'}, {'path': 'part-001-chapter-001.xhtml', 'file_size': 42848, 'name': 'OEBPS/part-001-chapter-001.xhtml'}, {'path': 'part-001-chapter-002.xhtml', 'file_size': 42602, 'name': 'OEBPS/part-001-chapter-002.xhtml'}, {'path': 'part-001-chapter-003.xhtml', 'file_size': 59382, 'name': 'OEBPS/part-001-chapter-003.xhtml'}, {'path': 'part-001-chapter-004.xhtml', 'file_size': 54956, 'name': 'OEBPS/part-001-chapter-004.xhtml'}, {'path': 'part-001-chapter-005.xhtml', 'file_size': 53079, 'name': 'OEBPS/part-001-chapter-005.xhtml'}, {'path': 'part-001-chapter-006.xhtml', 'file_size': 20019, 'name': 'OEBPS/part-001-chapter-006.xhtml'}, {'path': 'part-002.xhtml', 'file_size': 1338, 'name': 'OEBPS/part-002.xhtml'}, {'path': 'part-002-chapter-007.xhtml', 'file_size': 59342, 'name': 'OEBPS/part-002-chapter-007.xhtml'}, {'path': 'part-002-chapter-008.xhtml', 'file_size': 49634, 'name': 'OEBPS/part-002-chapter-008.xhtml'}, {'path': 'part-002-chapter-009.xhtml', 'file_size': 29194, 'name': 'OEBPS/part-002-chapter-009.xhtml'}, {'path': 'part-002-chapter-010.xhtml', 'file_size': 36479, 'name': 'OEBPS/part-002-chapter-010.xhtml'}, {'path': 'part-002-chapter-011.xhtml', 'file_size': 43436, 'name': 'OEBPS/part-002-chapter-011.xhtml'}, {'path': 'part-002-chapter-012.xhtml', 'file_size': 62009, 'name': 'OEBPS/part-002-chapter-012.xhtml'}, {'path': 'part-002-chapter-013.xhtml', 'file_size': 41559, 'name': 'OEBPS/part-002-chapter-013.xhtml'}, {'path': 'part-003.xhtml', 'file_size': 1332, 'name': 'OEBPS/part-003.xhtml'}, {'path': 'part-003-chapter-014.xhtml', 'file_size': 37636, 'name': 'OEBPS/part-003-chapter-014.xhtml'}, {'path': 'part-003-chapter-015.xhtml', 'file_size': 52748, 'name': 'OEBPS/part-003-chapter-015.xhtml'}, {'path': 'part-003-chapter-016.xhtml', 'file_size': 36516, 'name': 'OEBPS/part-003-chapter-016.xhtml'}, {'path': 'part-003-chapter-017.xhtml', 'file_size': 37353, 'name': 'OEBPS/part-003-chapter-017.xhtml'}, {'path': 'part-003-chapter-018.xhtml', 'file_size': 11591, 'name': 'OEBPS/part-003-chapter-018.xhtml'}, {'path': 'part-003-about-the-author.xhtml', 'file_size': 6056, 'name': 'OEBPS/part-003-about-the-author.xhtml'}, {'path': 'part-003-also-by-gene-doucette.xhtml', 'file_size': 41912, 'name': 'OEBPS/part-003-also-by-gene-doucette.xhtml'}], 'library_container': <calibre.ebooks.oeb.polish.container.EpubContainer object at 0x00000272CF957100>, 'kobo_opf_name': 'OEBPS/volume.opf', 'kobo_opf_dir': 'OEBPS', 'kobo_manifest': [{'path': 'titlepage.xhtml', 'file_size': 848, 'name': 'OEBPS/titlepage.xhtml'}, {'path': 'jacket.xhtml', 'file_size': 7991, 'name': 'OEBPS/jacket.xhtml'}, {'path': 'cover.xhtml', 'file_size': 1305, 'name': 'OEBPS/cover.xhtml'}, {'path': 'title-page.xhtml', 'file_size': 1446, 'name': 'OEBPS/title-page.xhtml'}, {'path': 'copyright.xhtml', 'file_size': 2963, 'name': 'OEBPS/copyright.xhtml'}, {'path': 'epigraph.xhtml', 'file_size': 2102, 'name': 'OEBPS/epigraph.xhtml'}, {'path': 'contents.xhtml', 'file_size': 10149, 'name': 'OEBPS/contents.xhtml'}, {'path': 'part-001.xhtml', 'file_size': 1482, 'name': 'OEBPS/part-001.xhtml'}, {'path': 'part-001-chapter-001.xhtml', 'file_size': 63920, 'name': 'OEBPS/part-001-chapter-001.xhtml'}, {'path': 'part-001-chapter-002.xhtml', 'file_size': 68480, 'name': 'OEBPS/part-001-chapter-002.xhtml'}, {'path': 'part-001-chapter-003.xhtml', 'file_size': 94826, 'name': 'OEBPS/part-001-chapter-003.xhtml'}, {'path': 'part-001-chapter-004.xhtml', 'file_size': 89265, 'name': 'OEBPS/part-001-chapter-004.xhtml'}, {'path': 'part-001-chapter-005.xhtml', 'file_size': 85258, 'name': 'OEBPS/part-001-chapter-005.xhtml'}, {'path': 'part-001-chapter-006.xhtml', 'file_size': 30822, 'name': 'OEBPS/part-001-chapter-006.xhtml'}, {'path': 'part-002.xhtml', 'file_size': 1487, 'name': 'OEBPS/part-002.xhtml'}, {'path': 'part-002-chapter-007.xhtml', 'file_size': 92908, 'name': 'OEBPS/part-002-chapter-007.xhtml'}, {'path': 'part-002-chapter-008.xhtml', 'file_size': 79298, 'name': 'OEBPS/part-002-chapter-008.xhtml'}, {'path': 'part-002-chapter-009.xhtml', 'file_size': 46283, 'name': 'OEBPS/part-002-chapter-009.xhtml'}, {'path': 'part-002-chapter-010.xhtml', 'file_size': 58518, 'name': 'OEBPS/part-002-chapter-010.xhtml'}, {'path': 'part-002-chapter-011.xhtml', 'file_size': 70309, 'name': 'OEBPS/part-002-chapter-011.xhtml'}, {'path': 'part-002-chapter-012.xhtml', 'file_size': 101615, 'name': 'OEBPS/part-002-chapter-012.xhtml'}, {'path': 'part-002-chapter-013.xhtml', 'file_size': 65236, 'name': 'OEBPS/part-002-chapter-013.xhtml'}, {'path': 'part-003.xhtml', 'file_size': 1481, 'name': 'OEBPS/part-003.xhtml'}, {'path': 'part-003-chapter-014.xhtml', 'file_size': 59786, 'name': 'OEBPS/part-003-chapter-014.xhtml'}, {'path': 'part-003-chapter-015.xhtml', 'file_size': 86375, 'name': 'OEBPS/part-003-chapter-015.xhtml'}, {'path': 'part-003-chapter-016.xhtml', 'file_size': 62098, 'name': 'OEBPS/part-003-chapter-016.xhtml'}, {'path': 'part-003-chapter-017.xhtml', 'file_size': 59505, 'name': 'OEBPS/part-003-chapter-017.xhtml'}, {'path': 'part-003-chapter-018.xhtml', 'file_size': 19394, 'name': 'OEBPS/part-003-chapter-018.xhtml'}, {'path': 'part-003-about-the-author.xhtml', 'file_size': 8931, 'name': 'OEBPS/part-003-about-the-author.xhtml'}, {'path': 'part-003-also-by-gene-doucette.xhtml', 'file_size': 55439, 'name': 'OEBPS/part-003-also-by-gene-doucette.xhtml'}], 'kobo_container': <calibre.ebooks.oeb.polish.container.EpubContainer object at 0x00000272CF957070>, 'kobo_database_manifest': [], 'icon': 'toc.png'}] DEBUG: 32.9 update_device_toc_for_books - book= {'good': False, 'calibre_id': 1462, 'title': 'Immortal and the Island of Impossible Things', 'author': 'Gene Doucette', 'author_sort': 'Doucette, Gene', 'comment': 'Chapters need to be updated in Kobo eReader database', 'url': '', 'added': False, 'library_chapters': [{'title': 'Cover', 'path': 'titlepage.xhtml-1', 'toc_depth': 1, 'added': False}, {'title': 'Review', 'path': 'jacket.xhtml-1', 'toc_depth': 1, 'added': False}, {'title': 'Part I - Things Slow Down', 'path': 'part-001.xhtml#toc_2-1', 'toc_depth': 1, 'fragment': 'toc_2', 'added': False}, {'title': 'Chapter 1', 'path': 'part-001-chapter-001.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 2', 'path': 'part-001-chapter-002.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 3', 'path': 'part-001-chapter-003.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 4', 'path': 'part-001-chapter-004.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 5', 'path': 'part-001-chapter-005.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 6', 'path': 'part-001-chapter-006.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Part II - There and Back Again', 'path': 'part-002.xhtml#toc_2-1', 'toc_depth': 1, 'fragment': 'toc_2', 'added': False}, {'title': 'Chapter 7', 'path': 'part-002-chapter-007.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 8', 'path': 'part-002-chapter-008.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 9', 'path': 'part-002-chapter-009.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 10', 'path': 'part-002-chapter-010.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 11', 'path': 'part-002-chapter-011.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 12', 'path': 'part-002-chapter-012.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 13', 'path': 'part-002-chapter-013.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Part III - The Priestess', 'path': 'part-003.xhtml#toc_2-1', 'toc_depth': 1, 'fragment': 'toc_2', 'added': False}, {'title': 'Chapter 14', 'path': 'part-003-chapter-014.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 15', 'path': 'part-003-chapter-015.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 16', 'path': 'part-003-chapter-016.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 17', 'path': 'part-003-chapter-017.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 18', 'path': 'part-003-chapter-018.xhtml-2', 'toc_depth': 2, 'added': False}], 'kobo_chapters': [{'title': 'Cover', 'path': 'titlepage.xhtml-1', 'toc_depth': 1, 'added': False}, {'title': 'Review', 'path': 'jacket.xhtml-1', 'toc_depth': 1, 'added': False}, {'title': 'Part I - Things Slow Down', 'path': 'part-001.xhtml#toc_2-1', 'toc_depth': 1, 'fragment': 'toc_2', 'added': False}, {'title': 'Chapter 1', 'path': 'part-001-chapter-001.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 2', 'path': 'part-001-chapter-002.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 3', 'path': 'part-001-chapter-003.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 4', 'path': 'part-001-chapter-004.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 5', 'path': 'part-001-chapter-005.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 6', 'path': 'part-001-chapter-006.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Part II - There and Back Again', 'path': 'part-002.xhtml#toc_2-1', 'toc_depth': 1, 'fragment': 'toc_2', 'added': False}, {'title': 'Chapter 7', 'path': 'part-002-chapter-007.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 8', 'path': 'part-002-chapter-008.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 9', 'path': 'part-002-chapter-009.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 10', 'path': 'part-002-chapter-010.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 11', 'path': 'part-002-chapter-011.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 12', 'path': 'part-002-chapter-012.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 13', 'path': 'part-002-chapter-013.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Part III - The Priestess', 'path': 'part-003.xhtml#toc_2-1', 'toc_depth': 1, 'fragment': 'toc_2', 'added': False}, {'title': 'Chapter 14', 'path': 'part-003-chapter-014.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 15', 'path': 'part-003-chapter-015.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 16', 'path': 'part-003-chapter-016.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 17', 'path': 'part-003-chapter-017.xhtml-2', 'toc_depth': 2, 'added': False}, {'title': 'Chapter 18', 'path': 'part-003-chapter-018.xhtml-2', 'toc_depth': 2, 'added': False}], 'kobo_database_chapters': [{'chapterContentId': '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!titlepage.xhtml-1', 'VolumeIndex': 0, 'title': 'Cover', 'path': 'titlepage.xhtml-1', 'adobe_location': None, 'ChapterIDBookmarked': '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!titlepage.xhtml', 'toc_depth': 1, 'added': True}, {'chapterContentId': '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!jacket.xhtml-1', 'VolumeIndex': 1, 'title': 'Review', 'path': 'jacket.xhtml-1', 'adobe_location': None, 'ChapterIDBookmarked': '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!jacket.xhtml', 'toc_depth': 1, 'added': True}, {'chapterContentId': '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!part-001', 'VolumeIndex': 2, 'title': 'Part I - Things Slow Down', 'path': 'part-001', 'adobe_location': None, 'ChapterIDBookmarked': '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!part', 'toc_depth': 1, 'added': True}], 'kobo_format_status': True, 'kobo_database_status': False, 'can_update_toc': True, 'ContentID': 'file:///mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub', 'kobo_format': 'KEPUB', 'library_format': 'EPUB', 'library_opf_name': 'OEBPS/volume.opf', 'library_opf_dir': 'OEBPS', 'library_manifest': [{'path': 'titlepage.xhtml', 'file_size': 842, 'name': 'OEBPS/titlepage.xhtml'}, {'path': 'jacket.xhtml', 'file_size': 5687, 'name': 'OEBPS/jacket.xhtml'}, {'path': 'cover.xhtml', 'file_size': 1133, 'name': 'OEBPS/cover.xhtml'}, {'path': 'title-page.xhtml', 'file_size': 1297, 'name': 'OEBPS/title-page.xhtml'}, {'path': 'copyright.xhtml', 'file_size': 2543, 'name': 'OEBPS/copyright.xhtml'}, {'path': 'epigraph.xhtml', 'file_size': 1862, 'name': 'OEBPS/epigraph.xhtml'}, {'path': 'contents.xhtml', 'file_size': 8919, 'name': 'OEBPS/contents.xhtml'}, {'path': 'part-001.xhtml', 'file_size': 1333, 'name': 'OEBPS/part-001.xhtml'}, {'path': 'part-001-chapter-001.xhtml', 'file_size': 42848, 'name': 'OEBPS/part-001-chapter-001.xhtml'}, {'path': 'part-001-chapter-002.xhtml', 'file_size': 42602, 'name': 'OEBPS/part-001-chapter-002.xhtml'}, {'path': 'part-001-chapter-003.xhtml', 'file_size': 59382, 'name': 'OEBPS/part-001-chapter-003.xhtml'}, {'path': 'part-001-chapter-004.xhtml', 'file_size': 54956, 'name': 'OEBPS/part-001-chapter-004.xhtml'}, {'path': 'part-001-chapter-005.xhtml', 'file_size': 53079, 'name': 'OEBPS/part-001-chapter-005.xhtml'}, {'path': 'part-001-chapter-006.xhtml', 'file_size': 20019, 'name': 'OEBPS/part-001-chapter-006.xhtml'}, {'path': 'part-002.xhtml', 'file_size': 1338, 'name': 'OEBPS/part-002.xhtml'}, {'path': 'part-002-chapter-007.xhtml', 'file_size': 59342, 'name': 'OEBPS/part-002-chapter-007.xhtml'}, {'path': 'part-002-chapter-008.xhtml', 'file_size': 49634, 'name': 'OEBPS/part-002-chapter-008.xhtml'}, {'path': 'part-002-chapter-009.xhtml', 'file_size': 29194, 'name': 'OEBPS/part-002-chapter-009.xhtml'}, {'path': 'part-002-chapter-010.xhtml', 'file_size': 36479, 'name': 'OEBPS/part-002-chapter-010.xhtml'}, {'path': 'part-002-chapter-011.xhtml', 'file_size': 43436, 'name': 'OEBPS/part-002-chapter-011.xhtml'}, {'path': 'part-002-chapter-012.xhtml', 'file_size': 62009, 'name': 'OEBPS/part-002-chapter-012.xhtml'}, {'path': 'part-002-chapter-013.xhtml', 'file_size': 41559, 'name': 'OEBPS/part-002-chapter-013.xhtml'}, {'path': 'part-003.xhtml', 'file_size': 1332, 'name': 'OEBPS/part-003.xhtml'}, {'path': 'part-003-chapter-014.xhtml', 'file_size': 37636, 'name': 'OEBPS/part-003-chapter-014.xhtml'}, {'path': 'part-003-chapter-015.xhtml', 'file_size': 52748, 'name': 'OEBPS/part-003-chapter-015.xhtml'}, {'path': 'part-003-chapter-016.xhtml', 'file_size': 36516, 'name': 'OEBPS/part-003-chapter-016.xhtml'}, {'path': 'part-003-chapter-017.xhtml', 'file_size': 37353, 'name': 'OEBPS/part-003-chapter-017.xhtml'}, {'path': 'part-003-chapter-018.xhtml', 'file_size': 11591, 'name': 'OEBPS/part-003-chapter-018.xhtml'}, {'path': 'part-003-about-the-author.xhtml', 'file_size': 6056, 'name': 'OEBPS/part-003-about-the-author.xhtml'}, {'path': 'part-003-also-by-gene-doucette.xhtml', 'file_size': 41912, 'name': 'OEBPS/part-003-also-by-gene-doucette.xhtml'}], 'library_container': <calibre.ebooks.oeb.polish.container.EpubContainer object at 0x00000272CF957100>, 'kobo_opf_name': 'OEBPS/volume.opf', 'kobo_opf_dir': 'OEBPS', 'kobo_manifest': [{'path': 'titlepage.xhtml', 'file_size': 848, 'name': 'OEBPS/titlepage.xhtml'}, {'path': 'jacket.xhtml', 'file_size': 7991, 'name': 'OEBPS/jacket.xhtml'}, {'path': 'cover.xhtml', 'file_size': 1305, 'name': 'OEBPS/cover.xhtml'}, {'path': 'title-page.xhtml', 'file_size': 1446, 'name': 'OEBPS/title-page.xhtml'}, {'path': 'copyright.xhtml', 'file_size': 2963, 'name': 'OEBPS/copyright.xhtml'}, {'path': 'epigraph.xhtml', 'file_size': 2102, 'name': 'OEBPS/epigraph.xhtml'}, {'path': 'contents.xhtml', 'file_size': 10149, 'name': 'OEBPS/contents.xhtml'}, {'path': 'part-001.xhtml', 'file_size': 1482, 'name': 'OEBPS/part-001.xhtml'}, {'path': 'part-001-chapter-001.xhtml', 'file_size': 63920, 'name': 'OEBPS/part-001-chapter-001.xhtml'}, {'path': 'part-001-chapter-002.xhtml', 'file_size': 68480, 'name': 'OEBPS/part-001-chapter-002.xhtml'}, {'path': 'part-001-chapter-003.xhtml', 'file_size': 94826, 'name': 'OEBPS/part-001-chapter-003.xhtml'}, {'path': 'part-001-chapter-004.xhtml', 'file_size': 89265, 'name': 'OEBPS/part-001-chapter-004.xhtml'}, {'path': 'part-001-chapter-005.xhtml', 'file_size': 85258, 'name': 'OEBPS/part-001-chapter-005.xhtml'}, {'path': 'part-001-chapter-006.xhtml', 'file_size': 30822, 'name': 'OEBPS/part-001-chapter-006.xhtml'}, {'path': 'part-002.xhtml', 'file_size': 1487, 'name': 'OEBPS/part-002.xhtml'}, {'path': 'part-002-chapter-007.xhtml', 'file_size': 92908, 'name': 'OEBPS/part-002-chapter-007.xhtml'}, {'path': 'part-002-chapter-008.xhtml', 'file_size': 79298, 'name': 'OEBPS/part-002-chapter-008.xhtml'}, {'path': 'part-002-chapter-009.xhtml', 'file_size': 46283, 'name': 'OEBPS/part-002-chapter-009.xhtml'}, {'path': 'part-002-chapter-010.xhtml', 'file_size': 58518, 'name': 'OEBPS/part-002-chapter-010.xhtml'}, {'path': 'part-002-chapter-011.xhtml', 'file_size': 70309, 'name': 'OEBPS/part-002-chapter-011.xhtml'}, {'path': 'part-002-chapter-012.xhtml', 'file_size': 101615, 'name': 'OEBPS/part-002-chapter-012.xhtml'}, {'path': 'part-002-chapter-013.xhtml', 'file_size': 65236, 'name': 'OEBPS/part-002-chapter-013.xhtml'}, {'path': 'part-003.xhtml', 'file_size': 1481, 'name': 'OEBPS/part-003.xhtml'}, {'path': 'part-003-chapter-014.xhtml', 'file_size': 59786, 'name': 'OEBPS/part-003-chapter-014.xhtml'}, {'path': 'part-003-chapter-015.xhtml', 'file_size': 86375, 'name': 'OEBPS/part-003-chapter-015.xhtml'}, {'path': 'part-003-chapter-016.xhtml', 'file_size': 62098, 'name': 'OEBPS/part-003-chapter-016.xhtml'}, {'path': 'part-003-chapter-017.xhtml', 'file_size': 59505, 'name': 'OEBPS/part-003-chapter-017.xhtml'}, {'path': 'part-003-chapter-018.xhtml', 'file_size': 19394, 'name': 'OEBPS/part-003-chapter-018.xhtml'}, {'path': 'part-003-about-the-author.xhtml', 'file_size': 8931, 'name': 'OEBPS/part-003-about-the-author.xhtml'}, {'path': 'part-003-also-by-gene-doucette.xhtml', 'file_size': 55439, 'name': 'OEBPS/part-003-also-by-gene-doucette.xhtml'}], 'kobo_container': <calibre.ebooks.oeb.polish.container.EpubContainer object at 0x00000272CF957070>, 'kobo_database_manifest': [], 'icon': 'toc.png'} DEBUG: 32.9 update_device_toc_for_books - ContentID= file:///mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub DEBUG: 32.9 remove_all_toc_entries - contentId= file:///mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub DEBUG: 33.0 update_device_toc_for_book - bookTitle=Immortal and the Island of Impossible Things, len(book['library_chapters'])=23 DEBUG: 33.0 update_device_toc_for_book - chapter= {'title': 'Cover', 'path': 'titlepage.xhtml-1', 'toc_depth': 1, 'added': False} DEBUG: 33.0 update_device_toc_for_book - chapterContentId= file:///mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!titlepage.xhtml-1 DEBUG: 33.0 getDatabaseChapterId - chapterContentId=None DEBUG: 33.0 update_device_toc_for_book - has_chapter= False DEBUG: 33.0 addChapterToDatabase - regex matches= ('/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!titlepage.xhtml-1', '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!titlepage.xhtml') DEBUG: 33.0 addChapterToDatabase - insertContentData= ('/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!titlepage.xhtml-1', 899, 'application/x-kobo-epub+zip', 'file:///mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub', 'Immortal and the Island of Impossible Things', 'Cover', None, 0, '', 1, '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!titlepage.xhtml') DEBUG: 33.0 update_device_toc_for_book - chapter= {'title': 'Review', 'path': 'jacket.xhtml-1', 'toc_depth': 1, 'added': False} DEBUG: 33.0 update_device_toc_for_book - chapterContentId= file:///mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!jacket.xhtml-1 DEBUG: 33.0 getDatabaseChapterId - chapterContentId=None DEBUG: 33.0 update_device_toc_for_book - has_chapter= False DEBUG: 33.0 addChapterToDatabase - regex matches= ('/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!jacket.xhtml-1', '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!jacket.xhtml') DEBUG: 33.0 addChapterToDatabase - insertContentData= ('/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!jacket.xhtml-1', 899, 'application/x-kobo-epub+zip', 'file:///mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub', 'Immortal and the Island of Impossible Things', 'Review', None, 1, '', 1, '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!jacket.xhtml') DEBUG: 33.0 update_device_toc_for_book - chapter= {'title': 'Part I - Things Slow Down', 'path': 'part-001.xhtml#toc_2-1', 'toc_depth': 1, 'fragment': 'toc_2', 'added': False} DEBUG: 33.0 update_device_toc_for_book - chapterContentId= file:///mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!part-001.xhtml#toc_2-1 DEBUG: 33.1 getDatabaseChapterId - chapterContentId=None DEBUG: 33.1 update_device_toc_for_book - has_chapter= False DEBUG: 33.1 addChapterToDatabase - regex matches= ('/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!part-001', '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!part') DEBUG: 33.1 addChapterToDatabase - insertContentData= ('/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!part-001', 899, 'application/x-kobo-epub+zip', 'file:///mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub', 'Immortal and the Island of Impossible Things', 'Part I - Things Slow Down', None, 2, '', 1, '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!part') DEBUG: 33.1 update_device_toc_for_book - chapter= {'title': 'Chapter 1', 'path': 'part-001-chapter-001.xhtml-2', 'toc_depth': 2, 'added': False} DEBUG: 33.1 update_device_toc_for_book - chapterContentId= file:///mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!part-001-chapter-001.xhtml-2 DEBUG: 33.1 getDatabaseChapterId - chapterContentId=None DEBUG: 33.1 update_device_toc_for_book - has_chapter= False DEBUG: 33.1 addChapterToDatabase - regex matches= ('/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!part-001', '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!part') DEBUG: 33.1 addChapterToDatabase - insertContentData= ('/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!part-001', 899, 'application/x-kobo-epub+zip', 'file:///mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub', 'Immortal and the Island of Impossible Things', 'Chapter 1', None, 3, '', 2, '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!part') calibre 5.34 [64bit] embedded-python: True is64bit: True Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.19041') Python 3.8.5 Windows: ('10', '10.0.19041', '', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: DeDRM (7, 1, 0) && GetFileName (0, 1, 1) && Goodreads (1, 5, 1) && Kobo Utilities (2, 14, 1) && KoboTouchExtended (3, 5, 4) && Modify ePub (1, 6, 3) && Quality Check (1, 11, 4) Traceback (most recent call last): File "calibre_plugins.koboutilities.action", line 5361, in update_book_toc_on_device File "calibre_plugins.koboutilities.action", line 5789, in update_device_toc_for_books File "calibre_plugins.koboutilities.action", line 5813, in update_device_toc_for_book File "calibre_plugins.koboutilities.action", line 5926, in addChapterToDatabase apsw.ConstraintError: ConstraintError: UNIQUE constraint failed: content.ContentID |
|
12-24-2021, 07:06 AM | #2374 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
(Merged the post to this thread as it is was in the wrong place.)
The issue us a duplicate entry. In the logs, the following two lines show the duplicates: Code:
DEBUG: 33.1 addChapterToDatabase - insertContentData= ('/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!part-001', 899, 'application/x-kobo-epub+zip', 'file:///mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub', 'Immortal and the Island of Impossible Things', 'Part I - Things Slow Down', None, 2, '', 1, '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!part') DEBUG: 33.1 addChapterToDatabase - insertContentData= ('/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!part-001', 899, 'application/x-kobo-epub+zip', 'file:///mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub', 'Immortal and the Island of Impossible Things', 'Chapter 1', None, 3, '', 2, '/mnt/onboard/Doucette, Gene/Immortal and the Island of Impossible Things - Gene Doucette.kepub.epub!OEBPS!part') There is something else wrong in it. I can't tell from the log exactly what. I need to see the original book, or at least the ToC from it. If this is available freely and legally from somewhere, can you post a link? Or put it somewhere for me to download and PM the link. I'd usually suggest using the ScrambleBook plugin to produce one that could be posted, but, I think that will cause some issues when I test. There is a bug in the plugin for this, as the device does handle it. But, I haven't fixed that problem and tend to think it is better to fix the ToC. In this case, if you sideload the book and look at the ToC, it will probably be missing at least one ToC. It will only have one of the entries related to the duplicates being seen here. |
12-24-2021, 12:02 PM | #2375 |
Guru
Posts: 746
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
|
Sorry for originally putting this question in the wrong place. I wasn't sure if you wanted this level of detail in the plugin thread.
The odd thing with the duplicate keys is that according to Calibre, those two elements don't point to the same thing: Part I - Things Slow Down points to OEBPS/part-001.xhtml#toc_2, while Chapter 1 points to OEBPS/part-001-chapter-001.xhtml Editing the book in Calibre and looking under the Miscellaneous area at toc.nxc, there's the following: Code:
<ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1" xml:lang="en"> <head> <meta name="dtb:uid" content="urn:uuid:01019BD2-D0FE-48A4-AB7F-4186CCC1181A"/> <meta name="dtb:depth" content="3"/> <meta name="dtb:generator" content="calibre (5.34.0)"/> <meta name="dtb:totalPageCount" content="0"/> <meta name="dtb:maxPageNumber" content="0"/> </head> <docTitle> <text>Immortal and the Island of Impossible Things</text> </docTitle> <navMap> <navPoint id="num_1" playOrder="1"> <navLabel> <text>Cover</text> </navLabel> <content src="OEBPS/titlepage.xhtml"/> </navPoint> <navPoint id="num_3" playOrder="2"> <navLabel> <text>Part I - Things Slow Down</text> </navLabel> <content src="OEBPS/part-001.xhtml#toc_2"/> <navPoint id="num_4" playOrder="3"> <navLabel> <text>Chapter 1</text> </navLabel> <content src="OEBPS/part-001-chapter-001.xhtml"/> </navPoint> <navPoint id="num_5" playOrder="4"> <navLabel> <text>Chapter 2</text> </navLabel> <content src="OEBPS/part-001-chapter-002.xhtml"/> </navPoint> <navPoint id="num_6" playOrder="5"> <navLabel> <text>Chapter 3</text> </navLabel> <content src="OEBPS/part-001-chapter-003.xhtml"/> </navPoint> <navPoint id="num_7" playOrder="6"> <navLabel> <text>Chapter 4</text> </navLabel> <content src="OEBPS/part-001-chapter-004.xhtml"/> </navPoint> <navPoint id="num_8" playOrder="7"> <navLabel> <text>Chapter 5</text> </navLabel> <content src="OEBPS/part-001-chapter-005.xhtml"/> </navPoint> <navPoint id="num_9" playOrder="8"> <navLabel> <text>Chapter 6</text> </navLabel> <content src="OEBPS/part-001-chapter-006.xhtml"/> </navPoint> </navPoint> <navPoint id="num_10" playOrder="9"> <navLabel> <text>Part II - There and Back Again</text> </navLabel> <content src="OEBPS/part-002.xhtml#toc_2"/> <navPoint id="num_11" playOrder="10"> <navLabel> <text>Chapter 7</text> </navLabel> <content src="OEBPS/part-002-chapter-007.xhtml"/> </navPoint> <navPoint id="num_12" playOrder="11"> <navLabel> <text>Chapter 8</text> </navLabel> <content src="OEBPS/part-002-chapter-008.xhtml"/> </navPoint> <navPoint id="num_13" playOrder="12"> <navLabel> <text>Chapter 9</text> </navLabel> <content src="OEBPS/part-002-chapter-009.xhtml"/> </navPoint> <navPoint id="num_14" playOrder="13"> <navLabel> <text>Chapter 10</text> </navLabel> <content src="OEBPS/part-002-chapter-010.xhtml"/> </navPoint> <navPoint id="num_15" playOrder="14"> <navLabel> <text>Chapter 11</text> </navLabel> <content src="OEBPS/part-002-chapter-011.xhtml"/> </navPoint> <navPoint id="num_16" playOrder="15"> <navLabel> <text>Chapter 12</text> </navLabel> <content src="OEBPS/part-002-chapter-012.xhtml"/> </navPoint> <navPoint id="num_17" playOrder="16"> <navLabel> <text>Chapter 13</text> </navLabel> <content src="OEBPS/part-002-chapter-013.xhtml"/> </navPoint> </navPoint> <navPoint id="num_18" playOrder="17"> <navLabel> <text>Part III - The Priestess</text> </navLabel> <content src="OEBPS/part-003.xhtml#toc_2"/> <navPoint id="num_19" playOrder="18"> <navLabel> <text>Chapter 14</text> </navLabel> <content src="OEBPS/part-003-chapter-014.xhtml"/> </navPoint> <navPoint id="num_20" playOrder="19"> <navLabel> <text>Chapter 15</text> </navLabel> <content src="OEBPS/part-003-chapter-015.xhtml"/> </navPoint> <navPoint id="num_21" playOrder="20"> <navLabel> <text>Chapter 16</text> </navLabel> <content src="OEBPS/part-003-chapter-016.xhtml"/> </navPoint> <navPoint id="num_22" playOrder="21"> <navLabel> <text>Chapter 17</text> </navLabel> <content src="OEBPS/part-003-chapter-017.xhtml"/> </navPoint> <navPoint id="num_23" playOrder="22"> <navLabel> <text>Chapter 18</text> </navLabel> <content src="OEBPS/part-003-chapter-018.xhtml"/> </navPoint> </navPoint> </navMap> </ncx> Code:
<?xml version='1.0' encoding='utf-8'?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="en" epub:prefix="z3998: http://www.daisy.org/z3998/2012/vocab/structure/" lang="en"> <head> <title>Table of Contents</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> </head> <body> <nav epub:type="toc"> <ol> <li><a href="titlepage.xhtml">Cover</a></li> <li><a href="jacket.xhtml">Review</a></li> <li> <a href="part-001.xhtml#toc_2">Part I - Things Slow Down</a> <ol> <li><a href="part-001-chapter-001.xhtml">Chapter 1</a></li> <li><a href="part-001-chapter-002.xhtml">Chapter 2</a></li> <li><a href="part-001-chapter-003.xhtml">Chapter 3</a></li> <li><a href="part-001-chapter-004.xhtml">Chapter 4</a></li> <li><a href="part-001-chapter-005.xhtml">Chapter 5</a></li> <li><a href="part-001-chapter-006.xhtml">Chapter 6</a></li> </ol> </li> <li> <a href="part-002.xhtml#toc_2">Part II - There and Back Again</a> <ol> <li><a href="part-002-chapter-007.xhtml">Chapter 7</a></li> <li><a href="part-002-chapter-008.xhtml">Chapter 8</a></li> <li><a href="part-002-chapter-009.xhtml">Chapter 9</a></li> <li><a href="part-002-chapter-010.xhtml">Chapter 10</a></li> <li><a href="part-002-chapter-011.xhtml">Chapter 11</a></li> <li><a href="part-002-chapter-012.xhtml">Chapter 12</a></li> <li><a href="part-002-chapter-013.xhtml">Chapter 13</a></li> </ol> </li> <li> <a href="part-003.xhtml#toc_2">Part III - The Priestess</a> <ol> <li><a href="part-003-chapter-014.xhtml">Chapter 14</a></li> <li><a href="part-003-chapter-015.xhtml">Chapter 15</a></li> <li><a href="part-003-chapter-016.xhtml">Chapter 16</a></li> <li><a href="part-003-chapter-017.xhtml">Chapter 17</a></li> <li><a href="part-003-chapter-018.xhtml">Chapter 18</a></li> </ol> </li> </ol> </nav> <nav epub:type="landmarks"> <ol> <li><a href="cover.xhtml" epub:type="cover">Cover</a></li> <li><a href="title-page.xhtml" epub:type="titlepage">Title Page</a></li> <li><a href="copyright.xhtml" epub:type="copyright-page">Copyright</a></li> <li><a href="epigraph.xhtml" epub:type="epigraph">Epigraph</a></li> <li><a href="contents.xhtml" epub:type="toc">Contents</a></li> <li><a href="part-001.xhtml" epub:type="bodymatter">Beginning</a></li> <li><a href="part-003-about-the-author.xhtml" epub:type="z3998:biographical-note">About the Author</a></li> <li><a href="part-003-also-by-gene-doucette.xhtml" epub:type="z3998:published-works">Also by Gene Doucette</a></li> </ol> </nav> </body> </html> The following image shows the text sidebar and looks like it contains all the appropriate file names. The one thing that bothers me is that the File Preview sidebar shows a clump of things at the bottom from the toc.xhtml that aren't in the toc.ncx. I wonder if those might be the cause of the duplicates. EDIT: that last image is pretty blurry at the forum's maximum allowed resolution. Here are a couple of the regions separately (and hopefully more clear): and Last edited by enuddleyarbl; 12-24-2021 at 12:17 PM. |
Advert | |
|
12-24-2021, 12:12 PM | #2376 |
Well trained by Cats
Posts: 30,416
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
That is why you use the Scramble book PI
It replaces the Text (the part that copyright protects) with random stuff, but leaves the structure intact |
12-24-2021, 01:54 PM | #2377 |
Guru
Posts: 746
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
|
OK. I've now replaced the ToC again, but this time used the Generate ToC from Files option. It still gives the same error. So, I've used the ScrambleEbook PI on the book, uploaded it to Google Drive and am sharing the link here (hopefully, Google Drive won't do anything bad to the file):
https://drive.google.com/file/d/1G6R...ew?usp=sharing According to the Preview function of that PI, the scrambled version seems like it's good. But, we'll see. EDIT: I downloaded that scrambled version from Google Drive to my system and added it to Calibre and then my Forma. Tried to update the ToC as above and got the same error. So, it looks like that scrambled version of the book should be a good debugging proxy for the actual book. Last edited by enuddleyarbl; 12-24-2021 at 03:04 PM. |
12-24-2021, 03:50 PM | #2378 |
null operator (he/him)
Posts: 20,961
Karma: 27620690
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
12-25-2021, 06:21 AM | #2379 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Beta - Fix issues with updating ToC
Attached is a beta that should fix the ToC updating issue that has been reported by @DaveLessnau. The issue was in how I was building the ToC entries. I used some regex that didn't work correctly with the file names in this book. It was a fairly obvious when I worked out what was going on.
Please test and tell me if there are any problems. |
12-25-2021, 01:33 PM | #2380 | |
Guru
Posts: 746
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
|
Quote:
I hope this didn't interfere with any celebrations you had planned. So, just in case, Merry Christmas! |
|
12-26-2021, 11:47 AM | #2381 |
Custom User Title
Posts: 9,376
Karma: 64435965
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: If I archive an unread Kobo book, the percent read gets set to 100 and it continually prompts me to save that. Is there any way to make it stop doing that?
I vaguely remember seeing a setting somewhere involving archived books, but I've not been able to find it again. |
12-26-2021, 08:24 PM | #2382 |
Junior Member
Posts: 5
Karma: 10
Join Date: Dec 2021
Device: ipad
|
Hi there
I am new to the forum, and would need your help. When I try to convert a kepub format book to pdf, downloaded from kobo (the desktop app) using the Calibre Obok DeDRM plugin, the book is displayed to me in "strange", unintelligible characters. Does anyone know how to help me? thank you in advance |
12-26-2021, 08:55 PM | #2383 | |
Bibliophagist
Posts: 39,964
Karma: 154914010
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
One quick question is if you can open and read the kepub after it is imported to calibre using the e-book viewer? |
|
12-27-2021, 07:39 AM | #2384 | ||
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
|
||
12-27-2021, 12:36 PM | #2385 |
Custom User Title
Posts: 9,376
Karma: 64435965
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Hmm, after archiving the book a second time I can't get it to replicate. I'm guessing something went weird with the first archive.
|
Tags |
calibre, kobo, kobo utilities, kobo-utilities, plugins |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Manga plugin | mastertea | Plugins | 6 | 01-06-2022 02:43 AM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |
Kobo Utilities Plugin Question | nikev | Kobo Reader | 10 | 09-25-2018 11:55 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |