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 04-24-2020, 05:50 PM   #1
Frizzell
Enthusiast
Frizzell began at the beginning.
 
Frizzell's Avatar
 
Posts: 33
Karma: 10
Join Date: Sep 2017
Location: Royston, Georgia
Device: Moon Reader & Prestigio on Android
Converting from epub to pdf fails

Please Help Me

I can no longer convert any of my epubs to pdf for some reason. I could see if it was just one book once in awhile, but now it's all my books.

One consistent thing I notice within the 'Details' option of the failed conversion window, is that near the bottom of the log, it always says "index_split_006.html: Loading not complete after 120 (or 60) seconds, aborting." If this is the crux of the problem, how does one go about working around it? If it is not the problem, then what else can it be and how do I regain the ability to convert consistently to pdf?

I have enclosed a screenshot of the error, and have pasted the 'Details' below this message.

Thanks for any help you can provide.
Frizzell
Spoiler:

_______________________ DETAILS LOG _________________

Converting from epub to pdf fails
Conversion Error
Failed: Convert book 1 of 1 (name of book)


calibre, version 4.14.0 (win32, embedded-python: True)
Conversion error: Failed: Convert book 1 of 1 (Book Title)

Convert book 1 of 1 (Assignment: Bangkok)
Initialized urlfixer
Conversion options changed from defaults:
pdf_sans_family: u'Liberation Sans'
pdf_serif_family: u'Liberation Serif'
fix_indents: False
format_scene_breaks: False
remove_paragraph_spacing: True
italicize_common_cases: False
enable_heuristics: True
remove_paragraph_spacing_indent_size: 1.3
cover: u'C:\\Users\\dldun\\AppData\\Local\\Temp\\calibre_ 3sqyo8\\hems0w.jpeg'
read_metadata_from_opf: u'C:\\Users\\dldun\\AppData\\Local\\Temp\\calibre_ 3sqyo8\\sp1irs.opf'
unwrap_lines: False
page_breaks_before: u"//*[name()='h1' or name()='h2']"
change_justification: u'justify'
pdf_mono_family: u'Liberation Mono'
dehyphenate: False
renumber_headings: False
verbose: 2
markup_chapter_headings: False
output_profile: u'kindle_voyage'
Resolved conversion options
calibre version: 4.14.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'justify',
'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\\dldun\\AppData\\Local\\Temp\\calibre_ 3sqyo8\\hems0w.jpeg',
'custom_size': None,
'debug_pipeline': None,
'dehyphenate': False,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': True,
'expand_css': False,
'extra_css': None,
'filter_css': u'',
'fix_indents': False,
'font_size_mapping': None,
'format_scene_breaks': False,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': ,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': False,
'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': False,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'output_profile': ,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'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_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': 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\\dldun\\AppData\\Local\\Temp\\calibre_ 3sqyo8\\sp1irs.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': True,
'remove_paragraph_spacing_indent_size': 1.3,
'renumber_headings': False,
'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': False,
'use_auto_toc': False,
'use_profile_size': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\dldun\AppData\Local\Temp\calibre_3sqyo8\h bcxfo.epub
Found HTML cover titlepage.xhtml
Parsing all content...
Parsing index_split_002.html ...
********* Heuristic processing HTML *********
There are 5 blank lines. 0.0191570881226 percent blank
Hard line breaks check returned True
Median line length is 89, calculated with html format
Parsing index_split_004.html ...
********* Heuristic processing HTML *********
There are 4 blank lines. 0.0115273775216 percent blank
Hard line breaks check returned True
Median line length is 108, calculated with html format
Parsing index_split_005.html ...
********* Heuristic processing HTML *********
There are 4 blank lines. 0.012012012012 percent blank
Hard line breaks check returned True
Median line length is 100, calculated with html format
Parsing index_split_006.html ...
********* Heuristic processing HTML *********
There are 4 blank lines. 0.0159362549801 percent blank
Hard line breaks check returned True
Median line length is 93, calculated with html format
Parsing page_styles.css ...
Parsing index_split_007.html ...
********* Heuristic processing HTML *********
There are 3 blank lines. 0.011583011583 percent blank
Hard line breaks check returned True
Median line length is 92, calculated with html format
Parsing titlepage.xhtml ...
********* Heuristic processing HTML *********
flow is too short, not running heuristics
Parsing index_split_003.html ...
********* Heuristic processing HTML *********
There are 7 blank lines. 0.0276679841897 percent blank
Hard line breaks check returned False
Median line length is 105, calculated with html format
Parsing index_split_008.html ...
********* Heuristic processing HTML *********
There are 1 blank lines. 0.013698630137 percent blank
Hard line breaks check returned True
Median line length is 55, calculated with html format
Parsing index_split_000.html ...
********* Heuristic processing HTML *********
flow is too short, not running heuristics
Parsing stylesheet.css ...
Parsing index_split_001.html ...
********* Heuristic processing HTML *********
There are 5 blank lines. 0.0212765957447 percent blank
Hard line breaks check returned True
Median line length is 95, calculated with html format
Parsing index_split_009.html ...
********* Heuristic processing HTML *********
flow is too short, not running heuristics
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 2014 items of level: p_1
Found 10 items of level: div_1
p_1 left margin stats: Counter({u'0': 2014})
p_1 right margin stats: Counter({u'0': 2014})
div_1 left margin stats: Counter()
div_1 right margin stats: Counter()
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'titlepage.xhtml' from manifest
Creating PDF Output...
Converting input as a text based book...
The cover image has an id != "cover". Renaming to work around bug in Nook Color
index_split_008.html: Loading not complete after 60 seconds, aborting.
index_split_009.html: Loading not complete after 60 seconds, aborting.
index_split_006.html: Loading not complete after 120 seconds, aborting.
index_split_007.html: Loading not complete after 120 seconds, aborting.
file:///C:/Users/dldun/AppData/Local/Temp/calibre_3sqyo8/svduji_pdf_out/index_split_005.html:12:Uncaught TypeError: Cannot read property 'style' of null
file:///C:/Users/dldun/AppData/Local/Temp/calibre_3sqyo8/svduji_pdf_out/index_split_004.html:12:Uncaught TypeError: Cannot read property 'style' of null
Load of file:///C:/Users/dldun/AppData/Local/Temp/calibre_3sqyo8/svduji_pdf_out/index_split_006.html failed
Attached Thumbnails
Click image for larger version

Name:	screenshot001.jpg
Views:	135
Size:	134.8 KB
ID:	178655  

Last edited by PeterT; 04-24-2020 at 06:07 PM.
Frizzell is offline   Reply With Quote
Old 04-24-2020, 10:38 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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It sounds like somethingis interfering with calibre on your system. Try running in safe mode and see if it works there first.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Converting epub to pdf barneyg Conversion 1 02-26-2018 10:26 PM
converting pdf to epub Gagan ePub 65 06-28-2017 11:57 PM
PDF to EPUB conversion fails at the last step sgtrock Conversion 2 04-20-2014 12:11 PM
Troubleshooting Converting PDF fails garfieldus Amazon Kindle 3 11-19-2010 01:31 PM
Help with converting PDF to epub neilmarr Sigil 6 11-14-2009 09:26 AM


All times are GMT -4. The time now is 01:24 PM.


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