View Single Post
Old 01-08-2014, 10:06 PM   #1
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
error in linking stylesheets

Tried to link stylesheet to list.xhtml and got this error. The file was imported, if that makes a difference.

Quote:
calibre, version 1.18.0
ERROR: Unhandled exception: <b>TypeError</b>:Argument 'element' has incorrect type (expected lxml.etree._Element, got unicode)

calibre 1.18 isfrozen: True is64bit: False
Linux-3.2.0-57-generic-pae-i686-athlon-with-debian-wheezy-sid Linux ('32bit', 'ELF')
('Linux', '3.2.0-57-generic-pae', '#87-Ubuntu SMP Tue Nov 12 21:57:43 UTC 2013')
Python 2.7.5
Linux: ('debian', 'wheezy/sid', '')
Traceback (most recent call last):
File "site-packages/calibre/gui2/tweak_book/boss.py", line 72, in ans
File "site-packages/calibre/gui2/tweak_book/boss.py", line 872, in link_stylesheets_requested
File "site-packages/calibre/ebooks/oeb/polish/utils.py", line 62, in link_stylesheets
File "site-packages/calibre/ebooks/oeb/polish/container.py", line 622, in insert_into_xml
TypeError: Argument 'element' has incorrect type (expected lxml.etree._Element, got unicode)
Attached Files
File Type: epub Peter's Evil Overlord List - eviloverlord.com.epub (109.8 KB, 435 views)
eschwartz is offline   Reply With Quote