View Single Post
Old 12-05-2024, 10:58 PM   #9
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by kovidgoyal View Post
They are both xpath expressions you should be able to use the same in both places.
That would make sense, but I have never had it run successfully in the edit books split location, yet it always works during the conversion process.
here is an example error.

Spoiler:
calibre, version 7.22.0
ERROR: Unhandled exception: <b>AbortError</b>:Cannot split on the &lt;body&gt; tag

calibre 7.22 embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.5
Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre-parallel.exe
Successfully initialized third party plugins: DeACSM (0, 0, 16) && Gather KFX-ZIP (from KFX Input) (2, 18, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 18, 0) && Audit Log (1, 0, 19) && Barnes & Noble (1, 5, 6) && Count Pages (1, 13, 6) && Diaps Editing Toolbag (0, 5, 0) && EpubCheck (0, 2, 5) && EpubMerge (3, 2, 0) && EpubSplit (3, 9, 0) && Extract ISBN (1, 6, 5) && FanFicFare (4, 40, 0) && Fantastic Fiction (1, 7, 1) && Fantastic Fiction Adults (1, 3, 1) && Favourites Menu (1, 3, 1) && Find Duplicates (1, 10, 9) && Generate Cover (2, 3, 4) && GetFileName (0, 2, 0) && Goodreads (1, 8, 2) && Goodreads Sync (1, 16, 11) && Job Spy (1, 0, 239) && KFX metadata reader (from KFX Input) (2, 18, 0) && From KFX (2, 18, 0) && KFX Input (2, 18, 0) && Set KFX metadata (from KFX Output) (2, 13, 0) && KFX Output (2, 13, 0) && Kindle Collections (1, 7, 29) && Kindle hi-res covers (0, 5, 1) && KindleUnpack - The Plugin (0, 83, 1) && Kobo Books (1, 9, 2) && Manage Series (1, 5, 2) && Modify ePub (1, 8, 5) && Open With (1, 8, 3) && Overdrive Link (2, 57, 0) && Quality Check (1, 13, 16) && Quick Preferences (1, 7, 1) && Reading List (1, 15, 4) && Resize Cover (1, 2, 1) && Save Virtual Libraries To Column GUI (2, 3, 0) && ScrambleEbook (0, 6, 0) && Search The Internet (1, 11, 3) && SmartEject (2, 5, 0) && View Manager (1, 10, 3) && Virtual Library Switcher (1, 0, 1) && Walk Search History (1, 5, 4)
Traceback (most recent call last):
File "calibre\gui2\tweak_book\boss.py", line 1455, in multisplit
File "calibre\ebooks\oeb\polish\split.py", line 282, in multisplit
calibre.ebooks.oeb.polish.split.AbortError: Cannot split on the <body> tag

Last edited by DoctorOhh; 12-05-2024 at 11:02 PM.
DoctorOhh is offline   Reply With Quote