Converting CHM to X (epub or pdf) no longer working. Input Error in chm.py?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have tried over 10 different chm files on both mac and windows.
Failed Conversion see Error log below:
calibre, version 3.32.0 (darwin, embedded-python: True)
Conversion error: Failed: Convert book 1 of 1 (ChmTitle)
Convert book 1 of 1 (ChmTitle)
Conversion options changed from defaults:
cover: u'/var/
read_
verbose: 2
Resolved conversion options
calibre version: 3.32.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': u'/var/
'debug_pipeline': None,
'dehyphenate': True,
'delete_
'disable_
'dont_
'duplicate_
'embed_all_fonts': False,
'embed_
'enable_
'epub_flatten': False,
'epub_inline_toc': False,
'epub_toc_at_end': False,
'epub_version': u'2',
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'flow_size': 260,
'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_
'no_chapters_
'no_default_
'no_inline_
'no_svg_cover': False,
'output_profile': <calibre.
'page_
'prefer_
'preserve_
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_
'remove_
'remove_
'remove_
'remove_
'renumber_
'replace_
'search_replace': '[]',
'series': None,
'series_index': None,
'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}
Python function terminated unexpectedly: Objects/
InputFormatPlugin: CHM Input running
on /var/folders/
Processing CHM...
tdir=/var/
stream.
Opening CHM file
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/
File "site-packages/
SystemError: Objects/
This is a bug in chmlib (the library that calibre uses to process CHM
files). Sadly this library is not maintained anymore. It's on my TODO
list to take over maintenance of it, if possible, but given the
constraints on my time, it may not happen anytime soon.