View Single Post
Old 01-11-2021, 09:09 AM   #981
kindlelover6112
Junior Member
kindlelover6112 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2021
Device: Paperwhite 4
Quote:
Originally Posted by jhowell View Post
Version 1.48.0 - 11 Jan 2021

Detect Kindle Previewer versions up to 3.50.

Report an error if the TEMP folder path contains a "#" character. (Having that will prevent conversion by the Kindle Previewer.)

Fix error reporting for Kindle Previewer process launch failures.
Tried to convert to kfx once again with the new version, now the log is different:
Any clue?
Code:
Convert book 1 of 1 (The Courage to Be Disliked: How to Free Yourself, Change Your Life and Achieve Real Happiness)
Conversion options changed from defaults:
  remove_paragraph_spacing_indent_size: 2.0
  read_metadata_from_opf: '/tmp/calibre_5.9.0_tmp_yqxbq8kz/f0de0_2u.opf'
  verbose: 2
  insert_blank_line_size: 1.0
  disable_font_rescaling: True
  smarten_punctuation: True
  extra_css: 'h1, h2, h3, h4, h5, h6 {\ncolor:black;\ntext-align:center;\nfont-weight:bold;\n}'
  linearize_tables: True
  cover: '/tmp/calibre_5.9.0_tmp_yqxbq8kz/bszwq05z.jpeg'
  output_profile: 'kindle_pw3'
Resolved conversion options
calibre version: 5.9.0
{'approximate_pages': False,
 'asciiize': False,
 'author_sort': None,
 'authors': None,
 'base_font_size': 0.0,
 'book_producer': None,
 'cde_type_pdoc': False,
 'change_justification': 'original',
 'chapter': "//*[((name()='h1' or name()='h2') and re:test(., "
            "'\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))', "
            "'i')) or @class = 'chapter']",
 'chapter_mark': 'pagebreak',
 'comments': None,
 'cover': '/tmp/calibre_5.9.0_tmp_yqxbq8kz/bszwq05z.jpeg',
 'debug_pipeline': None,
 'dehyphenate': True,
 'delete_blank_paragraphs': True,
 'disable_font_rescaling': True,
 'duplicate_links_in_toc': False,
 'embed_all_fonts': False,
 'embed_font_family': None,
 'enable_heuristics': False,
 'enable_timeout': False,
 'expand_css': False,
 'extra_css': 'h1, h2, h3, h4, h5, h6 {\n'
              'color:black;\n'
              'text-align:center;\n'
              'font-weight:bold;\n'
              '}',
 'filter_css': '',
 'fix_indents': True,
 'font_size_mapping': None,
 'format_scene_breaks': True,
 'html_unwrap_factor': 0.4,
 'input_encoding': None,
 'input_profile': <calibre.customize.profiles.InputProfile object at 0x7f84fae4d760>,
 'insert_blank_line': False,
 'insert_blank_line_size': 1.0,
 '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': True,
 '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_inline_navbars': False,
 'number_of_pages_field': '(auto)',
 'output_profile': <calibre.customize.profiles.KindlePaperWhite3Output object at 0x7f84fae4dd30>,
 'page_breaks_before': '/',
 'prefer_metadata_cover': False,
 'pretty_print': True,
 'pubdate': None,
 'publisher': None,
 'quality_report': False,
 'rating': None,
 'read_metadata_from_opf': '/tmp/calibre_5.9.0_tmp_yqxbq8kz/f0de0_2u.opf',
 'remove_fake_margins': True,
 'remove_first_image': False,
 'remove_paragraph_spacing': False,
 'remove_paragraph_spacing_indent_size': 2.0,
 'renumber_headings': True,
 'replace_scene_breaks': '',
 'search_replace': '[]',
 'series': None,
 'series_index': None,
 'show_kpr_logs': False,
 'smarten_punctuation': True,
 '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,
 'transform_css_rules': '[]',
 'unsmarten_punctuation': False,
 'unwrap_lines': True,
 'use_auto_toc': False,
 'verbose': 2}
