Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-08-2018, 01:24 PM   #1
jpapagel
Junior Member
jpapagel began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2018
Device: none
Question Problem with calibre in converting from epub to pdf

I HAVE WINDOWS 10 and I am facing a problem of converting epub to pdf.


ERROR LOG FILE
Spoiler:

calibre, version 3.31.0 (win32, embedded-python: True)
Σφάλμα μετατροπής: Απέτυχε: Μετατροπή βιβλίου 1 από 1 (Νεότερη Ελλάδα. Μια ιστορία από το 1821 (e-book / epub))

Μετατροπή βιβλίου 1 από 1 (Νεότερη Ελλάδα. Μια ιστορία από το 1821 (e-book / epub))
C:\Program Files\Calibre2\app\pylib.zip\dateutil\parser.py:60 1: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Conversion options changed from defaults:
read_metadata_from_opf: u'C:\\Users\\6E12~1\\AppData\\Local\\Temp\\calibre _kfpcjy\\it6kvi.opf'
verbose: 2
cover: u'C:\\Users\\6E12~1\\AppData\\Local\\Temp\\calibre _kfpcjy\\3tzby8.jpeg'
Resolved conversion options
calibre version: 3.31.0
{'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(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\\6E12~1\\AppData\\Local\\Temp\\calibre _kfpcjy\\3tzby8.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': u'',
'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 0x000001E67DF03828>,
'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.OutputProfile object at 0x000001E67DF03B70>,
'page_breaks_before': u'/',
'paper_size': u'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': u'Liberation Mono',
'pdf_mono_font_size': 16,
'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_numbers': False,
'pdf_sans_family': u'Liberation Sans',
'pdf_serif_family': u'Liberation Serif',
'pdf_standard_font': u'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': u'C:\\Users\\6E12~1\\AppData\\Local\\Temp\\calibre _kfpcjy\\it6kvi.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': u'',
'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': u'inch',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'use_profile_size': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ areahv.epub
Parsing all content...
Parsing OEBPS/8503-8.html ...
Parsing OEBPS/template.css ...
Parsing OEBPS/8503-27.html ...
Parsing OEBPS/8503-28.html ...
Parsing OEBPS/8503-9.html ...
Parsing OEBPS/8503-29.html ...
Parsing OEBPS/8503-10.html ...
Parsing OEBPS/8503.html ...
Parsing OEBPS/8503-2.html ...
Parsing OEBPS/8503-11.html ...
Parsing OEBPS/8503-1.html ...
Parsing OEBPS/8503-12.html ...
Parsing OEBPS/8503-3.html ...
Parsing OEBPS/8503-14.html ...
Parsing OEBPS/8503-4.html ...
Parsing OEBPS/8503-19.html ...
Parsing OEBPS/8503-20.html ...
Parsing OEBPS/8503-16.html ...
Parsing OEBPS/8503-5.html ...
Parsing OEBPS/8503-21.html ...
Parsing OEBPS/8503-22.html ...
Parsing OEBPS/8503-17.html ...
Parsing OEBPS/8503-6.html ...
Parsing OEBPS/8503-23.html ...
Parsing OEBPS/8503-24.html ...
Parsing OEBPS/8503-18.html ...
Parsing OEBPS/8503-7.html ...
Parsing OEBPS/8503-25.html ...
Parsing OEBPS/8503-26.html ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 11.16000pt
Removing fake margins...
Found 332 items of level: div_4
Found 17 items of level: div_3
Found 259 items of level: div_2
Found 28 items of level: div_1
Found 2662 items of level: p_3
Found 357 items of level: p_5
Found 48 items of level: p_7
Ignoring level div_3
div_4 left margin stats: Counter({u'': 332})
div_4 right margin stats: Counter({u'': 332})
div_2 left margin stats: Counter({u'': 22})
div_2 right margin stats: Counter({u'': 22})
div_1 left margin stats: Counter({u'': 25})
div_1 right margin stats: Counter({u'': 25})
Negative text indent detected at level p_3, ignoring this level
p_5 left margin stats: Counter({u'0': 357})
p_5 right margin stats: Counter({u'0': 357})
p_7 left margin stats: Counter({u'0': 48})
p_7 right margin stats: Counter({u'0': 48})
Cleaning up manifest...
Trimming unused files from manifest...
Creating PDF Output...
Splitting markup on page breaks and flow limits, if any...
Converting input as a text based book...
Serializing oeb input to disk for processing...
Rendering pages to PDF...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503.html...
Loading font:
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-1.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-2.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-3.html...
Loading font: family_name=Times New Roman full_name=Times New Roman postscript_name=TimesNewRomanPSMT subfamily_name=Regular
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-4.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-5.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-6.html...
Loading font: family_name=Liberation Serif full_name=Liberation Serif postscript_name=LiberationSerif subfamily_name=Regular
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-7.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-8.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-9.html...
Loading font:
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-10.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-11.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-12.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-14.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-16.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-17.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-18.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-19.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-20.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-21.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-22.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-23.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-24.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-25.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-26.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-27.html...
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-28.html...
Loading font: family_name=Liberation Serif full_name=Liberation Serif Italic postscript_name=LiberationSerif-Italic subfamily_name=Italic
Processing C:\Users\6E12~1\AppData\Local\Temp\calibre_kfpcjy\ w6x8b3_pdf_out\OEBPS\8503-29.html...
Traceback (most recent call last):
File "site-packages\calibre\ebooks\pdf\render\engine.py", line 156, in end
File "site-packages\calibre\ebooks\pdf\render\serialize.py", line 517, in end
File "site-packages\calibre\ebooks\pdf\render\fonts.py", line 244, in embed_fonts
File "site-packages\calibre\ebooks\pdf\render\fonts.py", line 166, in embed
File "site-packages\calibre\ebooks\pdf\render\fonts.py", line 184, in write_to_unicode
File "site-packages\calibre\utils\fonts\sfnt\metrics.py", line 68, in postscript_name
KeyError: u'family_name'

Python function terminated unexpectedly
PDF Output failed, see log for details (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 195, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 33, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 26, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1270, in run
File "site-packages\calibre\ebooks\conversion\plugins\pdf_out put.py", line 191, in convert
File "site-packages\calibre\ebooks\conversion\plugins\pdf_out put.py", line 276, in convert_text
File "site-packages\calibre\ebooks\conversion\plugins\pdf_out put.py", line 302, in write
File "site-packages\calibre\ebooks\pdf\render\from_html.py", line 254, in dump
Exception: PDF Output failed, see log for details

Could anyone help me?

Last edited by BetterRed; 09-08-2018 at 05:31 PM. Reason: Please wrap logs in SPOILER tags & don't hijack other threads, create your own
jpapagel is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Converting Epub to PDF maiki Conversion 6 07-17-2012 01:27 AM
Problem converting pdf to epub (size) using calibre abadguy PDF 6 03-23-2012 05:33 AM
Problem while converting pdf to epub using calibre hszforu Calibre 4 02-24-2012 08:48 AM
problem converting PDF to epub Herbstwind Conversion 10 11-10-2011 05:18 AM
Problem converting PDF to EPUB in calibre adgpro Calibre 2 07-09-2010 01:10 AM


All times are GMT -4. The time now is 08:13 PM.


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