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 07-16-2015, 01:19 PM   #1
Wipneus
Connoisseur
Wipneus began at the beginning.
 
Wipneus's Avatar
 
Posts: 77
Karma: 12
Join Date: Jan 2012
Location: Nederland
Device: Ipad Pro
What`s the problem ?? Conversion ...

I have a book (epub) and i had changed some details in the metadata.
Now i tried to convert the book again but calibre can`t convert this book.

What is the problem and how do I fix it?

This I get to see when I try to convert.
Spoiler:


Boek 1 van 1 (Lutje Boudel) converteren
Resolved conversion options
calibre version: 2.29.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\\user\\AppData\\Local\\Temp\\calibre_w c15mv\\nvl4by.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'epub_flatten': False,
'epub_inline_toc': False,
'epub_toc_at_end': False,
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x03C2EDF0>,
'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_default_epub_cover': True,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.GenericEink object at 0x03C2EFF0>,
'page_breaks_before': u'/',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\user\\AppData\\Local\\Temp\\calibre_w c15mv\\l9t1pr.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,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\user\AppData\Local\Temp\calibre_wc15mv\2q jkub.epub
Found HTML cover OEBPS/Text/Section0001.html
Parsing all content...
Python function terminated unexpectedly
Spine is empty (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 193, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1053, in run
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1234, in create_oebbook
File "site-packages\calibre\ebooks\oeb\reader.py", line 71, in __call__
File "site-packages\calibre\ebooks\oeb\reader.py", line 696, in _all_from_opf
File "site-packages\calibre\ebooks\oeb\reader.py", line 343, in _spine_from_opf
calibre.ebooks.oeb.base.OEBError: Spine is empty

Last edited by theducks; 07-16-2015 at 02:14 PM. Reason: wrap long paste in spoiler
Wipneus is offline   Reply With Quote
Old 07-17-2015, 09:26 AM   #2
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 482
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
I'm getting the same mistake when trying to convert from epub to pdf (my books are in epub, but to save to disk in a separate location, I save them in pdf. I've done this almost since I started using Calibre and never had a problem before. Now I get the same error as Wipneus (from what I could see, although I will put my error message.

Spoiler:
Convert book 2 of 2 (The Beguile and Devotion of a Black Heir)
Resolved conversion options
calibre version: 2.32.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\\Wenpip\\AppData\\Local\\Temp\\calibre _kwh0ei\\vpqmhb.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': u'Georgia',
'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 0x0000000004AFD358>,
'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': 6.0,
'margin_right': 8.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,
'old_pdf_engine': False,
'output_profile': <calibre.customize.profiles.KoboReaderOutput object at 0x0000000004AFDA20>,
'override_profile_size': False,
'page_breaks_before': '/',
'paper_size': u'letter',
'pdf_add_toc': False,
'pdf_default_font_size': 14,
'pdf_footer_template': None,
'pdf_header_template': None,
'pdf_mark_links': False,
'pdf_mono_family': u'Courier New',
'pdf_mono_font_size': 16,
'pdf_page_numbers': False,
'pdf_sans_family': u'Aharoni',
'pdf_serif_family': u'Times New Roman',
'pdf_standard_font': u'serif',
'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\\Wenpip\\AppData\\Local\\Temp\\calibre _kwh0ei\\xt3mot.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,
'uncompressed_pdf': False,
'unit': u'inch',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\Wenpip\AppData\Local\Temp\calibre_kwh0ei\ nvrvkq.epub
Parsing all content...
Parsing OEBPS/stylesheet.css ...
Parsing OEBPS/file0001.xhtml ...
Parsing OEBPS/file0004.xhtml ...
Parsing OEBPS/file0009.xhtml ...
Parsing OEBPS/file0007.xhtml ...
Parsing OEBPS/file0002.xhtml ...
Parsing OEBPS/file0008.xhtml ...
Parsing OEBPS/file0005.xhtml ...
Parsing OEBPS/title_page.xhtml ...
Parsing OEBPS/file0006.xhtml ...
Parsing OEBPS/file0003.xhtml ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Embedding font: Georgia
Property: Unknown Property name. [1:42: panose-1]
Property: Unknown Property name. [1:47: panose-1]
Property: Unknown Property name. [1:49: panose-1]
Property: Unknown Property name. [1:54: panose-1]
Source base font size is 12.00000pt
Removing fake margins...
Found 10 items of level: div_1
Found 28 items of level: div_3
Found 9 items of level: div_2
Found 2700 items of level: p_3
div_1 left margin stats: Counter({u'': 9})
div_1 right margin stats: Counter({u'': 9})
div_3 left margin stats: Counter({u'': 28})
div_3 right margin stats: Counter({u'': 28})
div_2 left margin stats: Counter({u'': 9})
div_2 right margin stats: Counter({u'': 9})
p_3 left margin stats: Counter({u'0': 2700})
p_3 right margin stats: Counter({u'0': 2700})
Cleaning up manifest...
Trimming unused files from manifest...
Creating PDF Output...
Converting input as a text based book...
Serializing oeb input to disk for processing...
Rendering pages to PDF...
Processing C:\Users\Wenpip\AppData\Local\Temp\calibre_kwh0ei\ pbhj_e_pdf_out\OEBPS\title_page.xhtml...


I've also tried to convert one I converted 2 days ago. The only change I've made is to apply the Calibre update (to v2.32) this morning.

ETA: I was just told that there was a windows update this morning as well, not sure if anything there would affect this.

Last edited by MerlinMama; 07-17-2015 at 09:36 AM. Reason: new info
MerlinMama is offline   Reply With Quote
Old 07-17-2015, 11:10 AM   #3
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 482
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Wanted to also say that this only happens when converting to PDF. I just tried to AZW3, MOBI and even epub to epub, and there was no problem. PDF goes to 67% and then the error pops up.
MerlinMama is offline   Reply With Quote
Old 07-17-2015, 12:36 PM   #4
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: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...a6bc77cc56700c
kovidgoyal is offline   Reply With Quote
Old 07-17-2015, 12:46 PM   #5
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 482
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Thanks.
MerlinMama is offline   Reply With Quote
Old 07-17-2015, 01:46 PM   #6
Wipneus
Connoisseur
Wipneus began at the beginning.
 
Wipneus's Avatar
 
Posts: 77
Karma: 12
Join Date: Jan 2012
Location: Nederland
Device: Ipad Pro
My question was about epub to epub not from epub to pdf. Someone had problems with pdf but not me.
Wipneus is offline   Reply With Quote
Old 07-17-2015, 03:14 PM   #7
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: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Your error indicates the file you are trying to convert is corrupted.
kovidgoyal is offline   Reply With Quote
Old 07-17-2015, 06:14 PM   #8
Wipneus
Connoisseur
Wipneus began at the beginning.
 
Wipneus's Avatar
 
Posts: 77
Karma: 12
Join Date: Jan 2012
Location: Nederland
Device: Ipad Pro
Oke Thanks !!
Wipneus is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with conversion henry68 Conversion 2 07-19-2014 05:40 PM
conversion problem Truman Conversion 18 02-13-2014 03:01 PM
Conversion Problem Mishri Jain Conversion 14 04-29-2011 10:28 PM
conversion problem Alexandra Irini Introduce Yourself 5 11-22-2010 11:33 AM
conversion problem? mountainman80 ePub 8 01-29-2010 11:54 PM


All times are GMT -4. The time now is 09:06 PM.


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