01-09-2010, 10:05 PM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Aug 2009
Device: Sony PRS-505
|
Calibre 0.6.32 - pdb to epub conversion error
The book loads correctly in the Calibre viewer, but fails to convert.
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Hogfather) Convert book 1 of 1 (Hogfather) 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': 'c:\\temp\\calibre_0.6.32_i7eszo.jpeg', '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 0x03FD8630>, '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, 'markdown': False, 'max_toc_links': 50, 'no_chapters_in_toc': False, 'no_default_epub_cover': False, 'no_inline_navbars': False, 'output_profile': <calibre.customize.profiles.SonyReaderOutput object at 0x03FD8810>, 'page_breaks_before': u'/', 'prefer_metadata_cover': False, 'preprocess_html': False, 'pretty_print': True, 'print_formatted_paras': False, 'publisher': None, 'rating': None, 'read_metadata_from_opf': 'c:\\temp\\calibre_0.6.32_0kbxke.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, 'single_line_paras': False, 'tags': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: TXT Input running on D:\Media\Books\Catalog\Terry Pratchett\Hogfather (64)\Hogfather - Terry Pratchett.txt Reading text from file... InputFormatPlugin: HTML Input running on D:\Media\Books\Catalog\Terry Pratchett\Hogfather (64)\temp_calibre_txt_input_to_html.html Language not specified Creator not specified Title not specified Building file list... Found files... HTMLFile:0:a:\Media\Books\Catalog\Terry Pratchett\Hogfather (64)\temp_calibre_txt_input_to_html.html Parsing temp_calibre_txt_input_to_html.html ... Forcing temp_calibre_txt_input_to_html.html into XHTML namespace Merging user specified metadata... Detecting structure... Auto generated TOC with 0 entries. Flattening CSS and remapping font sizes... Source base font size is 12.00000pt Cleaning up manifest... Trimming unused files from manifest... Parsing stylesheet.css ... Creating EPUB Output... Rescaling image cover.jpg Looking for large trees in temp_calibre_txt_input_to_html.html... Found large tree #0 Splitting... Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[3] Committed sub-tree #1 (0 KB) Split tree still too large: 513 KB Splitting... Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[2] Split tree still too large: 503 KB Splitting... Python function terminated unexpectedly Could not find reasonable point at which to split: temp_calibre_txt_input_to_html.html Sub-tree size: 503 KB (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 96, in main File "site-packages\calibre\gui2\convert\gui_conversion.py", line 21, in gui_convert File "site-packages\calibre\ebooks\conversion\plumber.py", line 843, in run File "site-packages\calibre\ebooks\epub\output.py", line 169, in convert File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 56, in __call__ File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 66, in split_item File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 188, in __init__ File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 402, in split_to_size File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 402, in split_to_size File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 385, in split_to_size calibre.ebooks.oeb.transforms.split.SplitError: Could not find reasonable point at which to split: temp_calibre_txt_input_to_html.html Sub-tree size: 503 KB niche99 |
01-10-2010, 09:29 AM | #2 |
Sigil & calibre developer
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Try converting using the "Single line paragraphs" option.
|
Advert | |
|
01-23-2010, 11:03 AM | #3 |
Junior Member
Posts: 6
Karma: 10
Join Date: Aug 2009
Device: Sony PRS-505
|
I have updated to Calibre 0.6.35. Same error occurs even when I set the suggested option.
|
01-23-2010, 12:20 PM | #4 |
Addict
Posts: 343
Karma: 1010002
Join Date: Apr 2008
Location: London. UK
Device: Marvin Reader on iPad Air (via Calibre)
|
My PDB copy of Hogfather (from Fictionwise) converted happily to ePub using Calibre 0.6.32 - is it possibly a damaged PDB that you are starting from?
|
01-23-2010, 01:13 PM | #5 |
Sigil & calibre developer
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
@ChristopherTD, the one you have from Fictionwise is an eReader format PDB. niche99 is a PalmDoc format PDB. PDB is just a compressed .txt file.
@niche99, The issue is paragraphs delimitation. The output is putting the entire text into one paragraph. Splitting happens on paragraph boundaries and since there is only one it cannot split. Try the print formatted paragraphs option. |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PDB output conversion error | silinthar | Calibre | 6 | 10-01-2010 03:18 AM |
pdb to epub error | boosting1bar | Calibre | 1 | 05-28-2010 09:15 PM |
Book Error In Sigil After Calibre Conversion (from lit to epub) | Guns4Hire | Sigil | 13 | 03-05-2010 06:02 PM |
TXT->PDB (eReader) conversion error | solitaire | Calibre | 5 | 01-25-2010 08:37 PM |
Conversion Error lrf -> mobi/epub (Calibre 0.6.33) | Joerg_Mosthaf | Calibre | 2 | 01-13-2010 08:40 AM |