|
|
#1 |
|
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Nov 2010
Device: PRS-300
|
Calibre Conversion Error
I've been using Calibre for a bit without any issues. Today, though, I tried to convert a book and received the following error:
Code:
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 ([Songs & Swords 1] Elfshadow)
Convert book 1 of 1 ([Songs & Swords 1] Elfshadow)
Resolved conversion options
calibre version: 0.7.28
{'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|prologue|epilogue\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'extra_css': None,
'extract_to': None,
'flow_size': 260,
'font_size_mapping': None,
'footer_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)',
'header_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)',
'html_unwrap_factor': 0.40000000000000002,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x0416CA70>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'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,
'max_toc_links': 50,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.SonyReader300Output object at 0x0416CE50>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'preprocess_html': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'c:\\docume~1\\imoxyz\\locals~1\\temp\\calibre_0.7.28_tmp_xxkmpb\\calibre_0.7.28_p2svbt.opf',
'remove_first_image': False,
'remove_footer': False,
'remove_header': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'series': None,
'series_index': None,
'smarten_punctuation': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: RTF Input running
on C:\Documents and Settings\Imoxyz\My Documents\Books\Calibre ePub Books\Elaine Cunningham\[Songs & Swords 1] Elfshadow (87)\[Songs & Swords 1] Elfshadow - Elaine Cunningham.rtf
Converting RTF to XML...
Preprocessing to convert unicode characters
Python function terminated unexpectedly
This RTF file has a feature calibre does not support. Convert it to HTML first and then try it.
no map found
map is "ansicpg874"
(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 107, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 24, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 836, in run
File "site-packages\calibre\customize\conversion.py", line 216, in __call__
File "site-packages\calibre\ebooks\rtf\input.py", line 197, in convert
ValueError: This RTF file has a feature calibre does not support. Convert it to HTML first and then try it.
no map found
map is "ansicpg874"
|
|
|
|
|
|
#2 |
|
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Nov 2010
Device: PRS-300
|
Never mind, I managed to solve it by editing the file (it was RTF) and setting paragraph spacing to 'Auto'. Thanks.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Mar 2025
Device: none
|
Same Issue on Mac - Resolved
hi so i was facig the same issue with RTF files on my Mac and to resolve it i followed these steps -
1. In the TextEdit app on your Mac, select the text you want to adjust. 2. Choose Format > Font > Kern, then choose an option. 3. Use Default: Automatically adjusts the distance between characters (if necessary) to make them easier to read. 4. Save and close the file 5. Run conversion again and it worked |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Book Error In Sigil After Calibre Conversion (from lit to epub) | Guns4Hire | Sigil | 13 | 03-05-2010 06:02 PM |
| Calibre 0.6.32 - pdb to epub conversion error | niche99 | Calibre | 4 | 01-23-2010 01:13 PM |
| Conversion Error lrf -> mobi/epub (Calibre 0.6.33) | Joerg_Mosthaf | Calibre | 2 | 01-13-2010 08:40 AM |
| Error: Conversion Error | Spectralist | Calibre | 1 | 08-08-2009 01:14 PM |
| Conversion Error | madebluetooth1 | Calibre | 2 | 05-05-2009 04:33 PM |