![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jun 2010
Device: iPad
|
![]()
I am using version 0.7.5 on MacOS X 10.6 and I am getting the following error when trying to convert from a PDF to an ePub.
"Fontconfig error: Cannot load default config file" I never got this error when converting from PDF's to ePub's in the previous version. How can I fix this error? Thanks |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,171
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Its not an error. It can be ignored
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jun 2010
Device: iPad
|
hmmmm
Maybe it is something else, but it says its an error...
![]() The output is: Code:
Convert book 1 of 1 (PDF Reference - Version 1.7) Resolved conversion options calibre version: 0.7.5 {'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/ET/ET08yTfGFSKYQAzK6xkHiE+++TI/-Tmp-/calibre_0.7.5_YTxLpS.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 0x76bf150>, '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': True, 'no_default_epub_cover': False, 'no_images': False, 'no_inline_navbars': False, 'no_svg_cover': False, 'output_profile': <calibre.customize.profiles.iPadOutput object at 0x76bf3b0>, 'page_breaks_before': u"//*[name()='h1' or name()='h2']", 'prefer_metadata_cover': False, 'preprocess_html': False, 'preserve_cover_aspect_ratio': True, 'pretty_print': True, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': '/var/folders/ET/ET08yTfGFSKYQAzK6xkHiE+++TI/-Tmp-/calibre_0.7.5_rdyEl4.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 |
![]() |
![]() |
![]() |
#4 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,171
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The first thing to do is upgrade to 0.7.6. The fontconfig message can be ignored, there should be more to the error log with the actual error.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Sep 2010
Device: none
|
Hi
i am using calibre version 0.7.17 on my macbook (OS.X) and when trying to convert a pdf file i do not see any progress in the progress bar and when clicking on job details i get Fontconfig error: Cannot load default config file How can i fix this? 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_yNEuTw/calibre_0.7.17_RVQYlq.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 0x5e6bd10>, '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 0x5e6bef0>, '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_yNEuTw/calibre_0.7.17_AN0ZXO.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 Last edited by VMA; 09-06-2010 at 03:05 PM. |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,171
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
How long did you wait?
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Sep 2010
Device: none
|
For about 15 min
But there was no progress in the progress bar what so ever...need i wait longer? |
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,171
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yeah depending on the size of the input pdf, the progress bar is only updated as each stage of the process finishes, some stages can take a long time.
|
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Sep 2010
Device: none
|
O oke its a pretty big file (110 MB)
so i guess i will take a lot longer to convert.. i will leave it on now and see what happens thank you |
![]() |
![]() |
![]() |
#11 |
Junior Member
![]() 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? |
![]() |
![]() |
![]() |
#12 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,171
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes, you can disable splitting in the EPUB output options, but be aware that the resulting file may not work on all readers.
|
![]() |
![]() |
![]() |
Tags |
error message, mac os x |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fontconfig error: Cannot load default config file | krischik | Calibre | 4 | 02-17-2012 09:48 AM |
OS-X PDF to Mobi Fontconfig error | jdubya | Calibre | 5 | 07-13-2010 10:08 PM |
epub load time, possible file optimizations? | takamatsu | Kobo Reader | 8 | 07-09-2010 03:54 AM |
Not converting, Fontconfig error | edgley | Calibre | 5 | 06-27-2010 10:57 PM |
Page Load Error, PRS700 | brewt | Calibre | 3 | 12-26-2008 10:01 PM |