Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 05-12-2017, 09:59 PM   #211
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,495
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by CStaack View Post
Paperwhite 3 on a German Win7/calibre 2.83, kindle previewer 3.9.0.

Converting the Frankenstein-book is now successful with 64bit calibre as well.
Thanks for the report.
jhowell is offline   Reply With Quote
Old 05-13-2017, 02:05 AM   #212
AcidWeb
KCC Co-Author
AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.
 
AcidWeb's Avatar
 
Posts: 845
Karma: 765434
Join Date: Mar 2013
Location: Poland
Device: Kindle Oasis 2
I also finished my testing. First of all: KCC output is not compatible with this plugin. It require simple changes on my side but I don't see a reason to implement them yet.

Generally it is step in right direction but it looks like there are reasons why Fixed Layout option is not yet available in KP3 GUI.
  • Lack of Panel View - apparently not yet implemented or require different syntax than Amazon Kindle Publishing Guidelines state.
  • Fluctuations of image quality - Images in KF8 books look simply better. Some pages are little blurred. It look like resizing algorithm kicks in sometimes when it is not needed.
  • Books are unstable - KFX renderer crash sometimes without any known reason.
  • Preview of double page spreads is undocumented. I expected that is controlled somehow by page-spread-* itemref but I failed to get it working correctly.

In my opinion manga/comics currently published on Amazon in KFX format use different tool than KFXGenApp (or different version of it) and/or Amazon Kindle Publishing Guidelines are out-of-date.

We will see what next upgrades of KP3 will bring. I would love to put my hands on some official release of manga before it was handled to Amazon for KFX conversion. It is quite possible they don't use HTML at all.

For now there are too many unknowns and quirks to implement KFX output in KCC.

This post is based mostly on guesswork so I reserve the right to be completely wrong :-)

EDIT:
Experiments with page-spread-* crash KFXGenApp. Syntax is 100% correct and consistent with Amazon Kindle Publishing Guidelines. It definitely looks like textbook example of NotImplementedError :-)
Quote:
Exception: Kindle Previewer error: Error(YJEpubAdapter):E00215: "Manga with panels is not supported ";

Last edited by AcidWeb; 05-13-2017 at 10:55 AM.
AcidWeb is offline   Reply With Quote
Old 05-13-2017, 11:18 AM   #213
hidden.platypus
Connoisseur
hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.
 
hidden.platypus's Avatar
 
Posts: 89
Karma: 190508
Join Date: May 2014
Device: Android
Thank you to abogomolov for the older version of the Kindle Previewer.
Thanks also to jhowell for your work on the plugin.

That said, nothing I do gets this plugin to work.

Each book (including the Frankenstein book) gives me this error.

calibre, version 2.85.1
ERROR: KFX conversion failed: <p>Frankenstein<br><br><b>Kindle Previewer error:</b> Unknown (See log)</p>

Where is the log?

I've used calibre a long time, so I figured some of the other plugins may be conflicting.
I removed the 64 bit version of calibre and deleted the AppData folder.

I installed 32 calibre. That didn't work either.

Another user in this thread said the using calibre portable worked for him. That didn't work for me either. Just fails with the same error message every time.

Last edited by hidden.platypus; 05-13-2017 at 11:19 AM. Reason: spelling
hidden.platypus is offline   Reply With Quote
Old 05-13-2017, 12:16 PM   #214
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,495
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by hidden.platypus View Post
Where is the log?
Displaying conversion job logs is a calibre function.

From "Dealing with Conversion Errors" in the first post in this thread:

Quote:
You can view the conversion job log after an error occurs to see all of the messages produced by the Previewer during conversion. To access the log, either click on the "Jobs: 0" label in the lower right corner of the calibre window or use the Alt-Shift-J keyboard shortcut to activate the Jobs dialog. Select the failed conversion job from the list (the most recent will be first) and click the "Show job details" button. To copy the log to the clipboard under Windows, click within the log text then press Ctrl-A (select all) and Ctrl-C (copy). You can then paste it wherever you like.

Last edited by jhowell; 05-13-2017 at 12:19 PM.
jhowell is offline   Reply With Quote
Old 05-14-2017, 02:50 PM   #215
hidden.platypus
Connoisseur
hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.
 
hidden.platypus's Avatar
 
Posts: 89
Karma: 190508
Join Date: May 2014
Device: Android
Quote:
Originally Posted by jhowell View Post
Where is the log?
Sorry about that.

