stylizer.py does not work with lxml 3.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Converting to a book to .mobi, I get an error with this traceback:
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
override_
File "/usr/lib/
plumber.run()
File "/usr/lib/
from calibre.
File "/usr/lib/
from calibre.
File "/usr/lib/
from lxml.cssselect import css_to_xpath, ExpressionError, SelectorSyntaxError
ImportError: cannot import name css_to_xpath
Looking at cssselect.py from lxml, it was converted to a wrapper in 3.0,
the functionality extracted to a standalone project: http://
The wrapper doesn't seem to have the same functionality as the original.
description: | updated |
description: | updated |
I do not provide support for people using distro provided packages. If you are using a distro provided package, uninstall it and install the official calibre binary from http:// calibre- ebook.com/ download_ linux and if you can reproduce the bug with that, re-open the ticket.
status invalid