View Single Post
Old 06-06-2010, 12:01 PM   #1
franx
Junior Member
franx began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2010
Device: Kindle 2
Weird conversion failure

Folks,

Calibre works great, no hitches, on my XP Windows machine.

But on my Mac PowerPC, running Leopard OSX, I get the following type of failure notice, no matter what the file:

ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Soldier's Prayer)

Convert book 1 of 1 (Soldier's Prayer)
Resolved conversion options
calibre version: 0.7.0
{'asciiize': True,
'author_sort': None,
'authors': None,
'base_font_size': 12.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'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': u'/Users/franx2/Desktop/Debug calibre',
'disable_font_rescaling': False,
'dont_compress': False,
'extra_css': None,
'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>)' ,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x6304af0>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'keep_ligatures': True,
'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_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindleOutput object at 0x6304dd0>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'personal_doc': u'[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'preprocess_html': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': '/var/folders/VJ/VJQTFWGQFtqpA9eb997HUk+++TI/-Tmp-/calibre_0.7.0_p4qRUv.opf',
'remove_first_image': False,
'remove_footer': False,
'remove_header': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'rescale_images': False,
'series': None,
'series_index': None,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'use_auto_toc': False,
'verbose': 2}
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 "ansicpg10000"

InputFormatPlugin: RTF Input running
on /Users/franx2/Calibre Library/Unknown/Soldier's Prayer (7)/Soldier's Prayer - Unknown.rtf
Converting RTF to XML...
Preprocessing to convert unicode characters
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 147, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 116, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/utils/ipc/worker.py", line 99, 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 808, in run
File "site-packages/calibre/customize/conversion.py", line 211, in __call__
File "site-packages/calibre/ebooks/rtf/input.py", line 200, 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 "ansicpg10000"

Any idea what's going wrong?
franx is offline   Reply With Quote