Enthusiast
Posts: 27
Karma: 10
Join Date: Jul 2010
Device: sony prs-600
|
conversion problem? - cleaning up epub
calibre, version 0.8.3
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Biohazard)
Code:
Convert book 1 of 1 (Biohazard)
Failed to initialize plugin: u'C:\\Users\\terry studio15\\AppData\\Roaming\\calibre\\plugins\\Goodreads Metadata.zip'
Failed to initialize plugin: u'C:\\Users\\terry studio15\\AppData\\Roaming\\calibre\\plugins\\Goodreads Covers.zip'
Resolved conversion options
calibre version: 0.8.3
{'asciiize': True,
'author_sort': None,
'authors': None,
'base_font_size': 12.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2' or name()='h3') and re:test(., 'chapter|CHAPTER|book|section|part\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'c:\\users\\terrys~1\\appdata\\local\\temp\\calibre_0.8.3_tmp_7m6_aa\\calibre_0.8.3_emeeo2.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'enable_heuristics': True,
'epub_flatten': False,
'extra_css': u'body { margin: 0; }\n p {margin-top: 0pt; margin-bottom: 0pt; padding: 0pt; text-indent: 15pt; text-align: justify;}\n h1 { text-align: center; }\n h2 {text-align: center; font-weight: 600; font-size: x-large; padding-bottom: 20pt; page-break-before: always;}\n h3 { text-align: center; padding-bottom: 20pt; font-weight: 600; font-size: xx-large; page-break-before: always }\n h4 { text-align: center; }\n h5 { text-align: center; }\n h6 { text-align: center; }',
'extract_to': None,
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': u'7.5, 9.0, 10.0, 12.0, 15.5, 20.0, 22.0, 24.0',
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.SonyReaderInput object at 0x0576F930>,
'insert_blank_line': True,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': True,
'language': None,
'level1_toc': u'//h:h1',
'level2_toc': u'//h:h2',
'level3_toc': u'//h:h3',
'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': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.SonyReaderOutput object at 0x056A6630>,
'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\\terrys~1\\appdata\\local\\temp\\calibre_0.8.3_tmp_7m6_aa\\calibre_0.8.3_cdtwgl.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'',
'series': None,
'series_index': None,
'smarten_punctuation': True,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on \\QNAPOFFICE\Public\E-book Database\Tim Curran\Biohazard (4475)\Biohazard - Tim Curran.epub
Found HTML cover OEBPS/Text/titlepage.xhtml
Parsing all content...
Parsing OEBPS/Text/dummy_split_008.html ...
********* Heuristic processing HTML *********
There are 2 blank lines. 0.00376647834275 percent blank
minimum chapters required are: 3
found 15 pre-existing headings
Total wordcount is: 17874, Average words per section is: 1191, Marked up 15 chapters
Hard line breaks check returned False
Median line length is 131, calculated with spanned_html format
Fixing hyphenated content
Parsing OEBPS/Styles/stylesheet.css ...
Property: Invalid value for "CSS Level 2.1" property: bottom [157:5: text-align]
Parsing OEBPS/Text/dummy_split_002.html ...
********* Heuristic processing HTML *********
There are 2 blank lines. 0.00749063670412 percent blank
minimum chapters required are: 2
found 12 pre-existing headings
Total wordcount is: 7910, Average words per section is: 659, Marked up 12 chapters
Hard line breaks check returned True
Median line length is 100, calculated with spanned_html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Parsing OEBPS/Text/dummy_split_003.html ...
********* Heuristic processing HTML *********
There are 1 blank lines. 0.00218340611354 percent blank
minimum chapters required are: 3
found 16 pre-existing headings
Total wordcount is: 14061, Average words per section is: 878, Marked up 16 chapters
Hard line breaks check returned False
Median line length is 156, calculated with spanned_html format
Fixing hyphenated content
Parsing OEBPS/Text/dummy_split_001.html ...
********* Heuristic processing HTML *********
flow is too short, not running heuristics
Parsing OEBPS/Text/dummy_split_007.html ...
********* Heuristic processing HTML *********
There are 1 blank lines. 0.00143472022956 percent blank
minimum chapters required are: 4
found 16 pre-existing headings
Total wordcount is: 23053, Average words per section is: 1440, Marked up 16 chapters
Hard line breaks check returned False
Median line length is 168, calculated with spanned_html format
Fixing hyphenated content
Parsing OEBPS/Text/titlepage.xhtml ...
********* Heuristic processing HTML *********
flow is too short, not running heuristics
Parsing OEBPS/Text/dummy_split_004.html ...
********* Heuristic processing HTML *********
There are 5 blank lines. 0.0107991360691 percent blank
minimum chapters required are: 3
found 12 pre-existing headings
Total wordcount is: 15881, Average words per section is: 1323, Marked up 12 chapters
Hard line breaks check returned False
Median line length is 162, calculated with spanned_html format
Fixing hyphenated content
Parsing OEBPS/Text/dummy_split_005.html ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 2 pre-existing headings
Total wordcount is: 1473, Average words per section is: 736, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 57, calculated with spanned_html format
Fixing hyphenated content
Parsing OEBPS/Text/dummy_split_009.html ...
********* Heuristic processing HTML *********
There are 4 blank lines. 0.00437158469945 percent blank
minimum chapters required are: 5
found 29 pre-existing headings
Total wordcount is: 30790, Average words per section is: 1061, Marked up 29 chapters
Hard line breaks check returned False
Median line length is 176, calculated with spanned_html format
Fixing hyphenated content
Initial parse failed:
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\base.py", line 886, in first_pass
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1445, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78709)
File "parser.pxi", line 920, in lxml.etree._BaseParser._parseUnicodeDoc (src/lxml/lxml.etree.c:75083)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Opening and ending tag mismatch: i line 19 and style, line 20, column 11
Parsing file 'OEBPS/Text/dummy_split_009.html' as HTML
Forcing OEBPS/Text/dummy_split_009.html into XHTML namespace
Parsing OEBPS/Text/dummy_split_000.html ...
********* Heuristic processing HTML *********
flow is too short, not running heuristics
Parsing OEBPS/Text/dummy_split_006.html ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 0 pre-existing headings
Total wordcount is: 1256, Average words per section is: 1256, Marked up 0 chapters
Hard line breaks check returned True
Median line length is 62, calculated with spanned_html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Looking for more split points based on punctuation, currently have 0
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...
Parsing stylesheet.css ...
Property: Invalid value for "CSS Level 2.1" property: bottom [265:1: text-align]
Found 131 items of level: div_1
Found 3397 items of level: p_1
div_1 left margin stats: Counter()
div_1 right margin stats: Counter()
p_1 left margin stats: Counter({u'0': 3397})
p_1 right margin stats: Counter({u'0': 3397})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming 'OEBPS/Images/cover.jpeg' from manifest
Trimming 'OEBPS/Text/titlepage.xhtml' from manifest
Creating EPUB Output...
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Looking for large trees in OEBPS/Text/dummy_split_008.html...
No large trees found
Split into 16 parts
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Looking for large trees in OEBPS/Text/dummy_split_002.html...
No large trees found
Split into 12 parts
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Looking for large trees in OEBPS/Text/dummy_split_003.html...
No large trees found
Split into 17 parts
Looking for large trees in OEBPS/Text/dummy_split_001.html...
No large trees found
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Looking for large trees in OEBPS/Text/dummy_split_007.html...
No large trees found
Split into 17 parts
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Splitting on page-break
Looking for large trees in OEBPS/Text/dummy_split_004.html...
No large trees found
Split into 13 parts
Splitting on page-break
Splitting on page-break
Looking for large trees in OEBPS/Text/dummy_split_005.html...
No large trees found
Split into 3 parts
Python function terminated unexpectedly
Invalid predicate (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 103, in main
File "site.py", line 85, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 181, 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 1040, in run
File "site-packages\calibre\ebooks\epub\output.py", line 169, in convert
File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 57, in __call__
File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 64, in split_item
File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 123, in find_page_breaks
File "xpath.pxi", line 446, in lxml.etree.XPath.__init__ (src/lxml/lxml.etree.c:115005)
File "xpath.pxi", line 214, in lxml.etree._XPathEvaluatorBase._raise_parse_error (src/lxml/lxml.etree.c:112698)
lxml.etree.XPathSyntaxError: Invalid predicate
[Copyrighted book removed. DO NOT post copyrighted material to MobileRead, unless there is permission from the copyright holder. - MODERATOR]
Last edited by Dr. Drib; 05-31-2011 at 01:47 PM.
|