![]() |
#1621 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 167
Karma: 1497966
Join Date: Jul 2021
Device: N/A
|
Ooops, I was debugging while you were posting, I haven't seen your last post.
Here is the log emitted by the version of your post: Spoiler:
|
![]() |
![]() |
![]() |
#1622 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
@lomkiri: Thanks for the Linux confirmation. I was getting worried that I was the only one seeing this and I don't have my Linux-legs yet. I can't figure out from where the non-dc elements are being removed (or not removed). But, it's not the end of the world. I just reported it here in case it might help in tracking down the ToC thing.
@chaley: I confirm almost everything lomkiri said. So, I assume you don't need me to send epubs. I've had the same problem with another non-opensource book that I tried this on. The one thing I can't confirm is the permissions on the folder (I can't figure out how to do that). I'll try the new test plugin and report back. Thanks for the work. |
![]() |
![]() |
Advert | |
|
![]() |
#1623 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Spoiler:
Note the contents of the name map. On yours they are full paths. On mine they are relative paths. The question is why? It seems clear that abshref() is broken somehow.
|
|
![]() |
![]() |
![]() |
#1624 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
And here's my log with the new version (different book):
Code:
Modify ePubs version (1, 7, 1)
Logfile for book ID 4 (Pride and Prejudice / Jane Austen)
Job details 4
Modifying: /tmp/calibre_5.41.0_tmp_l5cvv163/_qt6xi7p_modify_epub/4.epub
Parsing xml file: content.opf
Parsing xml file: toc.ncx
Looking for broken links in the NCX
ncx name: toc.ncx
Name map 0: /tmp/calibre_5.41.0_tmp_l5cvv163/jacket.xhtml, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-01.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-02.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-03.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-04.html
Name map 5: /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-05.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-06.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-07.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-08.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-09.html
Name map 10: /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-10.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-11.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-12.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-13.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-14.html
Name map 15: /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-15.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-16.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-17.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-18.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-19.html
Name map 20: /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-20.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-21.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-22.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-23.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-24.html
Name map 25: /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-25.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-26.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-27.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-28.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-29.html
Name map 30: /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-30.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-31.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-32.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-33.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-34.html
Name map 35: /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-35.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-36.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-37.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-38.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-39.html
Name map 40: /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-40.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-41.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-42.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-43.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-44.html
Name map 45: /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-45.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-46.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-47.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-48.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-49.html
Name map 50: /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-50.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-51.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-52.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-53.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-54.html
Name map 55: /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-55.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-56.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-57.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-58.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-59.html
Name map 60: /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-60.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/chapter-61.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/titleauthor.html, /tmp/calibre_5.41.0_tmp_l5cvv163/text/titlepage.xhtml, /tmp/calibre_5.41.0_tmp_l5cvv163/toc.xhtml
Looping over ncx entries
ncx src=text/titleauthor.html, rel path=text/titleauthor.html, in map: False
TOC Navpoint broken to remove of: text/titleauthor.html
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
TOC Navpoint child promoted
ncx src=text/chapter-01.html, rel path=text/chapter-01.html, in map: False
TOC Navpoint broken to remove of: text/chapter-01.html
ncx src=text/chapter-02.html, rel path=text/chapter-02.html, in map: False
TOC Navpoint broken to remove of: text/chapter-02.html
ncx src=text/chapter-03.html, rel path=text/chapter-03.html, in map: False
TOC Navpoint broken to remove of: text/chapter-03.html
ncx src=text/chapter-04.html, rel path=text/chapter-04.html, in map: False
TOC Navpoint broken to remove of: text/chapter-04.html
ncx src=text/chapter-05.html, rel path=text/chapter-05.html, in map: False
TOC Navpoint broken to remove of: text/chapter-05.html
ncx src=text/chapter-06.html, rel path=text/chapter-06.html, in map: False
TOC Navpoint broken to remove of: text/chapter-06.html
ncx src=text/chapter-07.html, rel path=text/chapter-07.html, in map: False
TOC Navpoint broken to remove of: text/chapter-07.html
ncx src=text/chapter-08.html, rel path=text/chapter-08.html, in map: False
TOC Navpoint broken to remove of: text/chapter-08.html
ncx src=text/chapter-09.html, rel path=text/chapter-09.html, in map: False
TOC Navpoint broken to remove of: text/chapter-09.html
ncx src=text/chapter-10.html, rel path=text/chapter-10.html, in map: False
TOC Navpoint broken to remove of: text/chapter-10.html
ncx src=text/chapter-11.html, rel path=text/chapter-11.html, in map: False
TOC Navpoint broken to remove of: text/chapter-11.html
ncx src=text/chapter-12.html, rel path=text/chapter-12.html, in map: False
TOC Navpoint broken to remove of: text/chapter-12.html
ncx src=text/chapter-13.html, rel path=text/chapter-13.html, in map: False
TOC Navpoint broken to remove of: text/chapter-13.html
ncx src=text/chapter-14.html, rel path=text/chapter-14.html, in map: False
TOC Navpoint broken to remove of: text/chapter-14.html
ncx src=text/chapter-15.html, rel path=text/chapter-15.html, in map: False
TOC Navpoint broken to remove of: text/chapter-15.html
ncx src=text/chapter-16.html, rel path=text/chapter-16.html, in map: False
TOC Navpoint broken to remove of: text/chapter-16.html
ncx src=text/chapter-17.html, rel path=text/chapter-17.html, in map: False
TOC Navpoint broken to remove of: text/chapter-17.html
ncx src=text/chapter-18.html, rel path=text/chapter-18.html, in map: False
TOC Navpoint broken to remove of: text/chapter-18.html
ncx src=text/chapter-19.html, rel path=text/chapter-19.html, in map: False
TOC Navpoint broken to remove of: text/chapter-19.html
ncx src=text/chapter-20.html, rel path=text/chapter-20.html, in map: False
TOC Navpoint broken to remove of: text/chapter-20.html
ncx src=text/chapter-21.html, rel path=text/chapter-21.html, in map: False
TOC Navpoint broken to remove of: text/chapter-21.html
ncx src=text/chapter-22.html, rel path=text/chapter-22.html, in map: False
TOC Navpoint broken to remove of: text/chapter-22.html
ncx src=text/chapter-23.html, rel path=text/chapter-23.html, in map: False
TOC Navpoint broken to remove of: text/chapter-23.html
ncx src=text/chapter-24.html, rel path=text/chapter-24.html, in map: False
TOC Navpoint broken to remove of: text/chapter-24.html
ncx src=text/chapter-25.html, rel path=text/chapter-25.html, in map: False
TOC Navpoint broken to remove of: text/chapter-25.html
ncx src=text/chapter-26.html, rel path=text/chapter-26.html, in map: False
TOC Navpoint broken to remove of: text/chapter-26.html
ncx src=text/chapter-27.html, rel path=text/chapter-27.html, in map: False
TOC Navpoint broken to remove of: text/chapter-27.html
ncx src=text/chapter-28.html, rel path=text/chapter-28.html, in map: False
TOC Navpoint broken to remove of: text/chapter-28.html
ncx src=text/chapter-29.html, rel path=text/chapter-29.html, in map: False
TOC Navpoint broken to remove of: text/chapter-29.html
ncx src=text/chapter-30.html, rel path=text/chapter-30.html, in map: False
TOC Navpoint broken to remove of: text/chapter-30.html
ncx src=text/chapter-31.html, rel path=text/chapter-31.html, in map: False
TOC Navpoint broken to remove of: text/chapter-31.html
ncx src=text/chapter-32.html, rel path=text/chapter-32.html, in map: False
TOC Navpoint broken to remove of: text/chapter-32.html
ncx src=text/chapter-33.html, rel path=text/chapter-33.html, in map: False
TOC Navpoint broken to remove of: text/chapter-33.html
ncx src=text/chapter-34.html, rel path=text/chapter-34.html, in map: False
TOC Navpoint broken to remove of: text/chapter-34.html
ncx src=text/chapter-35.html, rel path=text/chapter-35.html, in map: False
TOC Navpoint broken to remove of: text/chapter-35.html
ncx src=text/chapter-36.html, rel path=text/chapter-36.html, in map: False
TOC Navpoint broken to remove of: text/chapter-36.html
ncx src=text/chapter-37.html, rel path=text/chapter-37.html, in map: False
TOC Navpoint broken to remove of: text/chapter-37.html
ncx src=text/chapter-38.html, rel path=text/chapter-38.html, in map: False
TOC Navpoint broken to remove of: text/chapter-38.html
ncx src=text/chapter-39.html, rel path=text/chapter-39.html, in map: False
TOC Navpoint broken to remove of: text/chapter-39.html
ncx src=text/chapter-40.html, rel path=text/chapter-40.html, in map: False
TOC Navpoint broken to remove of: text/chapter-40.html
ncx src=text/chapter-41.html, rel path=text/chapter-41.html, in map: False
TOC Navpoint broken to remove of: text/chapter-41.html
ncx src=text/chapter-42.html, rel path=text/chapter-42.html, in map: False
TOC Navpoint broken to remove of: text/chapter-42.html
ncx src=text/chapter-43.html, rel path=text/chapter-43.html, in map: False
TOC Navpoint broken to remove of: text/chapter-43.html
ncx src=text/chapter-44.html, rel path=text/chapter-44.html, in map: False
TOC Navpoint broken to remove of: text/chapter-44.html
ncx src=text/chapter-45.html, rel path=text/chapter-45.html, in map: False
TOC Navpoint broken to remove of: text/chapter-45.html
ncx src=text/chapter-46.html, rel path=text/chapter-46.html, in map: False
TOC Navpoint broken to remove of: text/chapter-46.html
ncx src=text/chapter-47.html, rel path=text/chapter-47.html, in map: False
TOC Navpoint broken to remove of: text/chapter-47.html
ncx src=text/chapter-48.html, rel path=text/chapter-48.html, in map: False
TOC Navpoint broken to remove of: text/chapter-48.html
ncx src=text/chapter-49.html, rel path=text/chapter-49.html, in map: False
TOC Navpoint broken to remove of: text/chapter-49.html
ncx src=text/chapter-50.html, rel path=text/chapter-50.html, in map: False
TOC Navpoint broken to remove of: text/chapter-50.html
ncx src=text/chapter-51.html, rel path=text/chapter-51.html, in map: False
TOC Navpoint broken to remove of: text/chapter-51.html
ncx src=text/chapter-52.html, rel path=text/chapter-52.html, in map: False
TOC Navpoint broken to remove of: text/chapter-52.html
ncx src=text/chapter-53.html, rel path=text/chapter-53.html, in map: False
TOC Navpoint broken to remove of: text/chapter-53.html
ncx src=text/chapter-54.html, rel path=text/chapter-54.html, in map: False
TOC Navpoint broken to remove of: text/chapter-54.html
ncx src=text/chapter-55.html, rel path=text/chapter-55.html, in map: False
TOC Navpoint broken to remove of: text/chapter-55.html
ncx src=text/chapter-56.html, rel path=text/chapter-56.html, in map: False
TOC Navpoint broken to remove of: text/chapter-56.html
ncx src=text/chapter-57.html, rel path=text/chapter-57.html, in map: False
TOC Navpoint broken to remove of: text/chapter-57.html
ncx src=text/chapter-58.html, rel path=text/chapter-58.html, in map: False
TOC Navpoint broken to remove of: text/chapter-58.html
ncx src=text/chapter-59.html, rel path=text/chapter-59.html, in map: False
TOC Navpoint broken to remove of: text/chapter-59.html
ncx src=text/chapter-60.html, rel path=text/chapter-60.html, in map: False
TOC Navpoint broken to remove of: text/chapter-60.html
ncx src=text/chapter-61.html, rel path=text/chapter-61.html, in map: False
TOC Navpoint broken to remove of: text/chapter-61.html
Looking for non dc: elements in manifest
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
ePub updated in 0.10 seconds
|
![]() |
![]() |
![]() |
#1625 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
Advert | |
|
![]() |
#1626 | ||
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 167
Karma: 1497966
Join Date: Jul 2021
Device: N/A
|
Quote:
Note: even if you haven't saved the original, it's saved with the extention "original_epub", but the editor cannot read such extentions, so if you want to compare something to it, you'll have to change the extention first. Quote:
open the folder of the book in the library (shortcut: O) copy the pathname in clipboard in a terminal: ls -rl <the-path> The list should starts with -rw- (which are the permission for the user. The rest of the letters or dashes are for "group" and for "others." For more details, you'll find a lots of web-site explaining the system of the permissions) You'll get the same informations in your file manager, in the properties-tab of the folder and of each file. |
||
![]() |
![]() |
![]() |
#1627 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@lomkiri: the log you provided shows that the key to the name_path_map dict on Linux is the full path. On windows, the key is the relative name.
On windows: Code:
root: C:\Users\Charles\AppData\Local\Temp\calibre_b79oq7bw\4vvfit2c_modify-epub [...] dirpath: C:\Users\Charles\AppData\Local\Temp\calibre_b79oq7bw\4vvfit2c_modify-epub\Ops filename: 1.html path:C:\Users\Charles\AppData\Local\Temp\calibre_b79oq7bw\4vvfit2c_modify-epub\Ops\1.html name: Ops/1.html I wonder why the code is written using relpath(). The root path should always be a prefix of the file path. I will try that. If it works on windows then I will post another test version. EDIT: See later post. I am reasonably sure the path was changed somewhere else just before the ncx was checked. Last edited by chaley; 04-23-2022 at 11:32 AM. |
![]() |
![]() |
![]() |
#1628 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Using the path as a prefix instead of using relpath() works on windows. A version using that code is attached.
EDIT: Never mind. This broke a lot of other things. Last edited by chaley; 04-23-2022 at 11:16 AM. Reason: Removed test version |
![]() |
![]() |
![]() |
#1629 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Sorry about the churn, but I think this might fix it. I think the problem was how the lower-case html file map was being generated. This is a very localized change to how that is done.
|
![]() |
![]() |
![]() |
#1630 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 167
Karma: 1497966
Join Date: Jul 2021
Device: N/A
|
|
![]() |
![]() |
![]() |
#1631 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@DaveLessnau: try the test version. It should fix the ncx problem.
Regarding the non-dc problem: one of the things I noticed during my testing is that if you check the "Update Metadata" box *AND* the "Remove non dc:" box then the plugin carefully removes the non dc stuff, then carefully puts it back while updating the metadata. One could argue that checking the "Update metadata" box should grey out the "Remove non dc: metadata box". It that is easy I will do it. EDIT: maybe not. The removal could take out a lot of cruft from elsewhere, then the add puts in the current stuff. I will leave well enough alone. |
![]() |
![]() |
![]() |
#1632 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#1633 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
In my case, the test_4 version failed. It looks like it worked regarding the ToC, but overall it came back saying it failed:
Code:
calibre, version 5.41.0 ERROR: Modify ePub failed: No ePub files were updated Modify ePubs version (1, 7, 1) Logfile for book ID 4 (Pride and Prejudice / Jane Austen) Job details 4 Modifying: /tmp/calibre_5.41.0_tmp_n1qkgbl5/qx0mehm1_modify_epub/4.epub Parsing xml file: content.opf Parsing xml file: toc.ncx Looking for broken links in the NCX ncx name: toc.ncx Name map 0: jacket.xhtml, text/chapter-01.html, text/chapter-02.html, text/chapter-03.html, text/chapter-04.html Name map 5: text/chapter-05.html, text/chapter-06.html, text/chapter-07.html, text/chapter-08.html, text/chapter-09.html Name map 10: text/chapter-10.html, text/chapter-11.html, text/chapter-12.html, text/chapter-13.html, text/chapter-14.html Name map 15: text/chapter-15.html, text/chapter-16.html, text/chapter-17.html, text/chapter-18.html, text/chapter-19.html Name map 20: text/chapter-20.html, text/chapter-21.html, text/chapter-22.html, text/chapter-23.html, text/chapter-24.html Name map 25: text/chapter-25.html, text/chapter-26.html, text/chapter-27.html, text/chapter-28.html, text/chapter-29.html Name map 30: text/chapter-30.html, text/chapter-31.html, text/chapter-32.html, text/chapter-33.html, text/chapter-34.html Name map 35: text/chapter-35.html, text/chapter-36.html, text/chapter-37.html, text/chapter-38.html, text/chapter-39.html Name map 40: text/chapter-40.html, text/chapter-41.html, text/chapter-42.html, text/chapter-43.html, text/chapter-44.html Name map 45: text/chapter-45.html, text/chapter-46.html, text/chapter-47.html, text/chapter-48.html, text/chapter-49.html Name map 50: text/chapter-50.html, text/chapter-51.html, text/chapter-52.html, text/chapter-53.html, text/chapter-54.html Name map 55: text/chapter-55.html, text/chapter-56.html, text/chapter-57.html, text/chapter-58.html, text/chapter-59.html Name map 60: text/chapter-60.html, text/chapter-61.html, text/titleauthor.html, text/titlepage.xhtml, toc.xhtml Looping over ncx entries ncx src=text/titleauthor.html, rel path=text/titleauthor.html, in map: True ncx src=text/chapter-01.html, rel path=text/chapter-01.html, in map: True ncx src=text/chapter-02.html, rel path=text/chapter-02.html, in map: True ncx src=text/chapter-03.html, rel path=text/chapter-03.html, in map: True ncx src=text/chapter-04.html, rel path=text/chapter-04.html, in map: True ncx src=text/chapter-05.html, rel path=text/chapter-05.html, in map: True ncx src=text/chapter-06.html, rel path=text/chapter-06.html, in map: True ncx src=text/chapter-07.html, rel path=text/chapter-07.html, in map: True ncx src=text/chapter-08.html, rel path=text/chapter-08.html, in map: True ncx src=text/chapter-09.html, rel path=text/chapter-09.html, in map: True ncx src=text/chapter-10.html, rel path=text/chapter-10.html, in map: True ncx src=text/chapter-11.html, rel path=text/chapter-11.html, in map: True ncx src=text/chapter-12.html, rel path=text/chapter-12.html, in map: True ncx src=text/chapter-13.html, rel path=text/chapter-13.html, in map: True ncx src=text/chapter-14.html, rel path=text/chapter-14.html, in map: True ncx src=text/chapter-15.html, rel path=text/chapter-15.html, in map: True ncx src=text/chapter-16.html, rel path=text/chapter-16.html, in map: True ncx src=text/chapter-17.html, rel path=text/chapter-17.html, in map: True ncx src=text/chapter-18.html, rel path=text/chapter-18.html, in map: True ncx src=text/chapter-19.html, rel path=text/chapter-19.html, in map: True ncx src=text/chapter-20.html, rel path=text/chapter-20.html, in map: True ncx src=text/chapter-21.html, rel path=text/chapter-21.html, in map: True ncx src=text/chapter-22.html, rel path=text/chapter-22.html, in map: True ncx src=text/chapter-23.html, rel path=text/chapter-23.html, in map: True ncx src=text/chapter-24.html, rel path=text/chapter-24.html, in map: True ncx src=text/chapter-25.html, rel path=text/chapter-25.html, in map: True ncx src=text/chapter-26.html, rel path=text/chapter-26.html, in map: True ncx src=text/chapter-27.html, rel path=text/chapter-27.html, in map: True ncx src=text/chapter-28.html, rel path=text/chapter-28.html, in map: True ncx src=text/chapter-29.html, rel path=text/chapter-29.html, in map: True ncx src=text/chapter-30.html, rel path=text/chapter-30.html, in map: True ncx src=text/chapter-31.html, rel path=text/chapter-31.html, in map: True ncx src=text/chapter-32.html, rel path=text/chapter-32.html, in map: True ncx src=text/chapter-33.html, rel path=text/chapter-33.html, in map: True ncx src=text/chapter-34.html, rel path=text/chapter-34.html, in map: True ncx src=text/chapter-35.html, rel path=text/chapter-35.html, in map: True ncx src=text/chapter-36.html, rel path=text/chapter-36.html, in map: True ncx src=text/chapter-37.html, rel path=text/chapter-37.html, in map: True ncx src=text/chapter-38.html, rel path=text/chapter-38.html, in map: True ncx src=text/chapter-39.html, rel path=text/chapter-39.html, in map: True ncx src=text/chapter-40.html, rel path=text/chapter-40.html, in map: True ncx src=text/chapter-41.html, rel path=text/chapter-41.html, in map: True ncx src=text/chapter-42.html, rel path=text/chapter-42.html, in map: True ncx src=text/chapter-43.html, rel path=text/chapter-43.html, in map: True ncx src=text/chapter-44.html, rel path=text/chapter-44.html, in map: True ncx src=text/chapter-45.html, rel path=text/chapter-45.html, in map: True ncx src=text/chapter-46.html, rel path=text/chapter-46.html, in map: True ncx src=text/chapter-47.html, rel path=text/chapter-47.html, in map: True ncx src=text/chapter-48.html, rel path=text/chapter-48.html, in map: True ncx src=text/chapter-49.html, rel path=text/chapter-49.html, in map: True ncx src=text/chapter-50.html, rel path=text/chapter-50.html, in map: True ncx src=text/chapter-51.html, rel path=text/chapter-51.html, in map: True ncx src=text/chapter-52.html, rel path=text/chapter-52.html, in map: True ncx src=text/chapter-53.html, rel path=text/chapter-53.html, in map: True ncx src=text/chapter-54.html, rel path=text/chapter-54.html, in map: True ncx src=text/chapter-55.html, rel path=text/chapter-55.html, in map: True ncx src=text/chapter-56.html, rel path=text/chapter-56.html, in map: True ncx src=text/chapter-57.html, rel path=text/chapter-57.html, in map: True ncx src=text/chapter-58.html, rel path=text/chapter-58.html, in map: True ncx src=text/chapter-59.html, rel path=text/chapter-59.html, in map: True ncx src=text/chapter-60.html, rel path=text/chapter-60.html, in map: True ncx src=text/chapter-61.html, rel path=text/chapter-61.html, in map: True ePub not changed after 0.04 seconds |
![]() |
![]() |
![]() |
#1634 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
Interesting. It fails if I check ONLY for the ToC stuff. If I run it again but ALSO check for the non-dc stuff, it works:
Code:
Modify ePubs version (1, 7, 1)
Logfile for book ID 4 (Pride and Prejudice / Jane Austen)
Job details 4
Modifying: /tmp/calibre_5.41.0_tmp_n1qkgbl5/y_2w0dkh_modify_epub/4.epub
Parsing xml file: content.opf
Parsing xml file: toc.ncx
Looking for broken links in the NCX
ncx name: toc.ncx
Name map 0: jacket.xhtml, text/chapter-01.html, text/chapter-02.html, text/chapter-03.html, text/chapter-04.html
Name map 5: text/chapter-05.html, text/chapter-06.html, text/chapter-07.html, text/chapter-08.html, text/chapter-09.html
Name map 10: text/chapter-10.html, text/chapter-11.html, text/chapter-12.html, text/chapter-13.html, text/chapter-14.html
Name map 15: text/chapter-15.html, text/chapter-16.html, text/chapter-17.html, text/chapter-18.html, text/chapter-19.html
Name map 20: text/chapter-20.html, text/chapter-21.html, text/chapter-22.html, text/chapter-23.html, text/chapter-24.html
Name map 25: text/chapter-25.html, text/chapter-26.html, text/chapter-27.html, text/chapter-28.html, text/chapter-29.html
Name map 30: text/chapter-30.html, text/chapter-31.html, text/chapter-32.html, text/chapter-33.html, text/chapter-34.html
Name map 35: text/chapter-35.html, text/chapter-36.html, text/chapter-37.html, text/chapter-38.html, text/chapter-39.html
Name map 40: text/chapter-40.html, text/chapter-41.html, text/chapter-42.html, text/chapter-43.html, text/chapter-44.html
Name map 45: text/chapter-45.html, text/chapter-46.html, text/chapter-47.html, text/chapter-48.html, text/chapter-49.html
Name map 50: text/chapter-50.html, text/chapter-51.html, text/chapter-52.html, text/chapter-53.html, text/chapter-54.html
Name map 55: text/chapter-55.html, text/chapter-56.html, text/chapter-57.html, text/chapter-58.html, text/chapter-59.html
Name map 60: text/chapter-60.html, text/chapter-61.html, text/titleauthor.html, text/titlepage.xhtml, toc.xhtml
Looping over ncx entries
ncx src=text/titleauthor.html, rel path=text/titleauthor.html, in map: True
ncx src=text/chapter-01.html, rel path=text/chapter-01.html, in map: True
ncx src=text/chapter-02.html, rel path=text/chapter-02.html, in map: True
ncx src=text/chapter-03.html, rel path=text/chapter-03.html, in map: True
ncx src=text/chapter-04.html, rel path=text/chapter-04.html, in map: True
ncx src=text/chapter-05.html, rel path=text/chapter-05.html, in map: True
ncx src=text/chapter-06.html, rel path=text/chapter-06.html, in map: True
ncx src=text/chapter-07.html, rel path=text/chapter-07.html, in map: True
ncx src=text/chapter-08.html, rel path=text/chapter-08.html, in map: True
ncx src=text/chapter-09.html, rel path=text/chapter-09.html, in map: True
ncx src=text/chapter-10.html, rel path=text/chapter-10.html, in map: True
ncx src=text/chapter-11.html, rel path=text/chapter-11.html, in map: True
ncx src=text/chapter-12.html, rel path=text/chapter-12.html, in map: True
ncx src=text/chapter-13.html, rel path=text/chapter-13.html, in map: True
ncx src=text/chapter-14.html, rel path=text/chapter-14.html, in map: True
ncx src=text/chapter-15.html, rel path=text/chapter-15.html, in map: True
ncx src=text/chapter-16.html, rel path=text/chapter-16.html, in map: True
ncx src=text/chapter-17.html, rel path=text/chapter-17.html, in map: True
ncx src=text/chapter-18.html, rel path=text/chapter-18.html, in map: True
ncx src=text/chapter-19.html, rel path=text/chapter-19.html, in map: True
ncx src=text/chapter-20.html, rel path=text/chapter-20.html, in map: True
ncx src=text/chapter-21.html, rel path=text/chapter-21.html, in map: True
ncx src=text/chapter-22.html, rel path=text/chapter-22.html, in map: True
ncx src=text/chapter-23.html, rel path=text/chapter-23.html, in map: True
ncx src=text/chapter-24.html, rel path=text/chapter-24.html, in map: True
ncx src=text/chapter-25.html, rel path=text/chapter-25.html, in map: True
ncx src=text/chapter-26.html, rel path=text/chapter-26.html, in map: True
ncx src=text/chapter-27.html, rel path=text/chapter-27.html, in map: True
ncx src=text/chapter-28.html, rel path=text/chapter-28.html, in map: True
ncx src=text/chapter-29.html, rel path=text/chapter-29.html, in map: True
ncx src=text/chapter-30.html, rel path=text/chapter-30.html, in map: True
ncx src=text/chapter-31.html, rel path=text/chapter-31.html, in map: True
ncx src=text/chapter-32.html, rel path=text/chapter-32.html, in map: True
ncx src=text/chapter-33.html, rel path=text/chapter-33.html, in map: True
ncx src=text/chapter-34.html, rel path=text/chapter-34.html, in map: True
ncx src=text/chapter-35.html, rel path=text/chapter-35.html, in map: True
ncx src=text/chapter-36.html, rel path=text/chapter-36.html, in map: True
ncx src=text/chapter-37.html, rel path=text/chapter-37.html, in map: True
ncx src=text/chapter-38.html, rel path=text/chapter-38.html, in map: True
ncx src=text/chapter-39.html, rel path=text/chapter-39.html, in map: True
ncx src=text/chapter-40.html, rel path=text/chapter-40.html, in map: True
ncx src=text/chapter-41.html, rel path=text/chapter-41.html, in map: True
ncx src=text/chapter-42.html, rel path=text/chapter-42.html, in map: True
ncx src=text/chapter-43.html, rel path=text/chapter-43.html, in map: True
ncx src=text/chapter-44.html, rel path=text/chapter-44.html, in map: True
ncx src=text/chapter-45.html, rel path=text/chapter-45.html, in map: True
ncx src=text/chapter-46.html, rel path=text/chapter-46.html, in map: True
ncx src=text/chapter-47.html, rel path=text/chapter-47.html, in map: True
ncx src=text/chapter-48.html, rel path=text/chapter-48.html, in map: True
ncx src=text/chapter-49.html, rel path=text/chapter-49.html, in map: True
ncx src=text/chapter-50.html, rel path=text/chapter-50.html, in map: True
ncx src=text/chapter-51.html, rel path=text/chapter-51.html, in map: True
ncx src=text/chapter-52.html, rel path=text/chapter-52.html, in map: True
ncx src=text/chapter-53.html, rel path=text/chapter-53.html, in map: True
ncx src=text/chapter-54.html, rel path=text/chapter-54.html, in map: True
ncx src=text/chapter-55.html, rel path=text/chapter-55.html, in map: True
ncx src=text/chapter-56.html, rel path=text/chapter-56.html, in map: True
ncx src=text/chapter-57.html, rel path=text/chapter-57.html, in map: True
ncx src=text/chapter-58.html, rel path=text/chapter-58.html, in map: True
ncx src=text/chapter-59.html, rel path=text/chapter-59.html, in map: True
ncx src=text/chapter-60.html, rel path=text/chapter-60.html, in map: True
ncx src=text/chapter-61.html, rel path=text/chapter-61.html, in map: True
Looking for non dc: elements in manifest
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
Removing child: {http://www.idpf.org/2007/opf}meta
ePub updated in 0.09 seconds
|
![]() |
![]() |
![]() |
#1635 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
There isn't a failure in that log. It does say that nothing was changed. Is it actually saying it failed or is it saying that No Epub files were updated? (See attached image.) If it is saying that no files were updated then it worked, no matter what the message dialog title says.
|
![]() |
![]() |
![]() |
Tags |
modify epub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1251 | 07-07-2025 09:13 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Manage Series | kiwidude | Plugins | 167 | 07-28-2024 03:07 PM |
Modify ePub plugin dev thread | kiwidude | Development | 346 | 09-02-2013 05:14 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |