View Single Post
Old 12-15-2018, 08:52 AM   #561
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,834
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Exclamation Issues by generating KFX files with CLI

I don't know why after updating Kindle Previewer (I'm using now version 3.28.1) and your plugin, I can't generate a KFX from command line. I get the following error message:

Code:
C:\Users\Ruben>calibre-debug -r "KFX Output" -- "My Book.last"
Software versions: KFX Output 1.25.0, calibre 3.35, Windows-7-6.1.7601-SP1
KFX Output plugin help is available at https://www.mobileread.com/forums/showthre
ad.php?t=272407

Converting My Book.last
Locating most recent Kindle Previewer GUI results
Python function terminated unexpectedly
  'utf8' codec can't decode byte 0xe9 in position 2: invalid continuation byte (
Error Code: 1)
Traceback (most recent call last):
  File "site.py", line 101, in main
  File "site.py", line 78, in run_entry_point
  File "site-packages\calibre\debug.py", line 318, in main
  File "calibre_plugins.kfx_output.__init__", line 246, in cli_main
  File "calibre_plugins.kfx_output.__init__", line 269, in convert_using_preview
er
  File "calibre_plugins.kfx_output.kfxlib.yj_book", line 134, in convert_to_kpf
  File "calibre_plugins.kfx_output.kfxlib.generate_kpf", line 830, in convert_no
nyj_to_kpf
  File "calibre_plugins.kfx_output.kfxlib.generate_kpf", line 918, in last_previ
ewer_gui_result_to_kpf
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 2: invalid c
ontinuation byte
I can convert the epub inside Calibre GUI but not with command line. What's wrong?

TIA

Rubén
RbnJrg is online now   Reply With Quote