View Single Post
Old 08-31-2020, 06:11 AM   #1
owl-sorcerer
Junior Member
owl-sorcerer began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2020
Device: none
Unhappy Converting epub to docx: file disappears

Hi,

I hope this is the right place to ask this.

I am trying to convert an epub to docx using the Calibre management app. The job finishes with the output below, which seems successful, but the docx file has only existed for a second and disappeared. I managed to make a copy before it was deleted, but it is corrupt and I cannot open it (I have no way to know if it is corrupt because it was not completely built or if it was still corrupt exactly before it was autodeleted).

Since the log does not report any error, it is difficult to know what is going on.

The same happens if I choose PDF format as the output.

Is this a bug or I am doing something wrong?

It is calibre 4.23 64bit on Windows 10.

Output:
Spoiler:

Convert book 1 of 1 (My book) Conversion options changed from defaults: read_metadata_from_opf: u'C:\Users\User\AppData\Local\Temp\calibre_ulk1yl\ 7n7zcz.opf' cover: u'C:\Users\User\AppData\Local\Temp\calibre_ulk1yl\ kiyfjk.jpeg' output_profile: u'generic_eink' verbose: 2 Resolved conversion options calibre version: 4.23.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|prolo gue|epilogue)(\s+|$))', 'i')) or @class = 'chapter']", 'chapter_mark': u'pagebreak', 'comments': None, 'cover': u'C:\Users\User\AppData\Local\Temp\calibre_ulk1yl\ kiyfjk.jpeg', 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': False, 'docx_custom_page_size': None, 'docx_no_cover': False, 'docx_no_toc': False, 'docx_page_margin_bottom': 72.0, 'docx_page_margin_left': 72.0, 'docx_page_margin_right': 72.0, 'docx_page_margin_top': 72.0, 'docx_page_size': u'letter', 'duplicate_links_in_toc': False, 'embed_all_fonts': False, 'embed_font_family': None, 'enable_heuristics': False, 'expand_css': False, 'extra_css': None, 'extract_to': None, 'filter_css': u'', '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 0x000001F101401508>, '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_inline_navbars': False, 'output_profile': <calibre.customize.profiles.GenericEink object at 0x000001F101408148>, 'page_breaks_before': u'/', 'prefer_metadata_cover': False, 'preserve_cover_aspect_ratio': False, 'pretty_print': False, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': u'C:\Users\User\AppData\Local\Temp\calibre_ulk1yl\ 7n7zcz.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, 'transform_css_rules': '[]', 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: EPUB Input running on C:\Users\User\AppData\Local\Temp\calibre_ulk1yl\4n cunl.epub Found HTML cover titlepage.xhtml Parsing all content... Parsing stylesheet.css ... Parsing tmp_63e9249c625fae1b0402bcada3b1e1c9_KLGR9r.ch.fix ed.fc.tidied.stylehacked.xfixed_split_001.xhtml ... Parsing titlepage.xhtml ... Parsing nav.xhtml ... Parsing tmp_63e9249c625fae1b0402bcada3b1e1c9_KLGR9r.ch.fix ed.fc.tidied.stylehacked.xfixed_split_000.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 15 items of level: p_1 Found 235 items of level: p_2 Found 254 items of level: p_3 Found 250 items of level: div_2 Found 234 items of level: div_1 Ignoring level p_1 p_2 left margin stats: Counter({u'0': 235}) p_2 right margin stats: Counter({u'0': 235}) p_3 left margin stats: Counter({u'0': 254}) p_3 right margin stats: Counter({u'0': 254}) div_2 left margin stats: Counter({u'1em': 1}) div_2 right margin stats: Counter({u'0': 1}) Removing level div_2 left margin of: 1em div_1 left margin stats: Counter({u'0': 17}) div_1 right margin stats: Counter({u'0': 17}) Cleaning up manifest... Trimming unused files from manifest... Trimming u'toc.ncx' from manifest Trimming u'titlepage.xhtml' from manifest Trimming u'nav.xhtml' from manifest Creating DOCX Output... Rasterizing SVG images... Processing tmp_63e9249c625fae1b0402bcada3b1e1c9_KLGR9r.ch.fix ed.fc.tidied.stylehacked.xfixed_split_000.xhtml Processing tmp_63e9249c625fae1b0402bcada3b1e1c9_KLGR9r.ch.fix ed.fc.tidied.stylehacked.xfixed_split_001.xhtml 3 Text Styles 6 Combined styles DOCX output written to C:\Users\User\AppData\Local\Temp\calibre_ulk1yl\6k a8bn.docx

Last edited by theducks; 08-31-2020 at 11:07 AM. Reason: spoilered log
owl-sorcerer is offline   Reply With Quote