Connoisseur
Posts: 68
Karma: 8682
Join Date: May 2018
Device: Onyx Boox Note Air 2, Kindle Oasis 2
|
Got an error when trying to convert this book:
I also get errors when I try to open the KFX file within Calibre:
Spoiler:
Code:
calibre, version 8.1.1
ERROR: Loading book failed: Failed to open the book at /Users/rapaz/Box Sync/Calibre Library/Howard Jacobson/Kalooki Nights (663)/Kalooki Nights - Howard Jacobson.kfx. Click "Show details" for more info.
Failed to convert book: /Users/rapaz/Box Sync/Calibre Library/Howard Jacobson/Kalooki Nights (663)/Kalooki Nights - Howard Jacobson.kfx with error:
Failed to initialize plugin: '/Users/rapaz/Library/Preferences/calibre/plugins/Ignoble Epub DeDRM.zip'
Failed to initialize plugin: '/Users/rapaz/Library/Preferences/calibre/plugins/Inept Epub DeDRM.zip'
Failed to initialize plugin: '/Users/rapaz/Library/Preferences/calibre/plugins/Inept PDF DeDRM.zip'
Failed to initialize plugin: '/Users/rapaz/Library/Preferences/calibre/plugins/Kindle and Mobipocket DeDRM.zip'
Failed to initialize plugin: '/Users/rapaz/Library/Preferences/calibre/plugins/Kindle covers (G).zip'
Failed to initialize plugin: '/Users/rapaz/Library/Preferences/calibre/plugins/eReader PDB 2 PML.zip'
Integration status: True
----------------------------------- REMARKABLE PLUGIN web interface ------------------------
KFX metadata reader (from KFX Input) activated for /Users/rapaz/Box Sync/Calibre Library/Howard Jacobson/Kalooki Nights (663)/Kalooki Nights - Howard Jacobson.kfx
DeDRM v10.0.9: Trying to decrypt Kalooki Nights - Howard Jacobson.kfx
Unknown booktype kfx. Passing back to calibre unchanged
InputFormatPlugin: KFX Input running
on /Users/rapaz/Box Sync/Calibre Library/Howard Jacobson/Kalooki Nights (663)/Kalooki Nights - Howard Jacobson.kfx
Software versions: KFX Input 2.22.0, calibre 8.1.1, macOS-15.4-arm64-arm-64bit
KFX Input plugin help is available at https://www.mobileread.com/forums/showthread.php?t=291290
Converting /Users/rapaz/Box Sync/Calibre Library/Howard Jacobson/Kalooki Nights (663)/Kalooki Nights - Howard Jacobson.kfx
Processing container: /Users/rapaz/Box Sync/Calibre Library/Howard Jacobson/Kalooki Nights (663)/Kalooki Nights - Howard Jacobson.kfx
Features: kfxgen.pidMapWithOffset-1, kfxgen.textBlock-1, reflow-section-size-2, reflow-style-1
Metadata: ASIN=B000OVLKRM, asset_id=CR!ENJTE53PJD3ZQCGGF18EWSFW1QK2, author="Jacobson, Howard", author="Howard Jacobson", cde_content_type=EBOK, content_id=B000OVLKRM, cover_image=600x800, creator_version=2.15.0, file_creator=YJConversionTools, is_sample=False, issue_date=2007-04-03, kfxgen=20.12.238.0, language=en, max_id=634, min_kindle_version=5.6.5, pages=467, publisher="Simon & Schuster", reading_orders=1, selection=enabled, title="Kalooki Nights: A Novel", title="Kalooki Nights"
Converting book to EPUB 3
Book symbol format is original
ERROR: Unexpected image style for SVG wrapper (img h=572, w=432): b'<div style="margin-top: 0.25lh; text-align: center; text-indent: 0"><img src="images/image_fm.jpg" alt="" style="left: 0; top: 0; width: 100%"/></div>'
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Traceback (most recent call last):
File "calibre_plugins.kfx_input.__init__", line 114, in convert
Exception: Unexpected image style for SVG wrapper (img h=572, w=432): b'<div style="margin-top: 0.25lh; text-align: center; text-indent: 0"><img src="images/image_fm.jpg" alt="" style="left: 0; top: 0; width: 100%"/></div>'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "runpy.py", line 198, in _run_module_as_main
File "runpy.py", line 88, in _run_code
File "site.py", line 42, in <module>
File "site.py", line 38, in main
File "calibre/utils/ipc/worker.py", line 196, in main
File "<string>", line 1, in <module>
File "calibre/srv/render_book.py", line 845, in viewer_main
File "calibre/srv/render_book.py", line 836, in render_for_viewer
File "calibre/srv/render_book.py", line 813, in render
File "calibre/ebooks/oeb/iterator/book.py", line 64, in extract_book
File "calibre/customize/conversion.py", line 242, in __call__
File "calibre_plugins.kfx_input.__init__", line 120, in convert
calibre.ebooks.conversion.ConversionUserFeedBack: {"msg": "<b>Cannot convert ?</b><br><br>Exception('Unexpected image style for SVG wrapper (img h=572, w=432): b\\'<div style=\"margin-top: 0.25lh; text-align: center; text-indent: 0\"><img src=\"images/image_fm.jpg\" alt=\"\" style=\"left: 0; top: 0; width: 100%%\"/></div>\\'')", "level": "error", "det_msg": "", "title": "KFX conversion failed"}
Converting works when I use the From KFX plugin, FWIW. I'm not sure what the difference is in the converted file.
As a total aside, after polishing the EPUB in Calibre it did weird things offsetting the centered headings and I'm not sure which option is responsible for that.
Last edited by mallomar; 03-30-2025 at 12:18 AM.
|