Code:
Convert book 1 of 1 (Frankenstein)
Conversion options changed from defaults:
  output_profile: 'tablet'
  verbose: 2
  read_metadata_from_opf: u'C:\\Users\\hplat\\AppData\\Local\\Temp\\calibre_0lqofi\\t4im6d.opf'
  cover: u'C:\\Users\\hplat\\AppData\\Local\\Temp\\calibre_0lqofi\\4vh5fw.jpeg'
Resolved conversion options
calibre version: 2.85.1
{'asciiize': False,
 'author_sort': None,
 'authors': None,
 'base_font_size': 0.0,
 'book_producer': None,
 'change_justification': u'original',
 'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
 'chapter_mark': u'pagebreak',
 'comments': None,
 'cover': u'C:\\Users\\hplat\\AppData\\Local\\Temp\\calibre_0lqofi\\4vh5fw.jpeg',
 'debug_pipeline': None,
 'dehyphenate': True,
 'delete_blank_paragraphs': True,
 'disable_font_rescaling': False,
 'dont_split_on_page_breaks': False,
 'duplicate_links_in_toc': False,
 'embed_all_fonts': False,
 'embed_font_family': None,
 'enable_heuristics': False,
 'epub_flatten': False,
 'epub_inline_toc': False,
 'epub_toc_at_end': False,
 'expand_css': False,
 'extra_css': None,
 'extract_to': None,
 'filter_css': u'',
 'fix_indents': True,
 'flow_size': 260,
 'font_size_mapping': None,
 'format_scene_breaks': True,
 'html_unwrap_factor': 0.4,
 'input_encoding': None,
 'input_profile': <calibre.customize.profiles.InputProfile object at 0x0499C890>,
 'insert_blank_line': False,
 'insert_blank_line_size': 0.5,
 'insert_metadata': False,
 'isbn': None,
 'italicize_common_cases': True,
 'keep_ligatures': False,
 'language': None,
 'level1_toc': None,
 'level2_toc': None,
 'level3_toc': None,
 'line_height': 0.0,
 'linearize_tables': False,
 'margin_bottom': 5.0,
 'margin_left': 5.0,
 'margin_right': 5.0,
 'margin_top': 5.0,
 'markup_chapter_headings': True,
 'max_toc_links': 50,
 'minimum_line_height': 120.0,
 'no_chapters_in_toc': False,
 'no_default_epub_cover': False,
 'no_inline_navbars': False,
 'no_svg_cover': False,
 'output_profile': <calibre.customize.profiles.TabletOutput object at 0x0499CE70>,
 'page_breaks_before': u'/',
 'prefer_metadata_cover': False,
 'preserve_cover_aspect_ratio': False,
 'pretty_print': True,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': u'C:\\Users\\hplat\\AppData\\Local\\Temp\\calibre_0lqofi\\t4im6d.opf',
 'remove_fake_margins': True,
 'remove_first_image': False,
 'remove_paragraph_spacing': False,
 'remove_paragraph_spacing_indent_size': 1.5,
 'renumber_headings': True,
 'replace_scene_breaks': u'',
 'search_replace': '[]',
 'series': None,
 'series_index': None,
 'smarten_punctuation': False,
 'sr1_replace': None,
 'sr1_search': None,
 'sr2_replace': None,
 'sr2_search': None,
 'sr3_replace': None,
 'sr3_search': None,
 'start_reading_at': None,
 'subset_embedded_fonts': False,
 'tags': None,
 'timestamp': None,
 'title': None,
 'title_sort': None,
 'toc_filter': None,
 'toc_threshold': 6,
 'toc_title': None,
 'transform_css_rules': '[]',
 'unsmarten_punctuation': False,
 'unwrap_lines': True,
 'use_auto_toc': False,
 'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\hplat\AppData\Local\Temp\calibre_0lqofi\ofa6s0.epub
Found HTML cover OEBPS/Text/Cover.xhtml
Parsing all content...
Parsing OEBPS/Text/Chapter05.xhtml ...
Parsing OEBPS/Text/Chapter22.xhtml ...
Parsing OEBPS/Text/Chapter25.xhtml ...
Parsing OEBPS/Text/Cover.xhtml ...
Parsing OEBPS/Text/Chapter20.xhtml ...
Parsing OEBPS/Styles/Stil.css ...
Parsing OEBPS/Text/Title.xhtml ...
Parsing OEBPS/Text/Letter02.xhtml ...
Parsing OEBPS/Text/Letter03.xhtml ...
Parsing OEBPS/Text/Letter04.xhtml ...
Parsing OEBPS/Text/Chapter01.xhtml ...
Parsing OEBPS/Text/Chapter02.xhtml ...
Parsing OEBPS/Text/Chapter03.xhtml ...
Parsing OEBPS/Text/Chapter04.xhtml ...
Parsing OEBPS/Text/Chapter06.xhtml ...
Parsing OEBPS/Text/Chapter07.xhtml ...
Parsing OEBPS/Text/Chapter08.xhtml ...
Parsing OEBPS/Text/Chapter09.xhtml ...
Parsing OEBPS/Text/Chapter10.xhtml ...
Parsing OEBPS/Text/Chapter11.xhtml ...
Parsing OEBPS/Text/Chapter12.xhtml ...
Parsing OEBPS/Text/Chapter24.xhtml ...
Parsing OEBPS/Text/Chapter13.xhtml ...
Parsing OEBPS/Text/Chapter14.xhtml ...
Parsing OEBPS/Text/Chapter15.xhtml ...
Parsing OEBPS/Text/Chapter16.xhtml ...
Parsing OEBPS/Text/Chapter17.xhtml ...
Parsing OEBPS/Text/Chapter18.xhtml ...
Parsing OEBPS/Text/Chapter23.xhtml ...
Parsing OEBPS/Text/Chapter19.xhtml ...
Parsing OEBPS/Text/Letter01.xhtml ...
Parsing OEBPS/Text/Chapter21.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 677 items of level: p_1
Found 3 items of level: div_1
Found 33 items of level: p_2
p_1  left margin stats: Counter({u'0': 674, u'3em': 3})
p_1  right margin stats: Counter({u'0': 671, u'3em': 3, u'1em': 3})
div_1  left margin stats: Counter({u'2em': 3})
div_1  right margin stats: Counter({u'2em': 3})
Removing level div_1 left margin of: 2em
Removing level div_1 right margin of: 2em
p_2  left margin stats: Counter({u'0': 33})
p_2  right margin stats: Counter({u'0': 30, u'1em': 3})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'OEBPS/Text/Cover.xhtml' from manifest
Creating KFX Output...
Software versions: KFX Output 1.8.0, calibre 2.85.1, Windows-8-6.2.9200
KFX Output plugin help is available at https://www.mobileread.com/forums/showthread.php?t=272407

Splitting markup on page breaks and flow limits, if any...
	Looking for large trees in OEBPS/Text/Chapter05.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter22.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter25.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter20.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Title.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Letter02.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Letter03.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Letter04.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter01.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter02.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter03.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter04.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter06.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter07.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter08.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter09.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter10.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter11.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter12.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter24.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter13.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter14.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter15.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter16.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter17.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter18.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter23.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter19.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Letter01.xhtml...
	No large trees found
	Looking for large trees in OEBPS/Text/Chapter21.xhtml...
	No large trees found
Successfully converted input format to EPUB
Converting "C:\Users\hplat\AppData\Local\Temp\calibre_0lqofi\kwnaqd.epub" to KPF
Preparing EPUB for conversion
Launching Kindle Previewer 3 KFXGenApp (version 3.9.0)
******************** KPF Conversion Logs ********************

Unknown (See log)



******************** log_KFXGenApp.txt ********************

[main] INFO a.b.a.e - Reading JAR:.\lib\EpubToKFXConverter-3.0.jar
[main] INFO a.b.a.e - Using config root at .\lib\EpubToKFXConverter-3.0.jar
[main] INFO a.b.a.e - Found domain = all
[main] INFO a.b.a.e - Found realm = windows
[main] INFO a.b.a.e - Determined appname = YJConversion
[main] INFO a.b.a.e - Determined appgroup = kindle-conv
[main] INFO a.b.a.e - Reading config entries from stream
[main] INFO a.b.a.e - Reading config entries from stream
[main] INFO a.b.a.e - Reading config entries from stream
May 14, 2017 1:47:48 PM java.util.logging.LogManager$RootLogger log
INFO: Epub Processing started...
Didn't find any file with extension :epub
May 14, 2017 1:47:49 PM java.util.logging.LogManager$RootLogger log
WARNING: Error in Processing Epub. See log for details : C:\Users\hplat\AppData\Local\Temp\calibre_0lqofi\y5brek\edvq8j3xyc9ocve1p20o\0000\conv_resources\conv_tmp\log_processEpub.txt
May 14, 2017 1:47:49 PM java.util.logging.LogManager$RootLogger log
INFO: Creating YJ started...
May 14, 2017 1:47:49 PM java.util.logging.LogManager$RootLogger log
INFO: Creating mastermobi started...
May 14, 2017 1:47:49 PM java.util.logging.LogManager$RootLogger log
WARNING: Skipping Source to YJ conversion as Process Epub Step Failed.
May 14, 2017 1:47:49 PM java.util.logging.LogManager$RootLogger log
INFO: null
May 14, 2017 1:47:51 PM java.util.logging.LogManager$RootLogger log
INFO: RESPONSE1: MASTERMOBI CREATION SUCCESSFUL
May 14, 2017 1:47:51 PM java.util.logging.LogManager$RootLogger log
INFO: Creating mastermobi successful.
DEBUG>pdbName : Frankenstein;modificationDate :1494787672;type :1112493899;creator :1297039945
DEBUG>wVersion : 2;  dwStoryLen :447040;  wNumRecs :110;  wRecSize :4096;  wSpare2 :0
DEBUG>magic : 1297039945;  hsize :264;  type :1112493899;  content_type :2;  encoding :65001:65001;  random_id :781690815;  version :6
DEBUG>Index :-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 112
DEBUG>titleOffset :736;  title_len :12;  title :Frankenstein; minVersion:6; embedBase:115
DEBUG>Huffman : hufdic : 0;  hufdiclen :0;  absTable :0; tableLen:0
DEBUG>New big title :Frankenstein
DEBUG>FFV4: idx_slaves :-1; voucherOffset :-1; voucher_tblen :0; voucher_len :0; flow_count :1
DEBUG>header FFV6, idx=112
DEBUG>    This book was FFV :6

Picked up JAVA_TOOL_OPTIONS: -Dlog4j.configuration=file:C:\Users\hplat\AppData\Local\Temp\calibre_0lqofi\y5brek\edvq8j3xyc9ocve1p20o\log4j.properties



******************** log_processEpub.txt ********************

Error occurred during initialization of VM
Could not reserve enough space for 1048576KB object heap
Picked up JAVA_TOOL_OPTIONS: -Dlog4j.configuration=file:C:\Users\hplat\AppData\Local\Temp\calibre_0lqofi\y5brek\edvq8j3xyc9ocve1p20o\log4j.properties



******************** log_createMM.txt ********************


*************************************************************
 Amazon kindlegen(Windows) V2.9 build 0110-b9ed1a 
 A command line e-book compiler 
 Copyright Amazon.com and its Affiliates 2015 
*************************************************************

Info:I9026:option: (hidden) amazon creator tool or pipeline

Info(prcgen):I1047: Added metadata dc:Title        "Frankenstein"

Info(prcgen):I1047: Added metadata dc:Date         "0101-01-01T00:00:00+00:00"

Info(prcgen):I1047: Added metadata dc:Creator      "Mary W. Shelley"

Info(prcgen):I1047: Added metadata dc:Contributor  "calibre (2.85.1) [https://calibre-ebook.com]"

Info(cssparser):I10004: @rules other than @import, @charset and @font-face are not supported.

Info(prcgen):I1052: Kindle support cover images but does not support cover HTML. Hence using the cover image specified and suppressing cover HTML in content.     URL: C:\Users\hplat\AppData\Local\Temp\mbp_7E1_5_E_D_2F_32_50_3608_2FC0_1\titlepage.xhtml

Info(prcgen):I1002: Parsing files  0000030

Info(prcgen):I1015: Building PRC file

Info(prcgen):I1006: Resolving hyperlinks

Info(prcgen):I1049: Building table of content     URL: C:\Users\hplat\AppData\Local\Temp\mbp_7E1_5_E_D_2F_32_50_3608_2FC0_1\toc.ncx

Info(pagemap):I8000: No Page map found in the book

Info(prcgen):I1045: Computing UNICODE ranges used in the book

Info(prcgen):I1046: Found UNICODE range: Basic Latin [20..7E]

Info(prcgen):I1046: Found UNICODE range: General Punctuation - Windows 1252 [2013..2014]

Info(prcgen):I1046: Found UNICODE range: Latin-1 Supplement [A0..FF]

Info(prcgen):I1017: Building PRC file, record count:   0000110

Info(prcgen):I1039: Final stats - text compressed to (in % of original size):  56.86%

Info(prcgen):I1040: The document identifier is: "Frankenstein"

Info(prcgen):I1041: The file format version is V6

Info(prcgen):I1031: Saving PRC file

Info(prcgen):I1032: PRC built successfully

Info(prcgen):I1016: Building enhanced PRC file

Info(prcgen):I1007: Resolving mediaidlinks

Info(prcgen):I1011: Writing mediaidlinks

Info(prcgen):I1009: Resolving guide items

Info(prcgen):I1017: Building PRC file, record count:   0000113

Info(prcgen):I1039: Final stats - text compressed to (in % of original size):  57.03%

Info(prcgen):I1041: The file format version is V8

Info(prcgen):I15000:  Approximate Standard Mobi Deliverable file size :   0000395KB

Info(prcgen):I15001:  Approximate KF8 Deliverable file size :   0000407KB

Info(prcgen):I1036: Mobi file built successfully




****************************************



******************** Failure Reason ********************

Unknown (See log)


Python function terminated unexpectedly
  {"level": "error", "title": "KFX conversion failed", "det_msg": "", "msg": "Frankenstein<br><br><b>Kindle Previewer error:</b> Unknown (See log)"} (Error Code: 1)
Traceback (most recent call last):
  File "site.py", line 132, in main
  File "site.py", line 109, in run_entry_point
  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 70, in convert
  File "calibre_plugins.kfx_output.__init__", line 129, in convert_from_epub
  File "calibre_plugins.kfx_output.__init__", line 167, in report_failure
calibre.ebooks.conversion.ConversionUserFeedBack: {"level": "error", "title": "KFX conversion failed", "det_msg": "", "msg": "Frankenstein<br><br><b>Kindle Previewer error:</b> Unknown (See log)"}
hidden.platypus is offline   Reply With Quote
Old 05-14-2017, 04:47 PM   #216
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,495
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by hidden.platypus View Post
Code:
Error occurred during initialization of VM
Could not reserve enough space for 1048576KB object heap
I removed all but the relevant error message from the log above.

It seems your system is running out of memory when attempting conversion. I'm not sure what you can do to solve this. Perhaps more RAM?

The next release of the plugin will check for this error condition and report it without a need to search the log.
jhowell is offline   Reply With Quote
Old 05-15-2017, 12:05 AM   #217
CalbertAmu
Connoisseur
CalbertAmu began at the beginning.
 
Posts: 86
Karma: 28
Join Date: Feb 2016
Device: Kobo Aura One
A very useful plugin. Thank you.

Since this takes care of hyphenation and also the text alignment, I no longer need to use the 'hyphenate this' plugin, and change the alignment before conversion.

Is there any need for the latter plugin if I'm using this one?

EDIT: I got this error because it took a long time to convert a book (900 seconds)

calibre, version 2.84.0
ERROR: KFX conversion failed: <p>NRSV Bible With the Apocrypha<br><br><b>Kindle Previewer error:</b> Timeout. Conversion did not complete within 900 seconds. Process terminated</p>

I tried looking for ways to extend the time limit but can't find anything.
MacOS, PW3. I was successful in converting other books, but maybe this one was too big..?

Last edited by CalbertAmu; 05-15-2017 at 12:30 AM.
CalbertAmu is offline   Reply With Quote
Old 05-15-2017, 08:38 AM   #218
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,495
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by CalbertAmu View Post
I tried looking for ways to extend the time limit but can't find anything.
MacOS, PW3. I was successful in converting other books, but maybe this one was too big..?
The time limit is built into the plugin. I will add a way to extend or remove it in the next plugin release.

In the mean time I suggest trying to convert the book by opening it in Kindle Previewer 3 outside of calibre. If it successfully allows Enhanced Typesetting in the Previewer then you should be able to convert the files left over by the Previewer to KFX. See "Conversion of the Most Recent Book from the Kindle Previewer GUI" under the "Command Line Interface" heading in the first post of this thread for details.
jhowell is offline   Reply With Quote
Old 05-15-2017, 11:45 AM   #219
hidden.platypus
Connoisseur
hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.
 
hidden.platypus's Avatar
 
Posts: 89
Karma: 190508
Join Date: May 2014
Device: Android
Quote:
Originally Posted by jhowell View Post
I removed all but the relevant error message from the log above.

It seems your system is running out of memory when attempting conversion. I'm not sure what you can do to solve this. Perhaps more RAM?

The next release of the plugin will check for this error condition and report it without a need to search the log.
This is very odd. The machine I'm working on has 8 GB of RAM installed. I closed everything else besides calibre, I even turned off my antivirus, I checked how much memory is being used, and I have 4 GB available.

Still got the error message. (to be clear I checked the log and the same nonsense about not being able to create a 1 gig heap that you isolated is present).

Any ideas?
hidden.platypus is offline   Reply With Quote
Old 05-15-2017, 02:46 PM   #220
hidden.platypus
Connoisseur
hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.
 
hidden.platypus's Avatar
 
Posts: 89
Karma: 190508
Join Date: May 2014
Device: Android
I've tried everything including cleaning java off this machine.

Downloading and installing 64 bit java rather than 32 bit java.

I've changed configuration options directly in java...I even tried some suggestions I found on the interwebs.

I am forced to conclude that this plugin either hates dragons or platypi.

That is all.
hidden.platypus is offline   Reply With Quote
Old 05-15-2017, 07:14 PM   #221
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,495
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by hidden.platypus View Post
I've tried everything including cleaning java off this machine.

Downloading and installing 64 bit java rather than 32 bit java.
Kindle Previewer 3 includes its own copy of Java so changes made to your system's Java installation will have no effect.

Have you tried removing and re-installing the Previewer? Other than that I am out of ideas.
jhowell is offline   Reply With Quote
Old 05-16-2017, 01:34 PM   #222
hidden.platypus
Connoisseur
hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.
 
hidden.platypus's Avatar
 
Posts: 89
Karma: 190508
Join Date: May 2014
Device: Android
Quote:
Originally Posted by jhowell View Post

Have you tried removing and re-installing the Previewer? Other than that I am out of ideas.
I have. I even went so far as to replace the java.exe and a couple dlls in the Kindle folder with freshly downloaded java executables and libraries. Still didn't work.

This is probably the remnants of some coding I did years ago. Plugin works on other machines.

I'll probably need to install fresh OS to have it work right on this machine.

Thanks for your patience and assistance.
hidden.platypus is offline   Reply With Quote
Old 05-25-2017, 08:01 AM   #223
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,495
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Kindle Previewer version 3.11 beta is now available.

The current release of this plugin (1.8.0) works properly with Kindle Previewer 3.11.
jhowell is offline   Reply With Quote
Old 05-30-2017, 07:06 PM   #224
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,495
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by AcidWeb View Post
Experiments with page-spread-* crash KFXGenApp. Syntax is 100% correct and consistent with Amazon Kindle Publishing Guidelines. It definitely looks like textbook example of NotImplementedError :-)

