![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 95
Karma: 8282
Join Date: Jan 2010
Device: Kindle PW, Kobo Aura HD, Galaxy Note 10.1
|
Conversion problem from PRC to anything
I picked up a recent free Kindle book on Amazon. (This one to be precise.) I noticed it had an embedded font. I thought I'd try to convert it to a different format to see how that was done and have discovered I'm unable to do so.
I don't believe there are any DRM issues with this file. I receive the following error from Calibre 0.6.38 when trying to convert to ANY format. Thanks for any advice! Code:
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (youngpeople.prc) Convert book 1 of 1 (youngpeople.prc) Resolved conversion options {'asciiize': False, 'author_sort': None, 'authors': None, 'base_font_size': 0.0, 'book_producer': None, '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': None, 'disable_font_rescaling': False, 'dont_justify': 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>)', 'input_encoding': None, 'input_profile': <calibre.customize.profiles.InputProfile object at 0x03FA70F0>, 'insert_blank_line': False, 'insert_metadata': False, 'isbn': None, '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, 'output_profile': <calibre.customize.profiles.KindleOutput object at 0x03FA73F0>, 'page_breaks_before': u"//*[name()='h1' or name()='h2']", 'prefer_metadata_cover': False, 'preprocess_html': False, 'pretty_print': True, 'publisher': None, 'rating': None, 'read_metadata_from_opf': 'c:\\users\\elandes\\appdata\\local\\temp\\calibre_0.6.38_izqb3d.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, 'tags': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: MOBI Input running on o:\general library\Unknown\youngpeople.prc (6)\youngpeople.prc - Unknown.prc Python function terminated unexpectedly Unknown book type: |�>��'�H (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 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 745, in run File "site-packages\calibre\customize\conversion.py", line 211, in __call__ File "site-packages\calibre\ebooks\mobi\input.py", line 26, in convert File "site-packages\calibre\ebooks\mobi\reader.py", line 267, in __init__ calibre.ebooks.mobi.MobiError: Unknown book type: |�>��'�H Last edited by mtravellerh; 02-12-2010 at 12:47 AM. |
![]() |
![]() |
![]() |
#2 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
PRC is a generic extension that can be a number of different formats. Most of the time it is MOBI. However, in the case of Kindle4PC it uses .prc for all books. This book is in the Topaz format which calibre does not support.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 95
Karma: 8282
Join Date: Jan 2010
Device: Kindle PW, Kobo Aura HD, Galaxy Note 10.1
|
Well, that explains that, then. Thanks!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error on PRC > EPUB conversion | myusername | Calibre | 8 | 09-02-2010 08:30 PM |
Justification in prc to mobi conversion | krazy4katz | Calibre | 8 | 12-31-2009 07:07 PM |
CBR to PRC Conversion? | Zarathustrian | Other formats | 2 | 12-07-2009 02:16 PM |
PRC to Sony: How good is the conversion? | kweller | Calibre | 29 | 04-01-2009 12:05 PM |
Massive conversion in .prc | idum | Kindle Formats | 2 | 11-10-2008 08:22 AM |