I'm having an issue with Modify ePub on Linux (Fedora). The thread where I started talking about the issue is:
https://www.mobileread.com/forums/sh...d.php?t=346383
When I run Modify ePub (which I have set to Remove Broken TOC Entries in NCX File (among other things)) against an ePub, it deletes the contents of the ncx.toc (specifically, everything between the <navMap> tags). At first, I thought the problem was with my thrashing around in the Calibre Editor. But, I just tried it with an epub that it was working with just fine on Windows a week or so ago, and it did the same thing. So, I'm assuming it's something to do with the plugin on Linux.
I don't know if I should reproduce all the data from that other thread in this one. Let me know if you need anything and I'll try to figure out how to do it.
Calibre 5.41 installed via the Binary Install command at:
https://calibre-ebook.com/download_linux
Modify ePub 1.7.0 installed from Calibre's Plugin Manager/Installer thing under Preferences
Operating System: Fedora Linux 35
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.20-200.fc35.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD Radeon RX 6700 XT
EDIT: I started up Calibre in debug mode and ran Modify ePub against an ePub with just the option to remove bad ToC links turned on. Nothing really showed up except some possible issues with KoboTouchExtended. But, here's what was there:
Code:
[dave@davesfedora ~]$ calibre-debug -g
calibre 5.41 embedded-python: True is64bit: True
Linux-5.16.20-200.fc35.x86_64-x86_64-with-glibc2.2.5 Linux ('64bit', 'ELF')
('Linux', '5.16.20-200.fc35.x86_64', '#1 SMP PREEMPT Wed Apr 13 22:09:20 UTC 2022')
Python 3.8.5
Interface language: None
DEBUG: 0.0 GetFileName::__init__.py - loading translations
Successfully initialized third party plugins: DeACSM (0, 0, 15) && DeDRM (10, 0, 2) && EpubCheck (0, 2, 4) && GetFileName (0, 1, 1) && Goodreads (1, 5, 3) && Kobo Utilities (2, 15, 1) && KoboTouchExtended (3, 5, 4) && Modify ePub (1, 7, 0) && Quality Check (1, 12, 0) && ScrambleEbook (0, 4, 5)
Not controlling automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 109.0 x 109.0
physicalDpi: 109.21999999999998 x 110.83636363636363
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Initializing db...
[0.01] db initialized
[0.01] Constructing main UI...
DEBUG: 0.0 Kobo Utilities Configuration - CreateNewCustomColumn is supported
DEBUG: 0.0 KoboUtilites::action.py - loading translations
DEBUG: 0.0 KoboUtilites::dialogs.py - loading translations
DEBUG: 0.0 KoboUtilites::action.py - loading translations
DEBUG: 0.3 No Kobo Touch, Glo or Mini appears to be connected
DEBUG: 0.3 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
DEBUG: 0.3 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 0.3 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders
Driver: KoboTouchExtended'
[0.47] main UI initialized...
[0.47] Started up in 0.47 seconds with 2 books
Starting QuickView
Worker Launch took: 0.01 seconds
Job: 0 Modify ePubs version (1, 7, 0) finished
Modify ePubs version (1, 7, 0)
Logfile for book ID 2 (Piccadilly Jim / PG Wodehouse)
Job details 2
Modifying: /tmp/calibre_5.41.0_tmp_3aehiese/_o9b_ln2_modify_epub/2.epub
Parsing xml file: content.opf
Parsing xml file: toc.ncx
Looking for broken links in the NCX
TOC Navpoint broken to remove of: toc.xhtml
TOC Navpoint broken to remove of: text/Chapter-01.html
TOC Navpoint broken to remove of: text/Chapter-02.html
TOC Navpoint broken to remove of: text/Chapter-03.html
TOC Navpoint broken to remove of: text/Chapter-04.html
TOC Navpoint broken to remove of: text/Chapter-05.html
TOC Navpoint broken to remove of: text/Chapter-06.html
TOC Navpoint broken to remove of: text/Chapter-07.html
TOC Navpoint broken to remove of: text/Chapter-08.html
TOC Navpoint broken to remove of: text/Chapter-09.html
TOC Navpoint broken to remove of: text/Chapter-10.html
TOC Navpoint broken to remove of: text/Chapter-11.html
TOC Navpoint broken to remove of: text/Chapter-12.html
TOC Navpoint broken to remove of: text/Chapter-13.html
TOC Navpoint broken to remove of: text/Chapter-14.html
TOC Navpoint broken to remove of: text/Chapter-15.html
TOC Navpoint broken to remove of: text/Chapter-16.html
TOC Navpoint broken to remove of: text/Chapter-17.html
TOC Navpoint broken to remove of: text/Chapter-18.html
TOC Navpoint broken to remove of: text/Chapter-19.html
TOC Navpoint broken to remove of: text/Chapter-20.html
TOC Navpoint broken to remove of: text/Chapter-21.html
TOC Navpoint broken to remove of: text/Chapter-22.html
TOC Navpoint broken to remove of: text/Chapter-23.html
TOC Navpoint broken to remove of: text/Chapter-24.html
TOC Navpoint broken to remove of: text/Chapter-25.html
TOC Navpoint broken to remove of: text/Chapter-26.html
ePub updated in 0.05 seconds
Worker Launch took: 0.00 seconds
Failed to initialize plugin: '/home/dave/.config/calibre/plugins/KoboTouchExtended.zip'
[dave@davesfedora ~]$