View Single Post
Old 09-06-2010, 06:21 PM   #11
VMA
Junior Member
VMA began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2010
Device: none
Hi

Okay now i waited about an hour and it failed to convert it said

Convert book 1 of 1 (Kumar & Clark's Clinical Medicine, 7th Edition)
Resolved conversion options
calibre version: 0.7.17
{'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\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': '/var/folders/3h/3hS+8nR2Frut7-5aqtvwVE+++TI/-Tmp-/calibre_0.7.17_tmp_tK5pie/calibre_0.7.17_y547nq.jpeg',
'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>)' ,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x5e66d10>,
'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,
'new_pdf_engine': False,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_images': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.OutputProfile object at 0x5e66ef0>,
'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': '/var/folders/3h/3hS+8nR2Frut7-5aqtvwVE+++TI/-Tmp-/calibre_0.7.17_tmp_tK5pie/calibre_0.7.17_pHLDHA.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,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'unwrap_factor': 0.5,
'use_auto_toc': False,
'verbose': 2}
Fontconfig error: Cannot load default config file
InputFormatPlugin: PDF Input running
on /Users/vanessaakrum/iBooks/Praveen Kumar/Kumar & Clark's Clinical Medicine, 7th Edition (2)/Kumar & Clark's Clinical Medicine, 7th Edition - Praveen Kumar.pdf
Converting file to html...
pdftohtml log:
Fontconfig error: Cannot load default config file

Retrieving document metadata...
Generating manifest...
Rendering manifest...
Parsing all content...
Parsing index.html ...
Initial parse failed:
Traceback (most recent call last):
File "site-packages/calibre/ebooks/oeb/base.py", line 816, in first_pass
File "lxml.etree.pyx", line 2532, in lxml.etree.fromstring (src/lxml/lxml.etree.c:48270)
File "parser.pxi", line 1545, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:71812)
File "parser.pxi", line 1417, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:70608)
File "parser.pxi", line 898, in lxml.etree._BaseParser._parseUnicodeDoc (src/lxml/lxml.etree.c:67148)
File "parser.pxi", line 539, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:63824)
File "parser.pxi", line 625, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:64745)
File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64088)
XMLSyntaxError: xmlParseEntityRef: no name, line 3, column 15

Parsing file 'index.html' as HTML
Forcing index.html into XHTML namespace
Generating default TOC from spine...
Merging user specified metadata...
Detecting structure...
Detected chapter: CHAPTER BIBLIOGRAPHY
Detected chapter: CHAPTER BIBLIOGRAPHY
Detected chapter: CHAPTER BIBLIOGRAPHY
Detected chapter: CHAPTeR BIBLIOgRAPHY
Detected chapter: CHAPTER BIBLIOGRAPHY
Detected chapter: CHAPTeR BIBLIOGRAPHY
Detected chapter: CHAPTER BIBLIOGRAPHY
Detected chapter: CHaPteR bibliOGRaPHY
Detected chapter: CHAPTER BIBLIOGRAPHY
Detected chapter: CHAPTER BIBLIOGRAPHY
Auto generated TOC with 10 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 from 1293x1630 to 940x1186 index-1_1.jpg
Rescaling image from 2605x1558 to 1586x948 index-2_1.jpg
Rescaling image from 1702x1018 to 1586x948 index-4_1.jpg
Rescaling image from 1702x1018 to 1586x948 index-3_1.jpg
Rescaling image from 1293x1630 to 940x1186 cover.jpeg
Splitting on page-break
Splitting on page-break
Splitting on page-break
Looking for large trees in index.html...
Found large tree #0
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[63236]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[63171]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[63865]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h3 /*/*[21]/*[63057]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[63988]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[63056]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[63995]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[62971]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[64288]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[62838]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[64360]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[62691]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[65792]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[62180]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[66385]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[62109]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[66806]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[61915]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[68792]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[61912]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[68806]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[61853]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h3 /*/*[21]/*[68807]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[61827]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[69285]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[61713]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[69459]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[61710]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[70378]
Split tree still too large: 9187 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}h1 /*/*[21]/*[61584]
Split tree still too large: 9187 KB
Splitting...
Scalibre-parallel(398,0xa0798720) malloc: *** mmap(size=2097152) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
calibre-parallel(398,0xa0798720) malloc: *** mmap(size=2097152) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug


Is this maybe because the file is 110mb?
VMA is offline   Reply With Quote