Description of problem: If I run the binary version of CALIBRE, I can fetch custom news sources. The same recipe on the Fedora 12 version cannot fetch custom news sources. Following is the recipe and tail of the log: ===== recipe ===== class AdvancedUserRecipe1264697614(BasicNewsRecipe): title = u'SANS INFOCon' oldest_article = 7 max_articles_per_feed = 100 feeds = [(u'Internet Storm Center Infocon', u'http://images.dshield.org/rssfeed.xml')] ===== log tail ===== Flattening CSS and remapping font sizes... Traceback (most recent call last): File "/usr/bin/calibre-parallel", line 19, in <module> sys.exit(main()) File "/usr/lib/calibre/calibre/utils/ipc/worker.py", line 98, in main result = func(*args, **kwargs) File "/usr/lib/calibre/calibre/gui2/convert/gui_conversion.py", line 24, in gui_convert plumber.run() File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 825, in run flattener(self.oeb, self.opts) File "/usr/lib/calibre/calibre/ebooks/oeb/transforms/flatcss.py", line 122, in __call__ self.stylize_spine() File "/usr/lib/calibre/calibre/ebooks/oeb/transforms/flatcss.py", line 146, in stylize_spine extra_css=css) File "/usr/lib/calibre/calibre/ebooks/oeb/stylizer.py", line 169, in __init__ rules.extend(self.flatten_rule(rule, href, index)) File "/usr/lib/calibre/calibre/ebooks/oeb/stylizer.py", line 233, in flatten_rule style = self.flatten_style(rule.style) File "/usr/lib/calibre/calibre/ebooks/oeb/stylizer.py", line 253, in flatten_style style.update(self._normalize_font(prop.cssValue)) File "/usr/lib/calibre/calibre/ebooks/oeb/stylizer.py", line 343, in _normalize_font if cssprofiles.validate(key, value): AttributeError: 'module' object has no attribute 'validate' Version-Release number of selected component (if applicable): 0.6.35 How reproducible: every time with any custom recipe Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Thanks a lot, Jerry! I've submitted an update with a fix. Would you like to try the build and comment in Bodhi?
calibre-0.6.36-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/calibre-0.6.36-1.fc12
*** Bug 559531 has been marked as a duplicate of this bug. ***
Hi Ionuț: I'm the author of bug 559531, applied the new update and everything seems to be working fine, including downloading elpais.es and endi.com. The new update even includes a nice touch I didn't notice before, which is a popup window informing finish if each download. Nice job.
calibre-0.6.36-1.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update calibre'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1242
calibre-0.6.36-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.