View Single Post
Old 07-06-2023, 02:44 PM   #567
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,966
Karma: 27060153
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Finally had a chance to try 2.1.0. Getting this error when trying to convert nbk (renamed to 'test.kpf)':

Code:
(base) ➜  test /Applications/calibre.app/Contents/MacOS/calibre-debug -r "KFX Input" -- test.kpf
Building icons.rcc
Software versions: KFX Input 2.1.0, calibre 6.22*, macOS-13.4.1-x86_64-i386-64bit
KFX Input plugin help is available at https://www.mobileread.com/forums/showthread.php?t=291290

Processing test.kpf
Processing container: test.kpf
Traceback (most recent call last):
  File "runpy.py", line 196, in _run_module_as_main
  File "runpy.py", line 86, in _run_code
  File "site.py", line 41, in <module>
  File "site.py", line 37, in main
  File "calibre/debug.py", line 282, in main
  File "calibre_plugins.kfx_input.__init__", line 194, in cli_main
  File "calibre_plugins.kfx_input.kfxlib.yj_book", line 211, in decode_book
  File "calibre_plugins.kfx_input.kfxlib.kpf_container", line 51, in deserialize
  File "calibre_plugins.kfx_input.kfxlib.utilities", line 586, in as_ZipFile
  File "zipfile.py", line 1258, in __init__
  File "zipfile.py", line 1325, in _RealGetContents
zipfile.BadZipFile: File is not a zip file
(base) ➜  test
No doubt I'm doing something wrong.
Attached Files
File Type: zip nbk.zip (452.5 KB, 325 views)
tomsem is offline   Reply With Quote