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

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

    <bug>
          <bug_id>57730</bug_id>
          
          <creation_ts>2026-01-31 15:24:02 +0300</creation_ts>
          <short_desc>не запускается ebook-viewer из пакета Calibre</short_desc>
          <delta_ts>2026-02-20 08:54:23 +0300</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>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Askar">ascar</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>281196</commentid>
    <comment_count>0</comment_count>
    <who name="Askar">ascar</who>
    <bug_when>2026-01-31 15:24:02 +0300</bug_when>
    <thetext>При запуске ebook-viewer из пакета Calibre возникает ошибка.

[user@i5-3210m-3f1303 ~]$ ebook-viewer 
Traceback (most recent call last):
  File &quot;/usr/bin/ebook-viewer&quot;, line 21, in &lt;module&gt;
    sys.exit(ebook_viewer())
             ~~~~~~~~~~~~^^
  File &quot;/usr/lib64/calibre/calibre/gui_launch.py&quot;, line 105, in wrapper
    return func(*a, **kw)
  File &quot;/usr/lib64/calibre/calibre/gui_launch.py&quot;, line 120, in ebook_viewer
    from calibre.gui2.viewer.main import main
  File &quot;/usr/lib64/calibre/calibre/gui2/viewer/main.py&quot;, line 16, in &lt;module&gt;
    from calibre.gui2.viewer.ui import EbookViewer, is_float
  File &quot;/usr/lib64/calibre/calibre/gui2/viewer/ui.py&quot;, line 42, in &lt;module&gt;
    from calibre.gui2.viewer.annotations import AnnotationsSaveWorker, annotations_dir, parse_annotations
  File &quot;/usr/lib64/calibre/calibre/gui2/viewer/annotations.py&quot;, line 11, in &lt;module&gt;
    from calibre.gui2.viewer.convert_book import update_book
  File &quot;/usr/lib64/calibre/calibre/gui2/viewer/convert_book.py&quot;, line 16, in &lt;module&gt;
    from calibre.srv.render_book import RENDER_VERSION
  File &quot;/usr/lib64/calibre/calibre/srv/render_book.py&quot;, line 21, in &lt;module&gt;
    from calibre.ebooks.oeb.polish.container import Container as ContainerBase
  File &quot;/usr/lib64/calibre/calibre/ebooks/oeb/polish/container.py&quot;, line 49, in &lt;module&gt;
    from calibre.ebooks.oeb.polish.parsing import decode_xml
  File &quot;/usr/lib64/calibre/calibre/ebooks/oeb/polish/parsing.py&quot;, line 10, in &lt;module&gt;
    import html5_parser
  File &quot;/usr/lib64/python3/site-packages/html5_parser/__init__.py&quot;, line 31, in &lt;module&gt;
    raise RuntimeError(
    ...&lt;4 lines&gt;...
            LIBXML_VERSION, etree.LIBXML_VERSION))
RuntimeError: html5-parser and lxml are using different versions of libxml2. This happens commonly when using pip installed versions of lxml. Use pip install --no-binary lxml lxml instead. libxml2 versions: html5-parser: (2, 12, 10) != lxml: (2, 14, 6)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>282334</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-02-20 08:54:23 +0300</bug_when>
    <thetext>python3-module-html5-parser-0.4.12-alt1.1 -&gt; sisyphus:

Fri Feb 20 2026 Grigory Ustinov &lt;grenka@altlinux&gt; 0.4.12-alt1.1
- rebuilt with new libxml (Closes: #57806, #57730, #57877).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>