Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-26-2021, 08:05 PM   #1
lmh
Junior Member
lmh began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2021
Device: none
failed to convert

I have the most up to date version of Calibre and up until this evening I have never had any issues.
However while trying to convert a book from epub to pdf I am getting an error saying that it failed to convert.
This is the information that it shows
Spoiler:


calibre, version 5.34.0 (win32, embedded-python: True)
Conversion error: Failed: Convert book 1 of 1 (Vegetables Illustrated)

Convert book 1 of 1 (Vegetables Illustrated)
Conversion options changed from defaults:
pdf_serif_family: 'MS Shell Dlg 2'
output_profile: 'generic_eink'
read_metadata_from_opf: 'C:\\Users\\lmrei\\AppData\\Local\\Temp\\calibre_5 jwz45vx\\433fu5t5.opf'
pdf_sans_family: 'MS Shell Dlg 2'
cover: 'C:\\Users\\lmrei\\AppData\\Local\\Temp\\calibre_5 jwz45vx\\p0_fluis.jpeg'
verbose: 2
Resolved conversion options
calibre version: 5.34.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\\lmrei\\AppData\\Local\\Temp\\calibre_5 jwz45vx\\p0_fluis.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 0x0706CCE8>,
'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 0x0706CE68>,
'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\\lmrei\\AppData\\Local\\Temp\\calibre_5 jwz45vx\\433fu5t5.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': '[]',
'transform_html_rules': '[]',
'uncompressed_pdf': False,
'unit': 'inch',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'use_profile_size': False,
'verbose': 2}
Failed to initialize plugin: 'C:\\Users\\lmrei\\AppData\\Roaming\\calibre\\plug ins\\DeDRM.zip'
InputFormatPlugin: EPUB Input running
on C:\Users\lmrei\AppData\Local\Temp\calibre_5jwz45vx \fnokk9mi.epub
Found HTML cover OEBPS/xhtml/Amer_9781945256745_epub3_cvi_r1.xhtml
Parsing all content...
Parsing OEBPS/9781945256745_nav.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_cvi_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_adc_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_fm1_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_fm2_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_tp_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_fm3_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_cop_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_toc_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_fm4_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_fm5_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_itr_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c01_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c02_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c03_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c04_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c05_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c06_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c07_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c08_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c09_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c10_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c11_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c12_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c13_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c14_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c15_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c16_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c17_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c18_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c19_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c20_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c21_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c22_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c23_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c24_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c25_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c26_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c27_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c28_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c29_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c30_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c31_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c32_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c33_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c34_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c35_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c36_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c37_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c38_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c39_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c40_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_c41_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_bm1_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_bm2_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_ind_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_indb_r1.xhtml ...
Parsing OEBPS/xhtml/Amer_9781945256745_epub3_inda_r1.xhtml ...
Parsing OEBPS/css/9781945256745_style.css ...
Parsing OEBPS/css/prhStyle.css ...
Parsing OEBPS/css/prhStyle-media-queries.css ...
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...
Found 108 items of level: div_1
Found 7008 items of level: p_2
Found 1101 items of level: div_2
Found 597 items of level: div_3
Found 5991 items of level: p_3
Found 164 items of level: p_4
Found 2244 items of level: p_1
Found 38 items of level: div_4
Found 153 items of level: p_5
div_1 left margin stats: Counter({'0': 65})
div_1 right margin stats: Counter({'0': 65})
Negative text indent detected at level p_2, ignoring this level
div_2 left margin stats: Counter({'0': 507})
div_2 right margin stats: Counter({'0': 507})
div_3 left margin stats: Counter({'25%': 171, '30%': 144, '5%': 141, '0%': 76, '0': 40, '35%': 21, '15%': 2, '1em': 1, '17.5%': 1})
div_3 right margin stats: Counter({'25%': 171, '30%': 144, '5%': 141, '0%': 76, '0': 41, '35%': 21, '15%': 2, '17.5%': 1})
Negative text indent detected at level p_3, ignoring this level
Negative text indent detected at level p_4, ignoring this level
Negative text indent detected at level p_1, ignoring this level
div_4 left margin stats: Counter({'30%': 34, '35%': 4})
div_4 right margin stats: Counter({'30%': 34, '35%': 4})
p_5 left margin stats: Counter({'0': 153})
p_5 right margin stats: Counter({'0': 153})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming 'OEBPS/9781945256745_nav.xhtml' from manifest
Trimming 'OEBPS/9781945256745_ncx.ncx' from manifest
Trimming 'OEBPS/xhtml/Amer_9781945256745_epub3_cvi_r1.xhtml' from manifest
Trimming 'page_styles1.css' from manifest
Creating PDF Output...
Converting input as a text based book...
Removed 4 unused fonts
Merged 2 instances of ArialMT reducing size from 47.6 KB to 15.1 KB
Removed 11499 duplicated Type3 glyphs
Removed 2 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 1284, in run
File "calibre\ebooks\conversion\plugins\pdf_output. py", line 189, in convert
File "calibre\ebooks\conversion\plugins\pdf_output. py", line 255, in convert_text
File "calibre\ebooks\pdf\html_writer.py", line 1131, 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!



