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 11-20-2012, 09:25 PM   #1
rtmyers
Member
rtmyers began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Aug 2012
Device: iPad
Qt has caught an error thrown from an event handler

Converting the attached file yields the error "Qt has caught an exception thrown from an event handler.

Spoiler:

calibre, version 0.9.3 (win32, isfrozen: True)
Conversion Error: Failed: Convert book 1 of 1 (Sample Chapter)

Convert book 1 of 1 (Sample Chapter)
Qt: Untested Windows version 6.2 detected!
Resolved conversion options
calibre version: 0.9.3
{'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\\Bob\\AppData\\Local\\Temp\\calibre_0. 9.3_tmp_4p90in\\y2zrl3.jpeg',
'custom_size': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'duplicate_links_in_toc': False,
'enable_heuristics': 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 0x03D94890>,
'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,
'orientation': u'portrait',
'output_profile': <calibre.customize.profiles.OutputProfile object at 0x03D94A70>,
'page_breaks_before': u'/',
'paper_size': u'b6',
'pdf_default_font_size': 20,
'pdf_mono_family': u'Courier New',
'pdf_mono_font_size': 16,
'pdf_sans_family': u'Helvetica',
'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\\Bob\\AppData\\Local\\Temp\\calibre_0. 9.3_tmp_4p90in\\ut5hvp.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,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'unit': 'inch',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\Bob\AppData\Local\Temp\calibre_0.9.3_tmp_ 4p90in\hotpoi.epub
Found HTML cover OEBPS/text/kisei-10-1-cover.xhtml
Parsing all content...
Parsing OEBPS/gbyt/lib/gbyt.css ...
CSSStylesheet: CSSNamespaceRule not allowed here. [2:1: @namespace]
Property: Unknown Property name. [3:90: monochrome]
MediaQuery: Unexpected syntax, expected "and" but found "(". [4:100: (]
MediaQuery: Unexpected syntax, expected "and" but found ")". [4:114: )]
Property: Unexpected ident. [4:125: amzn-kf8]
MediaList: Invalid MediaQuery: (not amzn-mobi) and (not amzn-kf8)
Property: Unknown Property name. [6:862: monochrome]
Property: Unknown Property name. [9:25: min-device-width]
Property: Unknown Property name. [9:55: max-device-width]
Parsing OEBPS/text/kisei-10-1-0.xhtml ...
Parsing OEBPS/text/kisei-10-1-1.xhtml ...
Parsing OEBPS/text/kisei-10-1-2.xhtml ...
Parsing OEBPS/text/kisei-10-1-3.xhtml ...
Parsing OEBPS/text/kisei-10-1-4.xhtml ...
Parsing OEBPS/lib/cho-kisei.css ...
Selector: Unexpected negation. [142:52: :not(]
Selector: Unexpected class. [142:58: .game-info]
Selector: Unexpected CHAR. [142:67: )]
SelectorList: Invalid Selector: body > section.chapter > p:first-of-type:first-line:not(.game-info)
Parsing OEBPS/text/kisei-10-1-cover.xhtml ...
Parsing OEBPS/text/kisei-10-1-title.xhtml ...
Parsing OEBPS/text/kisei-10-1-toc.xhtml ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Failed to parse CSS selector: u'.game-info:before'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Failed to parse CSS selector: u'.game-data:before'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Failed to parse CSS selector: u'.game-result:before'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Failed to parse CSS selector: u'.titlepage:after'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Failed to parse CSS selector: u'.iw-slider input::-webkit-slider-thumb'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Failed to parse CSS selector: u'.a[data-decoration]:before'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Failed to parse CSS selector: u'.line.start-numbering .t:before'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Failed to parse CSS selector: u'.w.a[data-decoration]:before'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Failed to parse CSS selector: u'.b.a[data-decoration]:before'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Failed to parse CSS selector: u'.line.start-numbering .a.l .t:before'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Source base font size is 12.00000pt
Removing fake margins...
Found 20 items of level: div_1
Found 8 items of level: div_3
Found 28 items of level: div_2
Found 10 items of level: div_5
Found 10 items of level: div_4
Found 10 items of level: div_7
Found 20 items of level: div_6
Found 20 items of level: p_2
Found 2 items of level: p_1
Ignoring level div_3
Ignoring level div_5
Ignoring level div_4
Ignoring level div_7
Ignoring level div_6
Ignoring level p_2
Ignoring level p_1
div_1 left margin stats: Counter()
div_1 right margin stats: Counter()
div_2 left margin stats: Counter({u'': 8})
div_2 right margin stats: Counter({u'': 8})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'OEBPS/gbyt/fonts/SourceSansPro-Regular.otf' from manifest
Trimming u'OEBPS/gbyt/fonts/SourceSansPro-Semibold.otf' from manifest
Trimming u'OEBPS/gbyt/images/iconic/first_16x16.png' from manifest
Trimming u'OEBPS/gbyt/images/iconic/last_16x16.png' from manifest
Trimming u'OEBPS/gbyt/images/black.svg' from manifest
Trimming u'OEBPS/gbyt/images/iconic/arrow_left_16x16.png' from manifest
Trimming u'OEBPS/gbyt/images/iconic/arrow_right_16x16.png' from manifest
Trimming u'OEBPS/gbyt/images/iconic/play_12x16.png' from manifest
Trimming u'OEBPS/gbyt/images/iconic/stop_16x16.png' from manifest
Trimming u'OEBPS/gbyt/images/w.png' from manifest
Trimming u'OEBPS/text/kisei-10-1-cover.jpg' from manifest
Trimming u'OEBPS/gbyt/images/b.png' from manifest
Trimming u'OEBPS/text/kisei-10-1-cover.xhtml' from manifest
Trimming u'OEBPS/gbyt/images/white.svg' 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\Bob\AppData\Local\Temp\calibre_0.9.3_tmp_ 4p90in\xs9wgi_pdf_out\OEBPS\text\kisei-10-1-title.xhtml...
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Any thoughts on how to go about tracking this down? My next step would be to do a series of binary bifurcations of the file, but before I do that if someone sees something obvious or has an environment which allows them to easily pinpoint where the error is occurring...

Thanks,
Bob
Attached Files
File Type: txt Calibre Conversion Error.txt (9.9 KB, 364 views)
File Type: epub kisei-10-1.epub (729.5 KB, 185 views)

Last edited by DoctorOhh; 11-21-2012 at 01:01 AM. Reason: added error log to the main post
rtmyers is offline   Reply With Quote
Old 11-20-2012, 09:31 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,784
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Your EPUB has many validation errors (I used Flightcrew)
theducks is offline   Reply With Quote
Old 11-20-2012, 09:37 PM   #3
rtmyers
Member
rtmyers began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Aug 2012
Device: iPad
Thanks for your quick look at this, but as far as I can tell Flightcrew can only check EPUB2. This is an EPUB3 file. It runs through epubcheck clean as a whistle.
rtmyers is offline   Reply With Quote
Old 11-20-2012, 10:12 PM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,160
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Um... I didn't know calibre supported ePub 3!
PeterT is offline   Reply With Quote
Old 11-20-2012, 10:45 PM   #5
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
Works for me. Make sure you are running the current calibre release.
Attached Files
File Type: pdf kisei-10-1.pdf (1.19 MB, 221 views)
kovidgoyal is offline   Reply With Quote
Old 11-20-2012, 11:28 PM   #6
rtmyers
Member
rtmyers began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Aug 2012
Device: iPad
Thank you very much. I was running 0.9.3 on Win8. I will try 0.9.6.
rtmyers is offline   Reply With Quote
Old 11-21-2012, 12:38 AM   #7
rtmyers
Member
rtmyers began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Aug 2012
Device: iPad
Hmm...no joy with 0.9.6 either. It pops up to 67% right away, sits there for nearly an hour (!), then gives the same error. Could this be a Windows issue?
--
Bob
rtmyers is offline   Reply With Quote
Old 11-21-2012, 01:20 AM   #8
rtmyers
Member
rtmyers began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Aug 2012
Device: iPad
Running the "4GBPatch" thingie on calibre.exe, as mentioned in another thread, also doesn't seem to help. Maybe I should try running this on Linux.
rtmyers is offline   Reply With Quote
Old 11-21-2012, 01:26 AM   #9
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,160
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
I had no issues on Windows with 0.9.6 (windows 7 / 64 bit)

Spoiler:

Convert book 1 of 1 (Sample Chapter)
Resolved conversion options
calibre version: 0.9.6
{'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(., 'chapter|book|section|part|prologue|epilogue\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\\Peter\\AppData\\Local\\Temp\\calibre_ 0.9.6_tmp_b3umrs\\iyde1r.jpeg',
'custom_size': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'duplicate_links_in_toc': False,
'embed_font_family': None,
'enable_heuristics': 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 0x0411BC50>,
'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,
'orientation': u'portrait',
'output_profile': <calibre.customize.profiles.KoboReaderOutput object at 0x04128030>,
'page_breaks_before': u'/',
'paper_size': u'letter',
'pdf_default_font_size': 20,
'pdf_mono_family': u'Courier New',
'pdf_mono_font_size': 16,
'pdf_sans_family': u'Agency FB',
'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\\Peter\\AppData\\Local\\Temp\\calibre_ 0.9.6_tmp_b3umrs\\qby2hb.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,
'unit': 'inch',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\Peter\AppData\Local\Temp\calibre_0.9.6_tm p_b3umrs\8sluwx.epub
Found HTML cover OEBPS/text/kisei-10-1-cover.xhtml
Parsing all content...
Parsing OEBPS/text/kisei-10-1-1.xhtml ...
Parsing OEBPS/text/kisei-10-1-3.xhtml ...
Parsing OEBPS/text/kisei-10-1-4.xhtml ...
Parsing OEBPS/lib/cho-kisei.css ...
Selector: Unexpected negation. [142:52: :not(]
Selector: Unexpected class. [142:58: .game-info]
Selector: Unexpected CHAR. [142:67: )]
SelectorList: Invalid Selector: body > section.chapter > p:first-of-type:first-line:not(.game-info)
Parsing OEBPS/text/kisei-10-1-cover.xhtml ...
Parsing OEBPS/text/kisei-10-1-title.xhtml ...
Parsing OEBPS/text/kisei-10-1-toc.xhtml ...
Parsing OEBPS/text/kisei-10-1-0.xhtml ...
Parsing OEBPS/gbyt/lib/gbyt.css ...
CSSStylesheet: CSSNamespaceRule not allowed here. [2:1: @namespace]
Property: Unknown Property name. [3:90: monochrome]
MediaQuery: Unexpected syntax, expected "and" but found "(". [4:100: (]
MediaQuery: Unexpected syntax, expected "and" but found ")". [4:114: )]
Property: Unexpected ident. [4:125: amzn-kf8]
MediaList: Invalid MediaQuery: (not amzn-mobi) and (not amzn-kf8)
Property: Unknown Property name. [6:862: monochrome]
Property: Unknown Property name. [9:25: min-device-width]
Property: Unknown Property name. [9:55: max-device-width]
Parsing OEBPS/text/kisei-10-1-2.xhtml ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Failed to parse CSS selector: u'.game-info:before'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Failed to parse CSS selector: u'.game-data:before'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Failed to parse CSS selector: u'.game-result:before'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Failed to parse CSS selector: u'.titlepage:after'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Failed to parse CSS selector: u'.iw-slider input::-webkit-slider-thumb'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Failed to parse CSS selector: u'.a[data-decoration]:before'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Failed to parse CSS selector: u'.line.start-numbering .t:before'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Failed to parse CSS selector: u'.w.a[data-decoration]:before'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Failed to parse CSS selector: u'.b.a[data-decoration]:before'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Failed to parse CSS selector: u'.line.start-numbering .a.l .t:before'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 150, in build_selector
File "site-packages\cssselect-0.7.1-py2.7.egg\cssselect\xpath.py", line 168, in css_to_xpath
ExpressionError: Pseudo-elements are not supported.

Source base font size is 12.00000pt
Removing fake margins...
Found 20 items of level: div_1
Found 8 items of level: div_3
Found 28 items of level: div_2
Found 10 items of level: div_5
Found 10 items of level: div_4
Found 10 items of level: div_7
Found 20 items of level: div_6
Found 20 items of level: p_2
Found 2 items of level: p_1
Ignoring level div_3
Ignoring level div_5
Ignoring level div_4
Ignoring level div_7
Ignoring level div_6
Ignoring level p_2
Ignoring level p_1
div_1 left margin stats: Counter()
div_1 right margin stats: Counter()
div_2 left margin stats: Counter({u'': 8})
div_2 right margin stats: Counter({u'': 8})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'OEBPS/gbyt/images/iconic/first_16x16.png' from manifest
Trimming u'OEBPS/gbyt/images/iconic/last_16x16.png' from manifest
Trimming u'OEBPS/gbyt/fonts/SourceSansPro-Regular.otf' from manifest
Trimming u'OEBPS/gbyt/images/iconic/arrow_left_16x16.png' from manifest
Trimming u'OEBPS/gbyt/images/iconic/arrow_right_16x16.png' from manifest
Trimming u'OEBPS/gbyt/images/iconic/play_12x16.png' from manifest
Trimming u'OEBPS/gbyt/images/iconic/stop_16x16.png' from manifest
Trimming u'OEBPS/text/kisei-10-1-cover.jpg' from manifest
Trimming u'OEBPS/gbyt/images/w.png' from manifest
Trimming u'OEBPS/text/kisei-10-1-cover.xhtml' from manifest
Trimming u'OEBPS/gbyt/images/b.png' from manifest
Trimming u'OEBPS/gbyt/images/white.svg' from manifest
Trimming u'OEBPS/gbyt/images/black.svg' from manifest
Trimming u'OEBPS/gbyt/fonts/SourceSansPro-Semibold.otf' 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\Peter\AppData\Local\Temp\calibre_0.9.6_tm p_b3umrs\ngji0e_pdf_out\OEBPS\text\kisei-10-1-title.xhtml...
Processing C:\Users\Peter\AppData\Local\Temp\calibre_0.9.6_tm p_b3umrs\ngji0e_pdf_out\OEBPS\text\kisei-10-1-toc.xhtml...
Processing C:\Users\Peter\AppData\Local\Temp\calibre_0.9.6_tm p_b3umrs\ngji0e_pdf_out\OEBPS\text\kisei-10-1-0.xhtml...
Processing C:\Users\Peter\AppData\Local\Temp\calibre_0.9.6_tm p_b3umrs\ngji0e_pdf_out\OEBPS\text\kisei-10-1-1.xhtml...
Processing C:\Users\Peter\AppData\Local\Temp\calibre_0.9.6_tm p_b3umrs\ngji0e_pdf_out\OEBPS\text\kisei-10-1-2.xhtml...
Processing C:\Users\Peter\AppData\Local\Temp\calibre_0.9.6_tm p_b3umrs\ngji0e_pdf_out\OEBPS\text\kisei-10-1-3.xhtml...
Processing C:\Users\Peter\AppData\Local\Temp\calibre_0.9.6_tm p_b3umrs\ngji0e_pdf_out\OEBPS\text\kisei-10-1-4.xhtml...
PDF output written to C:\Users\Peter\AppData\Local\Temp\calibre_0.9.6_tm p_b3umrs\mmnugp.pdf
Attached Files
File Type: pdf Sample Chapter - Books You Touch.pdf (1.21 MB, 195 views)
PeterT is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
So, I got caught in this e-reading thing... vxf General Discussions 67 12-02-2012 05:19 AM
Qt exception thrown from an event handler Bandgeek Calibre 5 03-26-2012 09:01 AM
Recipe exists: ICE default IO error handler doing an exit(), pid = 11756, errno = 32 weichkaese Recipes 0 08-08-2011 04:07 AM
Kobo caught in a loop guggle Kobo Reader 6 11-04-2010 07:17 PM
'Voluminous' - a new ebook handler for OSX ottocrat News 10 04-22-2008 09:45 AM


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


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