View Single Post
Old 11-27-2017, 10:22 PM   #307
otanim
Enthusiast
otanim has a spectacular aura aboutotanim has a spectacular aura aboutotanim has a spectacular aura aboutotanim has a spectacular aura aboutotanim has a spectacular aura aboutotanim has a spectacular aura aboutotanim has a spectacular aura aboutotanim has a spectacular aura aboutotanim has a spectacular aura aboutotanim has a spectacular aura aboutotanim has a spectacular aura about
 
Posts: 26
Karma: 4106
Join Date: Nov 2017
Location: Yerevan, Armenia
Device: KOA, KOA2
the plugin doesn't work on Ubuntu 16.04, it seems the issue was OS related:

Code:
...
Parsing page_16.xhtml ...
Parsing page_94.xhtml ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 208 items of level: div_1
div_1  left margin stats: Counter()
div_1  right margin stats: Counter()
Cleaning up manifest...
Trimming unused files from manifest...
Creating KFX Output...
Software versions: KFX Output 1.13.0, calibre 3.12, Linux-4.10.0-40-generic-x86_64-with-debian-stretch-sid
KFX Output plugin help is available at https://www.mobileread.com/forums/showthread.php?t=272407
Rescaling image from 1650x664 to 1080x434 cover.jpeg
Splitting markup on page breaks and flow limits, if any...
Successfully converted input format to EPUB
Traceback (most recent call last):
  File "site.py", line 77, in main
  File "site-packages/calibre/utils/ipc/worker.py", line 195, in main
  File "site-packages/calibre/gui2/convert/gui_conversion.py", line 33, in gui_convert_override
  File "site-packages/calibre/gui2/convert/gui_conversion.py", line 26, in gui_convert
  File "site-packages/calibre/ebooks/conversion/plumber.py", line 1252, in run
  File "calibre_plugins.kfx_output.__init__", line 157, in convert
  File "calibre_plugins.kfx_output.__init__", line 206, in convert_using_previewer
  File "calibre_plugins.kfx_output.kfxlib.yj_book", line 82, in convert_to_kpf
  File "calibre_plugins.kfx_output.kfxlib.generate_kpf", line 711, in convert_nonyj_to_kpf
  File "calibre_plugins.kfx_output.kfxlib.generate_kpf", line 667, in __init__
  File "calibre_plugins.kfx_output.kfxlib.generate_kpf", line 205, in __init__
  File "calibre_plugins.kfx_output.kfxlib.misc", line 321, in windows_user_dir
  File "ctypes/wintypes.py", line 19, in <module>
ValueError: _type_ 'v' not supported
otanim is offline   Reply With Quote