Calibre 4.0 will not convert odt to mobi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
New
|
Undecided
|
Unassigned |
Bug Description
When trying to convert a .odt file created in OpenOffice 4.1.7 to mobi I get the following error:
Failed: Convert book 1 of 1
Trying to convert to ePub gives the same error. I have had no problems previously with v3.48. I am attaching the file I was trying to convert. I am running Calibre 4.0 on a MacBook Pro laptop running macOS v12.14.6.
The output log is shown below:
calibre, version 4.0.0 (darwin, embedded-python: True)
Conversion error: Failed: Convert book 1 of 1 (One Rule For You - Another For Me)
Convert book 1 of 1 (One Rule For You - Another For Me)
Conversion options changed from defaults:
output_profile: u'kindle_pw3'
read_
verbose: 2
insert_
insert_
Resolved conversion options
calibre version: 4.0.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((
'chapter_mark': u'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_
'disable_
'dont_compress': False,
'duplicate_
'embed_all_fonts': False,
'embed_
'enable_
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'font_
'format_
'html_
'input_encoding': None,
'input_profile': <calibre.
'insert_
'insert_
'insert_metadata': False,
'isbn': None,
'italicize_
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_
'max_toc_links': 50,
'minimum_
'mobi_file_type': u'old',
'mobi_
'mobi_
'mobi_
'no_chapters_
'no_inline_
'no_inline_toc': False,
'output_profile': <calibre.
'page_
'personal_doc': u'[PDOC]',
'prefer_
'prefer_
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_
'remove_
'remove_
'remove_
'remove_
'renumber_
'replace_
'search_replace': '[]',
'series': None,
'series_index': None,
'share_not_sync': False,
'smarten_
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_
'subset_
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_
'unsmarten_
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: ODT Input running
on /var/folders/
Extracting ODT file...
Python function terminated unexpectedly: u'keywords'
Traceback (most recent call last):
File "/Applications/
return run_entry_point()
File "/Applications/
return getattr(pmod, func)()
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
KeyError: u'keywords'
This is fixed in the development version of calibre via /github. com/kovidgoyal/ calibre/ commit/ b72922e94c34095 3434778a0792c82 44bf012c57
https:/
The fix will be in the next release of calibre, calibre is released most
Fridays. I expect Kovid will most likely be releasing a new version this
Friday, and not waiting another week, because there have been a bunch of
fixes.
duplicate 1846828