Description of problem: Any attempt to convert an ebook seems to fail with: ... File "/usr/lib64/calibre/calibre/ebooks/conversion/plumber.py", line 1051, in run from calibre.ebooks.oeb.transforms.flatcss import CSSFlattener File "/usr/lib64/calibre/calibre/ebooks/oeb/transforms/flatcss.py", line 20, in <module> from calibre.ebooks.oeb.stylizer import Stylizer File "/usr/lib64/calibre/calibre/ebooks/oeb/stylizer.py", line 23, in <module> from cssselect import HTMLTranslator ImportError: No module named cssselect From what I can tell, cssselect is a python module available out in the universe somewhere, but doing yum searches doesn't seem to turn it up in the fedora repos. Seems like it needs to be packaged up so calibre can say it depends on it. Version-Release number of selected component (if applicable): calibre-0.9.5-1.fc17.x86_64 How reproducible: 100% of the time when trying to convert MOBI to EPUB. Steps to Reproduce: 1.pick a mobi book 2.say convert 3.pick epub output format Actual results: python backtrace Expected results: converted book Additional info: Conversions worked fine before this new calibre showed up.
Can you downgrade to 0.9.4 and/or 0.9.1 and see if they work as expected? With f17: yum --disablerepo=\* --enablerepo=updates-testing downgrade calibre (to get 0.9.4) yum --disablerepo=\* --enablerepo=updates downgrade calibre (to get 0.9.1) That would help me isolate when the breakage showed up. Thanks.
According to my yum.log file, the previous version of calibre on my system was: Oct 20 14:30:10 Updated: calibre-0.9.2-1.fc17.x86_64 That version definitely worked OK, I converted 3 or 4 mobi files to epub with it. And, in fact, the 0.9.5-1 version now works since I found the python cssselect module on the net and installed it manually.
FYI, I've created a package and filed a review for python-cssselect: https://bugzilla.redhat.com/show_bug.cgi?id=875213
*** Bug 875230 has been marked as a duplicate of this bug. ***
python-cssselect-0.7.1-3.fc18,calibre-0.9.5-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/python-cssselect-0.7.1-3.fc18,calibre-0.9.5-2.fc18
calibre-0.9.5-2.fc17,python-cssselect-0.7.1-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/calibre-0.9.5-2.fc17,python-cssselect-0.7.1-3.fc17
Package python-cssselect-0.7.1-3.fc18, calibre-0.9.5-2.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-cssselect-0.7.1-3.fc18 calibre-0.9.5-2.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-17938/python-cssselect-0.7.1-3.fc18,calibre-0.9.5-2.fc18 then log in and leave karma (feedback).
python-cssselect is still not available in fedora repository. Updating from 0.9.1-1 results in error. Error: Package: calibre-0.9.6-2.fc17.i686 (updates) Requires: python-cssselect
Yes, I am aware. Please see bug 887528 Karma is needed for me to push that package out of updates-testing. See the above bug for how to test.
python-cssselect-0.7.1-3.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.