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
Last edited by DoctorOhh; 11-21-2012 at 01:01 AM.
Reason: added error log to the main post
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.
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
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