Another question: For some reason, alot of things that work with my edition of python/pyqt/lxml don't work in calibre (v0.8.6). I keep on coming across the following when running the plugin in calibre:

where the stringlist being input into etree.fromstringlist() is a perfectly normal list of strings (the first three being '<html>', '<head>', '<meta content="http://www.w3.org/1999/xhtml; charset=utf-8" http-equiv="Content-Type"/>' ; these first few strings are written in the plugin, not read from somewhere else; I'm guessing 'line 2' refers to the third one?)