Conversion from EPUB to PDF failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Win10, Latest Calibre and DRM Removal versions. A thousand thanks in advance!!
Here is the error:
Convert book 1 of 1 (Guide du Routard Madère 2020/21)
DeDRM v7.2.1: Trying to decrypt pg66pn7u.epub
DeDRM v7.2.1: Verifying zip archive integrity
DeDRM v7.2.1: “pg66pn7u.epub” is neither an Adobe Adept nor a Barnes & Noble encrypted ePub
Conversion options changed from defaults:
pdf_serif_family: 'MS Shell Dlg 2'
use_auto_toc: True
verbose: 2
pdf_sans_family: 'MS Shell Dlg 2'
read_
output_profile: 'generic_eink'
pdf_mono_family: 'Arial'
pdf_page_numbers: True
unit: 'centimeter'
embed_
cover: 'C:\\Users\
custom_size: '11 x 19'
preserve_
Resolved conversion options
calibre version: 5.16.1
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_
'chapter': "//*[((name()='h1' or name()='h2') and re:test(., "
"'i')) or @class = 'chapter']",
'chapter_mark': 'pagebreak',
'comments': None,
'cover': 'C:\\Users\
'custom_size': '11 x 19',
'debug_pipeline': None,
'dehyphenate': True,
'delete_
'disable_
'duplicate_
'embed_all_fonts': False,
'embed_
'enable_
'expand_css': False,
'extra_css': None,
'filter_css': '',
'fix_indents': True,
'font_
'format_
'html_
'input_encoding': None,
'input_profile': <calibre.
'insert_
'insert_
'insert_metadata': False,
'isbn': None,
'italicize_
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_
'max_toc_links': 50,
'minimum_
'no_chapters_
'no_inline_
'output_profile': <calibre.
'page_
'paper_size': 'letter',
'pdf_add_toc': False,
'pdf_default_
'pdf_footer_
'pdf_header_
'pdf_hyphenate': False,
'pdf_mark_links': False,
'pdf_mono_family': 'Arial',
'pdf_mono_
'pdf_odd_
'pdf_page_
'pdf_page_
'pdf_page_
'pdf_page_
'pdf_page_
'pdf_page_
'pdf_sans_family': 'MS Shell Dlg 2',
'pdf_serif_
'pdf_standard_
'pdf_use_
'prefer_
'preserve_
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_
'remove_
'remove_
'remove_
'remove_
'renumber_
'replace_
'search_replace': '[]',
'series': None,
'series_index': None,
'smarten_
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_
'subset_
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_
'uncompressed_
'unit': 'centimeter',
'unsmarten_
'unwrap_lines': True,
'use_auto_toc': True,
'use_profile_
'verbose': 2}
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "calibre\
File "calibre_
File "calibre_
calibre_
DeDRM v7.2.1: Trying to decrypt pg66pn7u.epub
DeDRM v7.2.1: Verifying zip archive integrity
DeDRM v7.2.1: “pg66pn7u.epub” is neither an Adobe Adept nor a Barnes & Noble encrypted ePub
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "calibre\
File "calibre_
File "calibre_
calibre_
InputFormatPlugin: EPUB Input running
on C:\Users\
Found HTML cover OPS/pageNum-1.xhtml
Parsing all content...
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-6.xhtml ...
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-3.xhtml ...
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-4.xhtml ...
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-5.xhtml ...
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-2.xhtml ...
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-7.xhtml ...
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-8.xhtml ...
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-9.xhtml ...
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/nav.xhtml ...
Parsing OPS/pageNum-1.xhtml ...
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/css/FL.css ...
CSSStylesheet: Unknown @rule found. [1:1: @keyframes]
CSSStylesheet: Unknown @rule found. [1:58: @-webkit-keyframes]
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Parsing OPS/pageNum-
Referenced file 'js/kobo.js' not found
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Maximum TOC links reached, stopping.
Auto generated TOC with 50 entries.
Flattening CSS and remapping font sizes...
Embedding font: Calibri
Property: Unknown Property name. [1:37: panose-1]
Property: Unknown Property name. [1:37: panose-1]
Property: Unknown Property name. [1:37: panose-1]
Property: Unknown Property name. [1:37: panose-1]
Source base font size is 30.16800pt
Removing fake margins...
Found 195 items of level: div_1
Found 585 items of level: div_2
Found 195 items of level: div_3
Found 195 items of level: div_4
Found 195 items of level: div_5
Found 14237 items of level: div_6
Found 48 items of level: div_7
div_1 left margin stats: Counter({'': 195})
div_1 right margin stats: Counter({'': 195})
div_2 left margin stats: Counter({'': 187})
div_2 right margin stats: Counter({'': 187})
div_3 left margin stats: Counter({'': 195})
div_3 right margin stats: Counter({'': 195})
div_4 left margin stats: Counter({'0': 195})
div_4 right margin stats: Counter({'0': 195})
div_5 left margin stats: Counter({'0': 195})
div_5 right margin stats: Counter({'0': 195})
div_6 left margin stats: Counter({'': 14233, '0': 4})
div_6 right margin stats: Counter({'': 14233, '0': 4})
div_7 left margin stats: Counter({'': 48})
div_7 right margin stats: Counter({'': 48})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming 'OPS/nav.xhtml' from manifest
Trimming 'OPS/pageNum-
Trimming 'OPS/images/
Trimming 'OPS/toc.ncx' from manifest
Trimming 'OPS/images/
Creating PDF Output...
Converting input as a text based book...
Fatal Python error: Cannot recover from MemoryErrors while normalizing exceptions.
Python runtime state: initialized
Thread 0x00001aa8 (most recent call first):
File "threading.py", line 302 in wait
File "queue.py", line 170 in get
File "calibre\
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap
Current thread 0x00003a48 (most recent call first):
File "calibre\
File "calibre\
File "calibre\
File "calibre\
File "calibre\
File "calibre\
File "calibre\
File "calibre\
File "calibre\
File "calibre\
File "calibre\
File "calibre\
File "calibre\
File "site.py", line 49 in run_entry_point
File "site.py", line 77 in main
File "site.py", line 82 in <module>
File "runpy.py", line 87 in _run_code
File "runpy.py", line 194 in _run_module_
I also did try to convert it to a DOCX, and it also failed:
Convert book 1 of 1 (Guide du Routard Madère 2020/21) margin_ bottom: 56.0 margin_ top: 56.0 margin_ right: 56.0 page_size: '312x539' cover_aspect_ ratio: True from_opf: 'C:\\Users\ \XXX\\AppData\ \Local\ \Temp\\ calibre_ d9v7hsmt\ \np2jr2so. opf' margin_ left: 56.0 \XXX\\AppData\ \Local\ \Temp\\ calibre_ d9v7hsmt\ \fj_mrb2l. jpeg' justification' : 'original', (chapter| book|section| part)\\ s+)|((prolog| prologue| epilogue) (\\s+|$ ))', " \XXX\\AppData\ \Local\ \Temp\\ calibre_ d9v7hsmt\ \fj_mrb2l. jpeg', blank_paragraph s': True, font_rescaling' : False, page_size' : '312x539', margin_ bottom' : 56.0, margin_ left': 56.0, margin_ right': 56.0, margin_ top': 56.0, links_in_ toc': False, font_family' : 'Calibri', heuristics' : False, mapping' : None, scene_breaks' : True, factor' : 0.4, customize. profiles. InputProfile object at 0x078A5AF0>, blank_line' : False, blank_line_ size': 0.5, common_ cases': True, chapter_ headings' : True, line_height' : 120.0, in_toc' : False, navbars' : False, customize. profiles. MSReaderOutput object at 0x078A5E38>, before' : '/', metadata_ cover': False, cover_aspect_ ratio': True, from_opf' : 'C:\\Users\ \XXX\\AppData\ \Local\ \Temp\\ calibre_ d9v7hsmt\ \np2jr2so. opf', fake_margins' : True, first_image' : False, paragraph_ spacing' : False, paragraph_ spacing_ indent_ size': 1.5, headings' : True, scene_breaks' : '', punctuation' : False,
DeDRM v7.2.1: Trying to decrypt 7ijaxcor.epub
DeDRM v7.2.1: Verifying zip archive integrity
DeDRM v7.2.1: “7ijaxcor.epub” is neither an Adobe Adept nor a Barnes & Noble encrypted ePub
Conversion options changed from defaults:
docx_page_
use_auto_toc: True
docx_page_
docx_page_
verbose: 2
docx_custom_
preserve_
read_metadata_
output_profile: 'msreader'
docx_page_
embed_font_family: 'Calibri'
cover: 'C:\\Users\
Resolved conversion options
calibre version: 5.16.1
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_
'chapter': "//*[((name()='h1' or name()='h2') and re:test(., "
"'\\s*(
"'i')) or @class = 'chapter']",
'chapter_mark': 'pagebreak',
'comments': None,
'cover': 'C:\\Users\
'debug_pipeline': None,
'dehyphenate': True,
'delete_
'disable_
'docx_custom_
'docx_no_cover': False,
'docx_no_toc': False,
'docx_page_
'docx_page_
'docx_page_
'docx_page_
'docx_page_size': 'letter',
'duplicate_
'embed_all_fonts': False,
'embed_
'enable_
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': '',
'fix_indents': True,
'font_size_
'format_
'html_unwrap_
'input_encoding': None,
'input_profile': <calibre.
'insert_
'insert_
'insert_metadata': False,
'isbn': None,
'italicize_
'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_
'max_toc_links': 50,
'minimum_
'no_chapters_
'no_inline_
'output_profile': <calibre.
'page_breaks_
'prefer_
'preserve_
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_
'remove_
'remove_
'remove_
'remove_
'renumber_
'replace_
'search_replace': '[]',
'series': None,
'series_index': None,
'smarten_
'sr1_replace': None,
'sr1_...