Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-21-2021, 08:25 PM   #1
Cro
Junior Member
Cro began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2021
Device: none
Calibre giving error when converting epub to pdf. Why?

I am trying to convert a 400 mb .epub file into .pdf file but it fails to convert.

This is the log details
Spoiler:
Convert book 1 of 1 (StarTalk)
Conversion options changed from defaults:
pdf_sans_family: 'MS Shell Dlg 2'
read_metadata_from_opf: 'C:\\Users\\abcd\\AppData\\Local\\Temp\\calibre_wv ub762w\\pc8ggadp.opf'
output_profile: 'generic_eink'
cover: 'C:\\Users\\abcd\\AppData\\Local\\Temp\\calibre_wv ub762w\\zvuxmia_.jpeg'
pdf_serif_family: 'MS Shell Dlg 2'
verbose: 2
Resolved conversion options
calibre version: 5.21.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': 'original',
'chapter': "//*[((name()='h1' or name()='h2') and re:test(., "
"'\\s*((chapter|book|section|part)\\s+)|((prolog|p rologue|epilogue)(\\s+|$))', "
"'i')) or @class = 'chapter']",
'chapter_mark': 'pagebreak',
'comments': None,
'cover': 'C:\\Users\\abcd\\AppData\\Local\\Temp\\calibre_wv ub762w\\zvuxmia_.jpeg',
'custom_size': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'expand_css': False,
'extra_css': None,
'filter_css': '',
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x07113160>,
'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_inline_navbars': False,
'output_profile': <calibre.customize.profiles.GenericEink object at 0x071132E0>,
'page_breaks_before': '/',
'paper_size': 'letter',
'pdf_add_toc': False,
'pdf_default_font_size': 20,
'pdf_footer_template': None,
'pdf_header_template': None,
'pdf_hyphenate': False,
'pdf_mark_links': False,
'pdf_mono_family': 'Courier',
'pdf_mono_font_size': 16,
'pdf_odd_even_offset': 0.0,
'pdf_page_margin_bottom': 72.0,
'pdf_page_margin_left': 72.0,
'pdf_page_margin_right': 72.0,
'pdf_page_margin_top': 72.0,
'pdf_page_number_map': None,
'pdf_page_numbers': False,
'pdf_sans_family': 'MS Shell Dlg 2',
'pdf_serif_family': 'MS Shell Dlg 2',
'pdf_standard_font': 'serif',
'pdf_use_document_margins': False,
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'C:\\Users\\abcd\\AppData\\Local\\Temp\\calibre_wv ub762w\\pc8ggadp.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': '',
'search_replace': '[]',
'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,
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_css_rules': '[]',
'uncompressed_pdf': False,
'unit': 'inch',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'use_profile_size': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\abcd\AppData\Local\Temp\calibre_wvub762w\ 7b9v2wyp.epub
Found HTML cover OEBPS/xhtml/Tyso_9781426220500_epub3_cvi_r1.xhtml
Parsing all content...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c02_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c03_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c05_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c04_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c06_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_p02_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c08_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c07_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c10_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c09_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_p03_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c11_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c12_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c14_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c13_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c15_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c16_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_p04_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c18_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c17_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c20_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c19_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_ack_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c21_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_con_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_cre_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_bm1_r1.xhtml ...
Parsing OEBPS/css/prhStyle.css ...
Parsing OEBPS/css/9781426220500_style.css ...
Parsing OEBPS/css/prhStyle-media-queries.css ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_p01_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_c01_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_fm2_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_toc_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_ded_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_itr_r1.xhtml ...
Parsing OEBPS/9781426220500_nav.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_cop_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_fm1_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_tp_r1.xhtml ...
Parsing OEBPS/xhtml/Tyso_9781426220500_epub3_cvi_r1.xhtml ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Detected chapter: CHAPTER ONE
Detected chapter: CHAPTER TWO
Detected chapter: CHAPTER THREE
Detected chapter: CHAPTER FOUR
Detected chapter: CHAPTER FIVE
Detected chapter: CHAPTER ONE
Detected chapter: CHAPTER TWO
Detected chapter: CHAPTER THREE
Detected chapter: CHAPTER FOUR
Detected chapter: CHAPTER FIVE
Detected chapter: CHAPTER ONE
Detected chapter: CHAPTER TWO
Detected chapter: CHAPTER THREE
Detected chapter: CHAPTER FOUR
Detected chapter: CHAPTER FIVE
Detected chapter: CHAPTER SIX
Detected chapter: CHAPTER ONE
Detected chapter: CHAPTER TWO
Detected chapter: CHAPTER THREE
Detected chapter: CHAPTER FOUR
Detected chapter: CHAPTER FIVE
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 741 items of level: div_2
Found 989 items of level: p_3
Found 121 items of level: div_1
Found 1233 items of level: p_2
Found 616 items of level: div_3
Found 425 items of level: p_4
Found 39 items of level: div_5
Found 39 items of level: p_6
Found 271 items of level: div_4
Found 183 items of level: p_5
Found 140 items of level: p_1
div_2 left margin stats: Counter({'1em': 111, '0': 4})
div_2 right margin stats: Counter({'1em': 111, '0': 4})
Removing level div_2 left margin of: 1em
Removing level div_2 right margin of: 1em
p_3 left margin stats: Counter({'0': 972, '3em': 13, '8%': 4})
p_3 right margin stats: Counter({'0': 972, '1em': 13, '8%': 4})
div_1 left margin stats: Counter({'0': 30, '': 15})
div_1 right margin stats: Counter({'0': 30, '': 15})
Negative text indent detected at level p_2, ignoring this level
div_3 left margin stats: Counter({'0': 275, '25%': 76, '30%': 73, '20%': 61, '5%': 36, '32.5%': 19, '10%': 17, '35%': 16, '15%': 15, '46.5%': 11, '40%': 5, '37.5%': 4, '27.5%': 4, '45%': 2, '22.5%': 1, '50%': 1})
div_3 right margin stats: Counter({'0': 275, '25%': 76, '30%': 73, '20%': 61, '5%': 36, '32.5%': 19, '10%': 17, '35%': 16, '15%': 15, '46.5%': 11, '40%': 5, '37.5%': 4, '27.5%': 4, '45%': 2, '50%': 1, '22.5%': 1})
p_4 left margin stats: Counter({'0': 425})
p_4 right margin stats: Counter({'0': 425})
div_5 left margin stats: Counter({'40%': 25, '30%': 5, '35%': 5, '37.5%': 1, '25%': 1, '32.5%': 1, '20%': 1})
div_5 right margin stats: Counter({'40%': 25, '30%': 5, '35%': 5, '37.5%': 1, '25%': 1, '32.5%': 1, '20%': 1})
p_6 left margin stats: Counter({'0': 39})
p_6 right margin stats: Counter({'0': 39})
div_4 left margin stats: Counter({'30%': 100, '46.5%': 72, '0': 31, '25%': 29, '45%': 10, '35%': 9, '47.5%': 5, '32.5%': 4, '40%': 4, '20%': 3, '42.5%': 1, '37.5%': 1, '10%': 1, '60%': 1})
div_4 right margin stats: Counter({'30%': 100, '46.5%': 72, '25%': 29, '0': 29, '45%': 10, '35%': 9, '47.5%': 5, '32.5%': 4, '40%': 4, '20%': 3, '60%': 2, '42.5%': 1, '37.5%': 1, '50%': 1, '10%': 1})
p_5 left margin stats: Counter({'0': 183})
p_5 right margin stats: Counter({'0': 183})
p_1 left margin stats: Counter({'0': 116, '': 24})
p_1 right margin stats: Counter({'0': 116, '': 24})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming 'OEBPS/images/9781426220500_Page_048_Image_0002.jpg' from manifest
Trimming 'OEBPS/images/9781426220500_Page_076_Image_0002.jpg' from manifest
Trimming 'OEBPS/images/9781426220500_Page_076_Image_0003.jpg' from manifest
Trimming 'OEBPS/images/9781426220500_Page_076_Image_0004.jpg' from manifest
Trimming 'OEBPS/images/9781426220500_Page_077_Image_0002.jpg' from manifest
Trimming 'OEBPS/images/9781426220500_Page_077_Image_0003.jpg' from manifest
Trimming 'OEBPS/images/9781426220500_Page_201_Image_0004.jpg' from manifest
Trimming 'page_styles1.css' from manifest
Trimming 'OEBPS/images/9781426220500_Page_294_Image_0002.jpg' from manifest
Trimming 'OEBPS/images/9781426220500_Page_294_Image_0004.jpg' from manifest
Trimming 'OEBPS/images/9781426220500_Page_294_Image_0005.jpg' from manifest
Trimming 'OEBPS/images/9781426220500_Page_294_Image_0006.jpg' from manifest
Trimming 'OEBPS/images/9781426220500_Page_164_Image_0001.jpg' from manifest
Trimming 'OEBPS/images/9781426220500_Page_265_Image_0001.jpg' from manifest
Trimming 'OEBPS/images/9781426220500_Page_265_Image_0003.jpg' from manifest
Trimming 'OEBPS/images/9781426220500_Page_265_Image_0004.jpg' from manifest
Trimming 'OEBPS/images/9781426220500_Page_235_Image_0001.jpg' from manifest
Trimming 'OEBPS/images/9781426220500_Page_177_Image_0004.jpg' from manifest
Trimming 'OEBPS/images/9781426220500_Page_177_Image_0005.jpg' from manifest
Trimming 'OEBPS/images/9781426220500_Page_177_Image_0006.jpg' from manifest
Trimming 'OEBPS/9781426220500_nav.xhtml' from manifest
Trimming 'OEBPS/9781426220500_ncx.ncx' from manifest
Creating PDF Output...
Converting input as a text based book...
Removed 2 unused fonts
Merged 44 instances of ArialMT reducing size from 541.3 KB to 10.3 KB
Merged 42 instances of Arial-BoldMT reducing size from 524 KB to 10.6 KB
Removed 8881 duplicated Type3 glyphs
Removed 24 duplicate images
Traceback (most recent call last):
File "runpy.py", line 194, in _run_module_as_main
File "runpy.py", line 87, in _run_code
File "site.py", line 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "calibre\utils\ipc\worker.py", line 216, in main
File "calibre\gui2\convert\gui_conversion.py", line 41, in gui_convert_override
File "calibre\gui2\convert\gui_conversion.py", line 28, in gui_convert
File "calibre\ebooks\conversion\plumber.py", line 1271, in run
File "calibre\ebooks\conversion\plugins\pdf_output. py", line 188, in convert
File "calibre\ebooks\conversion\plugins\pdf_output. py", line 254, in convert_text
File "calibre\ebooks\pdf\html_writer.py", line 1121, in convert
podofo.Error: PoDoFo is out of memory.
File: C:\t\t\podofo-fwpgsyo1\src\base\PdfWriter.cpp Line: 211
File: C:\t\t\podofo-fwpgsyo1\src\base\PdfRefCountedBuffer.cpp Line: 130 PdfRefCountedBuffer::Resize failed!


What is this error? How to fix? Thanks.

PS: I am running Windows 10 64 with 8 GB ram.
Cro is offline   Reply With Quote
Old 06-21-2021, 10:28 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
run the 64bit version of calibre
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Converting from EPUB to PDF xallios Conversion 2 09-25-2018 08:57 PM
Error when converting epub to pdf artpick Conversion 3 07-28-2017 02:57 AM
Error while converting PDF to Epub/Mobi Kobra Conversion 2 07-20-2016 11:06 PM
Error when converting from EPUB to PDF slex Conversion 3 05-28-2011 05:04 PM
Error converting to PDF from EPub and PRC gauravj Calibre 3 05-24-2010 02:07 AM


All times are GMT -4. The time now is 07:50 AM.


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