05-15-2011, 01:43 AM | #1 |
Addict
Posts: 239
Karma: 237
Join Date: Jun 2010
Location: OH USA
Device: Sony PRS 900(gave it to my sister); Sony PRS-T1; onyx book note air
|
conversion failed
I have been trying to convert a few books from RTF to EPUB. I get the following message: calibre, version 0.8.0
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (The Old Curiosity Shop) Convert book 1 of 1 (The Old Curiosity Shop) Failed to initialize plugin: u'C:\\Users\\Ann\\AppData\\Roaming\\calibre\\plugi ns\\eReader PDB 2 PML.zip' Resolved conversion options calibre version: 0.8.0 {'asciiize': False, 'author_sort': None, 'authors': None, 'base_font_size': 0.0, 'book_producer': None, 'change_justification': u'original', 'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part\\s+', 'i')) or @class = 'chapter']", 'chapter_mark': u'rule', 'comments': None, 'cover': u'c:\\users\\ann\\appdata\\local\\temp\\calibre_0. 8.0_tmp_zswrkw\\calibre_0.8.0_ridnoi.jpeg', 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': False, 'dont_split_on_page_breaks': False, 'enable_heuristics': False, 'epub_flatten': False, 'extra_css': None, 'extract_to': None, 'fix_indents': True, 'flow_size': 260, 'font_size_mapping': None, 'format_scene_breaks': True, 'html_unwrap_factor': 0.4, 'input_encoding': None, 'input_profile': <calibre.customize.profiles.SonyReader900Input object at 0x063C9210>, 'insert_blank_line': False, 'insert_metadata': True, 'isbn': None, 'italicize_common_cases': True, 'keep_ligatures': False, 'language': None, 'level1_toc': u'//*', 'level2_toc': None, 'level3_toc': None, 'line_height': 0.0, 'linearize_tables': False, 'margin_bottom': 5.0, 'margin_left': 5.0, 'margin_right': 5.0, 'margin_top': 5.0, 'markup_chapter_headings': True, 'max_toc_links': 50, 'minimum_line_height': 120.0, 'no_chapters_in_toc': False, 'no_default_epub_cover': False, 'no_inline_navbars': False, 'no_svg_cover': False, 'output_profile': <calibre.customize.profiles.SonyReader900Output object at 0x063C9510>, 'page_breaks_before': u"//*[name()='h1' or name()='h2']", 'prefer_metadata_cover': False, 'preserve_cover_aspect_ratio': False, 'pretty_print': True, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': u'c:\\users\\ann\\appdata\\local\\temp\\calibre_0. 8.0_tmp_zswrkw\\calibre_0.8.0_mqkq9d.opf', 'remove_fake_margins': True, 'remove_first_image': False, 'remove_paragraph_spacing': False, 'remove_paragraph_spacing_indent_size': 1.5, 'renumber_headings': True, 'replace_scene_breaks': u'', '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, 'tags': None, 'timestamp': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: RTF Input running on C:\Users\Ann\Calibre Library\Charles Dickens\The Old Curiosity Shop (1288)\The Old Curiosity Shop - Charles Dickens.rtf Converting RTF to XML... Python function terminated unexpectedly Invalid RTF: document doesn't start with { Exception in token processing (Error Code: 1) Traceback (most recent call last): File "site.py", line 103, in main File "site.py", line 85, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 119, in main File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert File "site-packages\calibre\ebooks\conversion\plumber.py", line 920, in run File "site-packages\calibre\customize\conversion.py", line 204, in __call__ File "site-packages\calibre\ebooks\rtf\input.py", line 270, in convert File "site-packages\calibre\ebooks\rtf\input.py", line 132, in generate_xml File "site-packages\calibre\ebooks\rtf2xml\ParseRtf.py", line 252, in parse_rtf calibre.ebooks.rtf2xml.ParseRtf.InvalidRtfExceptio n: Invalid RTF: document doesn't start with { Exception in token processing Please help thank you |
05-15-2011, 06:05 AM | #2 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Are you sure that it is a genuine rtf file, and not just a txt file with the wrong extension? Try renaming it to have a txt extension and open it to see what it looks like.
|
Advert | |
|
05-15-2011, 09:04 AM | #3 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
|
05-16-2011, 01:32 PM | #4 |
Addict
Posts: 239
Karma: 237
Join Date: Jun 2010
Location: OH USA
Device: Sony PRS 900(gave it to my sister); Sony PRS-T1; onyx book note air
|
thanks, I will try that.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Book Conversion via Calibre Failed | dewdrops | Calibre | 4 | 08-27-2010 09:32 PM |
Can anyone help me from upgrading failed ? | slawdan | Bookeen | 0 | 01-15-2010 02:27 AM |
Semi-failed conversion to LRF | Xenophon | Calibre | 2 | 02-07-2009 03:04 PM |
Upgrade to 0.4.84 failed | BrendenM | Calibre | 14 | 10-24-2008 06:25 PM |
Failed 0.4.84 update | AprilHare | Calibre | 3 | 09-19-2008 11:20 PM |