I just tried to insert a Word document (docx) into Calibre. I received the following error message:
Spoiler:
calibre, version 2.99.3 (win32, embedded-python: True)
Konvertierungsfehler: Fehlgeschlagen: Buch 1 von 1 (Grundgesetz (GG)) konvertieren
Buch 1 von 1 (Grundgesetz (GG)) konvertieren
C:\Program Files\Calibre2\app\pylib.zip\dateutil\parser.py:60 1: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Conversion options changed from defaults:
verbose: 2
remove_paragraph_spacing_indent_size: 1.0
no_default_epub_cover: True
margin_left: 0.0
output_profile: 'tablet'
minimum_line_height: 100.0
epub_flatten: True
replace_scene_breaks: u'\u2217 \u2217 \u2217'
margin_right: 0.0
base_font_size: 16.0
flow_size: 4096
chapter_mark: u'none'
extra_css: u'body {page-break-before: always;}\np div {orphans: 3; widows: 3;}\nh1, h2, h3, h4, h5, h6 {-webkit-hyphens: none !important; hyphens: none !important;}'
font_size_mapping: u'5.0, 7.0, 9.0, 12.0, 13.5, 17.0, 20.0, 22.0, 24.0'
filter_css: u',font-family'
insert_metadata: True
margin_top: 0.0
read_metadata_from_opf: u'C:\\Users\\DARKAN~1\\AppData\\Local\\Temp\\calib re_edb0mz\\wcqt_w.opf'
preserve_cover_aspect_ratio: True
margin_bottom: 0.0
Resolved conversion options
calibre version: 2.99.3
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 16.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'none',
'comments': None,
'cover': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'docx_inline_subsup': False,
'docx_no_cover': False,
'docx_no_pagebreaks_between_notes': 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': True,
'epub_inline_toc': False,
'epub_toc_at_end': False,
'expand_css': False,
'extra_css': u'body {page-break-before: always;}\np div {orphans: 3; widows: 3;}\nh1, h2, h3, h4, h5, h6 {-webkit-hyphens: none !important; hyphens: none !important;}',
'extract_to': None,
'filter_css': u',font-family',
'fix_indents': True,
'flow_size': 4096,
'font_size_mapping': u'5.0, 7.0, 9.0, 12.0, 13.5, 17.0, 20.0, 22.0, 24.0',
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x00000208AA328BA8>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': True,
'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': 0.0,
'margin_left': 0.0,
'margin_right': 0.0,
'margin_top': 0.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 100.0,
'no_chapters_in_toc': False,
'no_default_epub_cover': True,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.TabletOutput object at 0x00000208AA332630>,
'page_breaks_before': u'/',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': True,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\DARKAN~1\\AppData\\Local\\Temp\\calib re_edb0mz\\wcqt_w.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.0,
'renumber_headings': True,
'replace_scene_breaks': u'\u2217 \u2217 \u2217',
'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: DOCX Input running
on C:\Users\DARKAN~1\AppData\Local\Temp\calibre_edb0m z\lkxdhj.docx
Settings word/word/settings.xml do not exist
Styles word/word/styles.xml do not exist
Numbering styles word/word/numbering.xml do not exist
Converting Word markup to HTML
Python function terminated unexpectedly
'Styles' object has no attribute 'default_paragraph_style' (Error Code: 1)
Traceback (most recent call last):
File "C:/t/t/frozen-n_3rl3/winfrozen/app/Lib\site.py", line 101, in main
File "C:/t/t/frozen-n_3rl3/winfrozen/app/Lib\site.py", line 78, in run_entry_point
File "C:/t/t/frozen-n_3rl3/winfrozen/app/Lib\site-packages\calibre\utils\ipc\worker.py", line 195, in main
File "C:/t/t/frozen-n_3rl3/winfrozen/app/Lib\site-packages\calibre\gui2\convert\gui_conversion.py", line 33, in gui_convert_override
File "C:/t/t/frozen-n_3rl3/winfrozen/app/Lib\site-packages\calibre\gui2\convert\gui_conversion.py", line 26, in gui_convert
File "C:/t/t/frozen-n_3rl3/winfrozen/app/Lib\site-packages\calibre\ebooks\conversion\plumber.py", line 1088, in run
File "C:/t/t/frozen-n_3rl3/winfrozen/app/Lib\site-packages\calibre\customize\conversion.py", line 245, in __call__
File "C:/t/t/frozen-n_3rl3/winfrozen/app/Lib\site-packages\calibre\ebooks\conversion\plugins\docx_in put.py", line 34, in convert
File "C:/t/t/frozen-n_3rl3/winfrozen/app/Lib\site-packages\calibre\ebooks\docx\to_html.py", line 122, in __call__
File "C:/t/t/frozen-n_3rl3/winfrozen/app/Lib\site-packages\calibre\ebooks\docx\to_html.py", line 405, in convert_p
File "C:/t/t/frozen-n_3rl3/winfrozen/app/Lib\site-packages\calibre\ebooks\docx\styles.py", line 225, in resolve_paragraph
AttributeError: 'Styles' object has no attribute 'default_paragraph_style'
I have tested a few more Word documents. The error I have mentioned occurs when I have previously created this file from a PDF document. For this I use the software "PDF Converter Professional 8".