Exception: Kindle Previewer error: Error(YJEpubAdapter):E00215: "Manga with panels is not supported ";
I have done some more testing with the latest Previewer version and have been able to eliminate that error in some cases by adding either one of the following to the OPF before conversion:
Code:
<meta property="rendition:orientation">portrait</meta>
<meta name="orientation-lock" content="portrait"/>
Leaving these at the default value results in the failure mentioned above.
jhowell is offline   Reply With Quote
Old 05-31-2017, 01:12 AM   #225
AcidWeb
KCC Co-Author
AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.
 
AcidWeb's Avatar
 
Posts: 845
Karma: 765434
Join Date: Mar 2013
Location: Poland
Device: Kindle Oasis 2
I also noticed this but even then Panel View code is still ignored.
AcidWeb is offline   Reply With Quote
Reply

Tags
kfx, linux, wine

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Conversion Output] KePub Output Plugin jgoguen Plugins 551 07-18-2023 06:22 AM
Conversion output plugins? jgoguen Development 14 08-10-2013 11:19 AM
Output file name after conversion dbellefuil Calibre 2 06-14-2013 04:40 PM
catalogue builder output columns are not in the same order in the output KWhytte Library Management 5 12-04-2012 02:03 AM
Conversion output folders TechieLady Conversion 6 01-19-2012 02:49 AM


All times are GMT -4. The time now is 09:43 PM.


MobileRead.com is a privately owned, operated and funded community.