InputFormatPlugin: EPUB Input running
on /tmp/calibre_5.9.0_tmp_yqxbq8kz/kbh_8sr_.epub
Found HTML cover ops/xhtml/cover.html
Parsing all content...
Parsing ops/xhtml/part01.html ...
Parsing ops/xhtml/part02a.html ...
Parsing ops/xhtml/ch35.html ...
Parsing ops/xhtml/ch48.html ...
Parsing ops/xhtml/ch26.html ...
Parsing ops/xhtml/cont.html ...
Parsing ops/xhtml/ch08.html ...
Parsing ops/xhtml/ch21.html ...
Parsing ops/xhtml/part04b.html ...
Parsing ops/xhtml/ch43.html ...
Parsing ops/styles/SS_signup.css ...
Parsing ops/xhtml/ch16.html ...
Parsing ops/xhtml/part03a.html ...
Parsing ops/xhtml/ch28.html ...
Parsing ops/xhtml/ch54.html ...
Parsing ops/xhtml/ch41.html ...
Parsing ops/xhtml/ch27.html ...
Parsing ops/xhtml/SS_US_adult_signup_back.html ...
Parsing ops/xhtml/ch36.html ...
Parsing ops/xhtml/ch49.html ...
Parsing ops/xhtml/part01a.html ...
Parsing ops/xhtml/ch11.html ...
Parsing ops/xhtml/ch56.html ...
Parsing ops/xhtml/authorn.html ...
Parsing ops/xhtml/ch09.html ...
Parsing ops/xhtml/ch22.html ...
Parsing ops/xhtml/part04.html ...
Parsing ops/xhtml/ch44.html ...
Parsing ops/xhtml/ch17.html ...
Parsing ops/xhtml/ch24.html ...
Parsing ops/xhtml/ch25.html ...
Parsing ops/xhtml/ch29.html ...
Parsing ops/xhtml/ch42.html ...
Parsing ops/xhtml/copy.html ...
Parsing ops/xhtml/ch50.html ...
Parsing ops/xhtml/ch01.html ...
Parsing ops/xhtml/ch12.html ...
Parsing ops/xhtml/ch37.html ...
Parsing ops/xhtml/ch45.html ...
Parsing ops/xhtml/fm01.html ...
Parsing ops/xhtml/ch10.html ...
Parsing ops/xhtml/ch23.html ...
Parsing ops/xhtml/part04a.html ...
Parsing ops/xhtml/cover.html ...
Parsing ops/xhtml/ch05.html ...
Parsing ops/xhtml/ch18.html ...
Parsing ops/xhtml/ch30.html ...
Parsing ops/xhtml/part05b.html ...
Parsing ops/xhtml/ch02.html ...
Parsing ops/xhtml/ch13.html ...
Parsing ops/xhtml/ch38.html ...
Parsing ops/xhtml/ch51.html ...
Parsing ops/xhtml/after.html ...
Parsing ops/xhtml/ch46.html ...
Parsing ops/xhtml/intro.html ...
Parsing ops/xhtml/part02b.html ...
Parsing ops/xhtml/part03b.html ...
Parsing ops/xhtml/ch33.html ...
Parsing ops/xhtml/part05.html ...
Parsing ops/xhtml/SS_US_adult_signup_front.html ...
Parsing ops/xhtml/ch06.html ...
Parsing ops/xhtml/ch19.html ...
Parsing ops/xhtml/ch31.html ...
Parsing ops/styles/9781501197291.css ...
Parsing ops/xhtml/ch03.html ...
Parsing ops/xhtml/ch14.html ...
Parsing ops/xhtml/ch39.html ...
Parsing ops/xhtml/ch52.html ...
Parsing ops/xhtml/rgg.html ...
Parsing ops/xhtml/part01b.html ...
Parsing ops/xhtml/part02.html ...
Parsing ops/xhtml/part03.html ...
Parsing ops/xhtml/ch34.html ...
Parsing ops/xhtml/ch47.html ...
Parsing ops/xhtml/ch55.html ...
Parsing ops/xhtml/title.html ...
Parsing ops/xhtml/ch07.html ...
Parsing ops/xhtml/ch20.html ...
Parsing ops/xhtml/ch32.html ...
Parsing ops/xhtml/part05a.html ...
Parsing ops/styles/SS_global.css ...
Parsing ops/xhtml/ch40.html ...
Parsing ops/xhtml/ch04.html ...
Parsing ops/xhtml/ch15.html ...
Parsing ops/xhtml/ch53.html ...
Parsing ops/xhtml/authorbio.html ...
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 12 items of level: div_1
Found 8 items of level: p_2
Found 1661 items of level: p_1
Ignoring level p_2
div_1  left margin stats: Counter()
div_1  right margin stats: Counter()
Negative text indent detected at level  p_1, ignoring this level
Cleaning up manifest...
Trimming unused files from manifest...
Creating KFX Output...
Software versions: KFX Output 1.48.0, calibre 5.9, Linux-5.4.0-52-generic-x86_64-with-glibc2.2.5
KFX Output plugin help is available at https://www.mobileread.com/forums/showthread.php?t=272407
Found ASIN metadata amazon: B074TWG8V7
Rescaling image from 1313x2000 to 911x1388 ops/images/part-img.jpg
Rescaling image from 1432x2200 to 903x1388 cover.jpeg
Rescaling image from 2000x1423 to 1030x733 ops/images/title.jpg
Splitting markup on page breaks and flow limits, if any...
The cover image has an id != "cover". Renaming to work around bug in Nook Color
Successfully converted input format to EPUB
Converting /tmp/calibre_5.9.0_tmp_yqxbq8kz/tvozfb9d.epub
Converting /tmp/calibre_5.9.0_tmp_yqxbq8kz/tvozfb9d.epub to KPF
Preparing book /tmp/calibre_5.9.0_tmp_yqxbq8kz/tvozfb9d.epub for conversion
Removed calibre class from 1 br in ops/xhtml/authorbio.html
Launching Kindle Previewer 3 (3.50.0) - CLI
Unknown conversion error occurred -- Retrying
Launching Kindle Previewer 3 (3.50.0) - CLI
Unknown conversion error occurred -- Retrying
Launching Kindle Previewer 3 (3.50.0) - CLI
Unknown conversion error occurred -- Retrying
Launching Kindle Previewer 3 (3.50.0) - CLI
Unknown conversion error occurred -- Retrying
Launching Kindle Previewer 3 (3.50.0) - CLI
Unknown conversion error occurred -- Retrying
Launching Kindle Previewer 3 (3.50.0) - CLI

