FS#32051 - Calibre will not convert books with python2-lxml 3.0
Attached to Project:
Community Packages
Opened by Doug Newgard (Scimmia) - Thursday, 18 October 2012, 04:10 GMT
Last edited by Allan McRae (Allan) - Thursday, 18 October 2012, 05:42 GMT
Opened by Doug Newgard (Scimmia) - Thursday, 18 October 2012, 04:10 GMT
Last edited by Allan McRae (Allan) - Thursday, 18 October 2012, 05:42 GMT
|
Details
Calibre 0.9.2 will not convert to .mobi format (and possibly
others) with python2-lxml 3.0 installed. The cssselector was
moved into a separate project (available in the AUR) for 3.0
with lxml providing a wrapper that doesn't seem to expose
the same functionality. I filed a bug report upstream, but
they will not support their source code, only their binary
distribution that provides it's own python libs and it was
marked as invalid.
|
This task depends upon
Closed by Allan McRae (Allan)
Thursday, 18 October 2012, 05:42 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#31857
Thursday, 18 October 2012, 05:42 GMT
Reason for closing: Duplicate
Additional comments about closing:
Can you provide a link to the upstream bug report?
Sounds like a reason to stop having calibre in the repos.
sed -i -e "s:lxml.cssselect\ import\ css_to_xpath:cssselect\ import\ GenericTranslator:g" src/calibre/ebooks/oeb/stylizer.py
I know it's not a good fix since it depends on package from the AUR, but that's where the functionality is that used to be in lxml.