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)
|