****************** Conversion Failure Reason *****************
Failed to launch conversion process: FileNotFoundError(2, 'No such file or directory')
**************************************************************
Traceback (most recent call last):
  File "runpy.py", line 194, in _run_module_as_main
  File "runpy.py", line 87, in _run_code
  File "site.py", line 45, in <module>
  File "site.py", line 41, in main
  File "calibre/utils/ipc/worker.py", line 216, in main
  File "calibre/gui2/convert/gui_conversion.py", line 41, in gui_convert_override
  File "calibre/gui2/convert/gui_conversion.py", line 28, in gui_convert
  File "calibre/ebooks/conversion/plumber.py", line 1274, in run
  File "calibre_plugins.kfx_output.__init__", line 217, in convert
  File "calibre_plugins.kfx_output.__init__", line 305, in convert_using_previewer
  File "calibre_plugins.kfx_output.__init__", line 354, in report_failure
calibre.ebooks.conversion.ConversionUserFeedBack: {"msg": "<b>Cannot convert The Courage to Be Disliked: How to Free Yourself, Change Your Life and Achieve Real Happiness</b><br><br><b>Conversion error:</b> Failed to launch conversion process: FileNotFoundError(2, 'No such file or directory')", "level": "error", "det_msg": "", "title": "KFX conversion failed"}
kindlelover6112 is offline   Reply With Quote