View Single Post
Old 01-27-2013, 02:30 PM   #3
Nooobody expects us
TheSpanishInq. began at the beginning.
Posts: 3
Karma: 10
Join Date: Jan 2013
Device: Polaroid
Thanks for the quick reply. I did what you suggested. PDFto Epub seems to work now, batch conversion is still going on and after no. 15 from 147 still no errors. LIT to Epub failed, see report.
Boek 1 van 1 (06 - The Simbul's Gift) converteren
Resolved conversion options
calibre version: 0.9.16
{'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'/tmp/calibre_0.9.16_tmp_FXj2Lz/0b0kgo.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': True,
'embed_font_family': u'Arial',
'enable_heuristics': True,
'epub_flatten': 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 0x29fda10>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': True,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': True,
'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': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.TabletOutput object at 0x2a03510>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'/tmp/calibre_0.9.16_tmp_FXj2Lz/NZj2q6.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': True,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'search_replace': '[]',
'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,
'start_reading_at': None,
'subset_embedded_fonts': True,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 10,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': True,
'verbose': 2}
InputFormatPlugin: LIT Input running
on /tmp/calibre_0.9.16_tmp_FXj2Lz/lI5BTd.lit
Parsing all content...
Parsing 06 - The Simbul's Gift.htm ...
********* Heuristic processing HTML *********
There are 77 blank lines. 0.0249110320285 percent blank
minimum chapters required are: 15
found 1 pre-existing headings
common had 1 hits - 0 chapters with no title, 1 chapters with titles, 1.0 percent.
emphasized had 29 hits - 29 chapters with no title, 0 chapters with titles, 0.0 percent.
Marked 1 headings, Searching for common section headings
marked 2 chapters & titles. - Book 6 of the Nobles series, A Forgotten Realms novel
Marked 2 headings, Searching for emphasized lines
marked 3 chapters. - <b><span style="font-size:x-large;color:black">1</span></b>
marked 4 chapters. - <b><span style="font-size:x-large;color:black">2</span></b>
marked 5 chapters. - <b><span style="font-size:x-large;color:black">3</span></b>
marked 6 chapters. - <b><span style="font-size:x-large;color:black">4</span></b>
marked 7 chapters. - <b><span style="font-size:x-large;color:black">5</span></b>
marked 8 chapters. - <b><span style="font-size:x-large;color:black">6</span></b>
marked 9 chapters. - <b><span style="font-size:x-large;color:black">7</span></b>
marked 10 chapters. - <b><span style="font-size:x-large;color:black">8</span></b>
marked 11 chapters. - <b><span style="font-size:x-large;color:black">9</span></b>
marked 12 chapters. - <b><span style="font-size:x-large;color:black">10</span></b>
marked 13 chapters. - <b><span style="font-size:x-large;color:black">11</span></b>
marked 14 chapters. - <b><span style="font-size:x-large;color:black">12</span></b>
marked 15 chapters. - <b><span style="font-size:x-large;color:black">13</span></b>
marked 16 chapters. - <b><span style="font-size:x-large;color:black">14</span></b>
marked 17 chapters. - <b><span style="font-size:x-large;color:black">15</span></b>
marked 18 chapters. - <b><span style="font-size:x-large;color:black">16</span></b>
marked 19 chapters. - <b><span style="font-size:x-large;color:black">17</span></b>
marked 20 chapters. - <b><span style="font-size:x-large;color:black">18</span></b>
marked 21 chapters. - <b><span style="font-size:x-large;color:black">19</span></b>
marked 22 chapters. - <b><span style="font-size:x-large;color:black">20</span></b>
marked 23 chapters. - <b><span style="font-size:x-large;color:black">21</span></b>
marked 24 chapters. - <b><span style="font-size:x-large;color:black">22</span></b>
marked 25 chapters. - <b><span style="font-size:x-large;color:black">23</span></b>
marked 26 chapters. - <b><span style="font-size:x-large;color:black">24</span></b>
marked 27 chapters. - <b><span style="font-size:x-large;color:black">25</span></b>
marked 28 chapters. - <b><span style="font-size:x-large;color:black">26</span></b>
marked 29 chapters. - <b><span style="font-size:x-large;color:black">27</span></b>
marked 30 chapters. - <b><span style="font-size:x-large;color:black">28</span></b>
marked 31 chapters. - <b><span style="font-size:small;color:black">About the Author</span></b>
Total wordcount is: 104535, Average words per section is: 3372, Marked up 31 chapters
Hard line breaks check returned False
Median line length is 363, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Forcing 06 - The Simbul's Gift.htm into XHTML namespace
Generating default TOC from spine...
Choosing as the cover
Merging user specified metadata...
Detecting structure...
Detected chapter: Book 6 of the Nobles series
Auto generated TOC with 1 entries.
Inserting metadata into book...
Flattening CSS and remapping font sizes...
Embedding font: Arial
WARNING Property: Unknown Property name. [1:34: panose-1]
WARNING Property: Unknown Property name. [1:41: panose-1]
WARNING Property: Unknown Property name. [1:39: panose-1]
WARNING Property: Unknown Property name. [1:46: panose-1]
Source base font size is 9.00000pt
Removing fake margins...
Found 3 items of level: div_1
Found 31 items of level: div_3
Found 2 items of level: div_2
Found 3031 items of level: p_2
Found 1 items of level: div_4
Ignoring level div_4
div_1 left margin stats: Counter({u'': 1})
div_1 right margin stats: Counter({u'': 1})
div_3 left margin stats: Counter({u'': 31})
div_3 right margin stats: Counter({u'': 31})
div_2 left margin stats: Counter()
div_2 right margin stats: Counter()
p_2 left margin stats: Counter({u'0': 3031})
p_2 right margin stats: Counter({u'0': 3031})
Traceback (most recent call last):
File "", line 58, in main
File "site-packages/calibre/utils/ipc/", line 186, in main
File "site-packages/calibre/gui2/convert/", line 31, in gui_convert_override
File "site-packages/calibre/gui2/convert/", line 25, in gui_convert
File "site-packages/calibre/ebooks/conversion/", line 1130, in run
File "site-packages/calibre/ebooks/oeb/transforms/", line 30, in __call__
File "site-packages/calibre/ebooks/oeb/transforms/", line 179, in find_font_usage
File "site-packages/calibre/ebooks/oeb/transforms/", line 285, in find_usage_in
File "site-packages/calibre/ebooks/oeb/transforms/", line 283, in find_usage_in
File "site-packages/calibre/ebooks/oeb/transforms/", line 185, in elem_style
AttributeError: 'NoneType' object has no attribute 'split'

Greetz from the Netherlands.
TheSpanishInq. is offline   Reply With Quote