I am not sure what all that means or how to resolve this issue. Any assistance would be greatly appreciated.

Thank You

Last edited by theducks; 12-26-2021 at 08:29 PM. Reason: spoilered
lmh is offline   Reply With Quote
Old 12-26-2021, 08:13 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 17,220
Karma: 83687373
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Kobo Forma, Kobo Clara HD, Lenovo M8 FHD, iPad Pro, Tolino
Quote:
Originally Posted by lmh View Post
I have the most up to date version of Calibre and up until this evening I have never had any issues.
However while trying to convert a book from epub to pdf I am getting an error saying that it failed to convert.
This is the information that it shows

Code:
  calibre, version 5.34.0 (win32, embedded-python: True)

... many lines deleted ...

  File "calibre\ebooks\conversion\plugins\pdf_output.py", line 255, in convert_text
  File "calibre\ebooks\pdf\html_writer.py", line 1131, 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!


I am not sure what all that means or how to resolve this issue. Any assistance would be greatly appreciated.

Thank You
I think the key there is the out of memory error and that you are currently running the Windows 32 bit version. If you running Windows x64, I would suggest upgrading calibre to it's 64 bit version which can allow use of more memory.
DNSB is offline   Reply With Quote
Advert
Old 12-26-2021, 08:14 PM   #3
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 11,583
Karma: 66924113
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Hmmm. Sniped by seconds

Sent from my Pixel 4a using Tapatalk
PeterT is offline   Reply With Quote
Old 12-29-2021, 02:27 PM   #4
lmh
Junior Member
lmh began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2021
Device: none
Yes, my computer is running windows 10 home and it is the 64 bit version. Funny how this is the first time I have ever had this problem and I have been using Calibre for a little while now. Will look for the upgrade to the 64 bit version and do so now.
Thanks So Very Much
lmh is offline   Reply With Quote
Old 01-14-2022, 12:06 PM   #5
cshaw
Junior Member
cshaw began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2022
Device: none
Quote:
Originally Posted by DNSB View Post
I think the key there is the out of memory error and that you are currently running the Windows 32 bit version. If you running Windows x64, I would suggest upgrading calibre to it's 64 bit version which can allow use of more memory.
Thank you for this insight! I was having the same problem and switching to the 64 bit version did the trick!
cshaw is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mobi to Epub Failed to Convert Klaw Conversion 4 10-26-2013 03:49 AM
Failed: Convert book 1 of 1 dawnmbarker Conversion 3 08-22-2013 02:26 PM
Failed to convert ATHsDad Conversion 5 01-01-2012 01:56 PM
failed to convert epub to mobi kievking Conversion 7 02-06-2011 12:37 PM
Convert Failed Downloads Sony Reader Calibre 2 01-16-2010 11:31 AM


All times are GMT -4. The time now is 01:51 AM.


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