View Single Post
Old 04-23-2022, 07:46 AM   #1618
lomkiri
Groupie
lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.
 
lomkiri's Avatar
 
Posts: 172
Karma: 1497966
Join Date: Jul 2021
Device: N/A
I confirm the issue in linux.
Running debian stable, calibre 5.99, modifyepub installed today using the calibre plugin installer.
Filesystem: ext4 on a local HD

Ebook (Zola - Nana) is in the public domain (downloaded from www.ebooksgratuits.com), copy provided below. I checked (and corrected all) errors and beautified the book in calibre editor. No error in epubcheck.

Modifyepub was set to "remove broken ToC entries" and "remove non dc: metadata"

Running modifiyepub:
All ToC entries are removed.
Three non-dc: entries are correctly removed from the opf.
Log:
Spoiler:

Modify ePubs version (1, 7, 0)
Logfile for book ID 594 (Nana / Émile Zola)
Job details 594
Modifying: /tmp/calibre_5.99.8_tmp_l1jh41m1/f3tsz1ea_modify_epub/594.epub
Parsing xml file: Ops/content.opf
Parsing xml file: Ops/toc.ncx
Looking for broken links in the NCX
TOC Navpoint broken to remove of: 1.html
TOC Navpoint broken to remove of: 3.html
TOC Navpoint broken to remove of: 4.html
TOC Navpoint broken to remove of: 5.html
TOC Navpoint broken to remove of: 6.html
TOC Navpoint broken to remove of: 7.html
TOC Navpoint broken to remove of: 8.html
TOC Navpoint broken to remove of: 9.html
TOC Navpoint broken to remove of: 10.html
TOC Navpoint broken to remove of: 11.html
TOC Navpoint broken to remove of: 12.html
TOC Navpoint broken to remove of: 13.html
TOC Navpoint broken to remove of: 14.html
TOC Navpoint broken to remove of: 15.html
TOC Navpoint broken to remove of: 16.html
TOC Navpoint broken to remove of: 17.html
Looking for non dc: elements in manifest
Removing child:
Removing child:
Removing child:
ePub updated in 0.34 seconds

Book before and after : https://www40.zippyshare.com/v/8fNzJKvO/file.html

Checked with 3 other books, always the same issue.

Quote:
You are accepting the changes when the plugin finishes?
Are you sure the files are being written back to the library? Please note the mod time, run the plugin, then check that the time and size changed.
Check the permissions on the book to be sure that calibre has write permission on the directory.
Are you using "normal" Linux file systems to store the library? Not a NAS, not an external drive?
1) yes
2) yes (you have the copy in the zip I provided above)
3) yes it has
3) yes, local ext4 system
___________

To DaveLessnau:
In my case, the "Removing child" were entries in the opf, as those ones:
<meta name="cover" content="img1"/>
<meta name="calibre:title_sort" content="Nana"/>
The removal of those elements is legitimate, they are NOT dc: entries, so maybe this is also the case in your ebook?

Last edited by lomkiri; 04-23-2022 at 07:51 AM.
lomkiri is offline   Reply With Quote