Long titles with possible invalid chars cause errors during convert
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Calibre version 1.5, Windows 8 64-bit
When trying to convert the ebook with the Calibre Title below, it failed:
John Carter: Barsoom Series (7 Novels) A Princess of Mars; Gods of Mars; Warlord of Mars; Thuvia, Maid of Mars; Chessmen of Mars; Master Mind of Mars; Fighting Man of Mars COMPLETE WITH ILLUSTRATIONS
After changing only the Calibre Title to the following, it succeeded:
John Carter- Barsoom Series (7 Novels)
calibre, version 1.5.0 (win32, isfrozen: True)
Conversion Error: Failed: Convert book 1 of 1 (John Carter: Barsoom Series (7 Novels) A Princess of Mars; Gods of Mars; Warlord of Mars; Thuvia, Maid of Mars; Chessmen of Mars; Master Mind of Mars; Fighting Man of Mars COMPLETE WITH ILLUSTRATIONS)
Convert book 1 of 1 (John Carter: Barsoom Series (7 Novels) A Princess of Mars; Gods of Mars; Warlord of Mars; Thuvia, Maid of Mars; Chessmen of Mars; Master Mind of Mars; Fighting Man of Mars COMPLETE WITH ILLUSTRATIONS)
Resolved conversion options
calibre version: 1.5.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_
'chapter': u"//*[name()='h3' or name()='h4']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\
'debug_pipeline': None,
'dehyphenate': True,
'delete_
'disable_
'duplicate_
'embed_all_fonts': False,
'embed_
'enable_
'extra_css': None,
'filter_css': u'',
'fix_indents': True,
'font_
'format_
'html_
'htmlz_
'htmlz_css_type': u'tag',
'htmlz_
'input_encoding': None,
'input_profile': <calibre.
'insert_
'insert_
'insert_metadata': False,
'isbn': None,
'italicize_
'keep_ligatures': False,
'language': None,
'level1_toc': u"//*[name()='h3' or name()='h6']",
'level2_toc': u"//*[name(
'level3_toc': None,
'line_height': 0.0,
'linearize_
'margin_bottom': -1.0,
'margin_left': -1.0,
'margin_right': -1.0,
'margin_top': -1.0,
'markup_
'max_toc_links': 0,
'minimum_
'no_chapters_
'no_inline_
'output_profile': <calibre.
'page_
'prefer_
'pretty_print': False,
'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': 0,
'unsmarten_
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: MOBI Input running
on C:\Users\
Extracting text...
Adding anchors...
Extracting images...
Cleaning up HTML...
Parsing HTML...
Converting style information to CSS...
Creating OPF...
Parsing all content...
Parsing styles.css ...
Parsing CR!4ZDG4DZM3X2J
Forcing CR!4ZDG4DZM3X2J
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 150 items of level: div_1
Found 10228 items of level: p_1
div_1 left margin stats: Counter()
div_1 right margin stats: Counter()
Negative text indent detected at level p_1, ignoring this level
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'images/00025.jpg' from manifest
Trimming u'images/00024.jpg' from manifest
Creating HTMLZ Output...
Converting OEB book to HTML...
Converting CR%214ZDG4DZM3X
Python function terminated unexpectedly
[Errno 2] No such file or directory: u'C:\\Users\
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\
IOError: [Errno 2] No such file or directory: u'C:\\Users\
Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.
status fixreleased