Epub to Mobi conversion failure - malformed OPF
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Trying to convert from .epub to .mobi on Windows 8 and I get the following failure. Note this is after upgrading to 0.9.31. I cracked open the .opf file and there is a <metadata> field, so I have no idea why it's not being seen. OPF is attached.
Convert book 1 of 1 (Silentium)
Qt: Untested Windows version 6.2 detected!
Resolved conversion options
calibre version: 0.9.31
{'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': u'C:\\Users\
'debug_pipeline': None,
'dehyphenate': True,
'delete_
'disable_
'dont_compress': False,
'duplicate_
'embed_
'enable_
'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,
'unsmarten_
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\
Python function terminated unexpectedly
Malformed OPF file: No <metadata> element (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\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
ValueError: Malformed OPF file: No <metadata> element
Attach an epub file demonstrating/ reproducing the problem to this bug report. You can do that by clicking the "Add attachment or patch" link at the bottom of the bug's page. If the file you are attaching is copyrighted, mark the bug as private. You can do this by clicking the tiny lock icon next to "This report contains Public information" in the top right area of the bug's page.
status incomplete