View Single Post
Old 12-24-2021, 07:06 AM   #2374
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
(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')
The highlighted bits show the duplicate key that gets inserted and the text for the ToC entry. That suggests that those to ToC entries point to the top of the same file, which is "part-001".

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.
davidfor is offline