View Single Post
Old 04-28-2017, 03:34 PM   #194
CStaack
Junior Member
CStaack began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2017
Device: Paperwhite 3
Hi,

Paperwhite 3 on a German Win7/calibre 2.83, kindle previewer 3.9.0.

Trying to convert the Frankenstein-book, I get this error.

Spoiler:

Buch 1 von 1 (Frankenstein) konvertieren
Failed to initialize plugin: K4PC, K4Mac, Kindle Mobi and Topaz DeDRM (0, 4, 2)
Failed to initialize plugin: u'C:\\Users\\CS\\AppData\\Roaming\\calibre\\plugin s\\K4PC, K4Mac, Kindle Mobi and Topaz DeDRM.zip'
C:\Program Files\Calibre2\pylib.zip\dateutil\parser.py:339: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Conversion options changed from defaults:
cover: u'C:\\Users\\CS\\AppData\\Local\\Temp\\calibre_sil jjx\\sdp1x7.jpeg'
margin_right: 2.0
debug_pipeline: u'C:\\temp\\LogsCalibre'
verbose: 2
read_metadata_from_opf: u'C:\\Users\\CS\\AppData\\Local\\Temp\\calibre_sil jjx\\zjgkph.opf'
margin_top: 2.0
margin_left: 2.0
output_profile: 'kindle_pw3'
Resolved conversion options
calibre version: 2.83.0
{'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|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\\CS\\AppData\\Local\\Temp\\calibre_sil jjx\\sdp1x7.jpeg',
'debug_pipeline': u'C:\\temp\\LogsCalibre',
'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 0x000000000454D550>,
'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': 2.0,
'margin_right': 2.0,
'margin_top': 2.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.KindlePaperWhite3Outpu t object at 0x000000000454DC18>,
'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\\CS\\AppData\\Local\\Temp\\calibre_sil jjx\\zjgkph.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\CS\AppData\Local\Temp\calibre_siljjx\ijqn vf.epub
Found HTML cover OEBPS/Text/Cover.xhtml
Input debug saved to: C:\temp\LogsCalibre\input
Parsing all content...
Parsing OEBPS/Text/Chapter13.xhtml ...
Parsing OEBPS/Text/Chapter04.xhtml ...
Parsing OEBPS/Text/Chapter05.xhtml ...
Parsing OEBPS/Text/Chapter12.xhtml ...
Parsing OEBPS/Text/Chapter21.xhtml ...
Parsing OEBPS/Text/Chapter24.xhtml ...
Parsing OEBPS/Text/Chapter07.xhtml ...
Parsing OEBPS/Text/Letter01.xhtml ...
Parsing OEBPS/Text/Chapter14.xhtml ...
Parsing OEBPS/Text/Chapter17.xhtml ...
Parsing OEBPS/Styles/Stil.css ...
Parsing OEBPS/Text/Chapter08.xhtml ...
Parsing OEBPS/Text/Cover.xhtml ...
Parsing OEBPS/Text/Chapter09.xhtml ...
Parsing OEBPS/Text/Chapter22.xhtml ...
Parsing OEBPS/Text/Chapter18.xhtml ...
Parsing OEBPS/Text/Title.xhtml ...
Parsing OEBPS/Text/Chapter10.xhtml ...
Parsing OEBPS/Text/Letter02.xhtml ...
Parsing OEBPS/Text/Letter04.xhtml ...
Parsing OEBPS/Text/Chapter15.xhtml ...
Parsing OEBPS/Text/Chapter25.xhtml ...
Parsing OEBPS/Text/Chapter19.xhtml ...
Parsing OEBPS/Text/Chapter01.xhtml ...
Parsing OEBPS/Text/Chapter06.xhtml ...
Parsing OEBPS/Text/Letter03.xhtml ...
Parsing OEBPS/Text/Chapter16.xhtml ...
Parsing OEBPS/Text/Chapter02.xhtml ...
Parsing OEBPS/Text/Chapter23.xhtml ...
Parsing OEBPS/Text/Chapter20.xhtml ...
Parsing OEBPS/Text/Chapter03.xhtml ...
Parsing OEBPS/Text/Chapter11.xhtml ...
Reading TOC from NCX...
Parsed HTML written to: C:\temp\LogsCalibre\parsed
Merging user specified metadata...
Detecting structure...
Structured HTML written to: C:\temp\LogsCalibre\structure
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 33 items of level: p_2
Found 677 items of level: p_1
Found 3 items of level: div_1
p_2 left margin stats: Counter({u'0': 33})
p_2 right margin stats: Counter({u'0': 30, u'1em': 3})
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
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'OEBPS/Text/Cover.xhtml' from manifest
Processed HTML written to: C:\temp\LogsCalibre\processed
Creating KFX Output...
Software versions: KFX Output 1.7.1, calibre 2.83 [64bit], Windows-7-6.1.7601-SP1
KFX Output plugin help is available at https://www.mobileread.com/forums/sh...d.php?t=272407

Splitting markup on page breaks and flow limits, if any...
Looking for large trees in OEBPS/Text/Chapter13.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/Chapter05.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/Chapter21.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/Chapter07.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/Chapter14.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/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/Chapter22.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/Title.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/Letter02.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/Chapter15.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/Chapter19.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/Chapter06.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/Chapter16.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/Chapter23.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/Chapter03.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Chapter11.xhtml...
No large trees found
Successfully converted input format to EPUB
Converting "C:\Users\CS\AppData\Local\Temp\calibre_siljjx\kqp c_8.epub" to KDF/KPF
Preparing EPUB for conversion
Python function terminated unexpectedly
SHGetFolderPathW failed (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 117, in convert_from_epub
File "calibre_plugins.kfx_output.kfxlib.previewer_k pf", line 106, in epub_to_kpf
File "calibre_plugins.kfx_output.kfxlib.previewer_k pf", line 180, in exec_previewer
File "calibre_plugins.kfx_output.kfxlib.misc", line 341, in user_home_dir
File "calibre_plugins.kfx_output.kfxlib.misc", line 307, in windows_user_dir
Exception: SHGetFolderPathW failed


Conversion works via kindle previewer.

Any idea?
CStaack is offline   Reply With Quote