<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>29056</bug_id>
          
          <creation_ts>2013-06-06 15:11:43 +0400</creation_ts>
          <short_desc>Обновить до 0.9.3 (или выше), там исправлена проблема с lxml 3 (из-за cssselect)</short_desc>
          <delta_ts>2013-10-12 21:21:33 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>calibre</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>grenka</cc>
    
    <cc>lav</cc>
    
    <cc>rider</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>140828</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2013-06-06 15:11:43 +0400</bug_when>
    <thetext>Проблема выглядит так:
  File &quot;/usr/lib64/calibre/calibre/ebooks/oeb/transforms/flatcss.py&quot;, line 17, in &lt;module&gt;
    from calibre.ebooks.oeb.stylizer import Stylizer
  File &quot;/usr/lib64/calibre/calibre/ebooks/oeb/stylizer.py&quot;, line 23, in &lt;module&gt;
    from cssselect import css_to_xpath, ExpressionError, SelectorSyntaxError
ImportError: cannot import name css_to_xpath

Подробности здесь:
https://bugs.launchpad.net/calibre/+bug/1067942
https://bbs.archlinux.org/viewtopic.php?id=150889

Написано, что проблема из-за нового lxml, в котором вынесли cssselect в отдельный модуль), но в 0.9.3 есть исправление для поддержки нового lxml.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>143128</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2013-10-12 21:21:33 +0400</bug_when>
    <thetext>Работает.
 $ rpm -q calibre
calibre-1.0.0-alt1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>