Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 04-04-2012, 11:53 PM   #1
szweiner2
Member
szweiner2 began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jan 2012
Device: kindle
Error converting mobi to epub

I wanted to report a bug to the support team at Calibre and was forwarded to this site.

I hope I am doing this correctly. I tried to convert Chris Mathews book to epub and got the following conversion error:


calibre, version 0.8.45
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Jack Kennedy: Elusive Hero)

Convert book 1 of 1 (Jack Kennedy: Elusive Hero)
Resolved conversion options
calibre version: 0.8.45
Spoiler:

{'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': u'/var/folders/p1/pywh96nj76b91jx5w9zl5qhh0000gq/T/calibre_0.8.45_tmp_65eBZ7/v798jD.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'enable_heuristics': False,
'epub_flatten': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'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.InputProfile object at 0x10a710bd0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'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,
'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.GenericEink object at 0x10a710fd0>,
'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'/var/folders/p1/pywh96nj76b91jx5w9zl5qhh0000gq/T/calibre_0.8.45_tmp_65eBZ7/2jGzbd.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,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: MOBI Input running
on /var/folders/p1/pywh96nj76b91jx5w9zl5qhh0000gq/T/calibre_0.8.45_tmp_65eBZ7/CZ3Z2Z.mobi
Extracting text...
Adding anchors...
Extracting images...
Cleaning up HTML...
Parsing HTML...
Converting style information to CSS...
Creating OPF...
Parsing all content...
Parsing styles.css ...
Parsing Jack_Kennedy.html ...
Forcing Jack_Kennedy.html into XHTML namespace
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Parsing stylesheet.css ...
Found 54 items of level: div_1
Found 94 items of level: p_4
Found 1715 items of level: p_1
div_1 left margin stats: Counter()
div_1 right margin stats: Counter()
p_4 left margin stats: Counter({u'0': 94})
p_4 right margin stats: Counter({u'0': 94})
p_1 left margin stats: Counter({u'0': 1714, u'14pt': 1})
p_1 right margin stats: Counter({u'0': 1715})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'images/00009.jpg' from manifest
Trimming u'images/00010.jpg' from manifest
Python function terminated unexpectedly: Could not find reasonable point at which to split: Jack_Kennedy.html Sub-tree size: 345 KB
Creating EPUB Output...
Rescaling image from 539x763 to 530x751 images/00015.jpg
Rescaling image from 563x763 to 554x751 images/00038.jpg
Rescaling image from 479x763 to 471x751 images/00032.jpg
Rescaling image from 527x763 to 519x751 images/00034.jpg
Rescaling image from 519x763 to 511x751 images/00033.jpg
Rescaling image from 518x763 to 510x751 images/00035.jpg
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Looking for large trees in Jack_Kennedy.html...
Found large tree #48
Splitting...
Split point: {http://www.w3.org/1999/xhtml}div /*/*[2]/*[897]
Split tree too small
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[381]
Committed sub-tree #1 (116 KB)
Committed sub-tree #2 (161 KB)
Found large tree #49
Splitting...
Split point: {http://www.w3.org/1999/xhtml}div /*/*[2]/*[701]
Split tree too small
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[1]
Split tree too small
Splitting...
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 147, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 116, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/utils/ipc/worker.py", line 191, 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 1091, in run
File "site-packages/calibre/ebooks/conversion/plugins/epub_output.py", line 169, in convert
File "site-packages/calibre/ebooks/oeb/transforms/split.py", line 57, in __call__
File "site-packages/calibre/ebooks/oeb/transforms/split.py", line 67, in split_item
File "site-packages/calibre/ebooks/oeb/transforms/split.py", line 210, in __init__
File "site-packages/calibre/ebooks/oeb/transforms/split.py", line 414, in split_to_size
File "site-packages/calibre/ebooks/oeb/transforms/split.py", line 414, in split_to_size
File "site-packages/calibre/ebooks/oeb/transforms/split.py", line 407, in split_to_size
calibre.ebooks.oeb.transforms.split.SplitError: Could not find reasonable point at which to split: Jack_Kennedy.html Sub-tree size: 345 KB

Last edited by theducks; 04-05-2012 at 10:04 AM. Reason: wrap HUGE paste in spoiler
szweiner2 is offline   Reply With Quote
Old 04-05-2012, 12:59 AM   #2
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
That is not an problem with Calibre, but with the source book.
itimpi is offline   Reply With Quote
Advert
Old 04-05-2012, 10:06 AM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Moderator Notice
Moved out of Development. Please read the stickies in Development before thinking of posting there.
theducks is offline   Reply With Quote
Old 04-05-2012, 12:08 PM   #4
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Usually means the book has no line, paragraph or page breaks.
speakingtohe is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting an error converting epub to mobi thosrtanner Conversion 3 03-10-2012 10:51 AM
Error when converting from mobi to epub daveldhu Calibre 1 06-05-2010 11:38 AM
Error converting EPUB to MOBI picardo Calibre 8 04-22-2010 09:45 AM
ERROR when converting mobi to epub? help! (new at this) dalpod Calibre 2 04-14-2010 12:52 PM
Error when converting to Mobi and Epub Amalthia Calibre 3 05-11-2009 04:18 AM


All times are GMT -4. The time now is 11:02 PM.


MobileRead.com is a privately owned, operated and funded community.