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

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

    <bug>
          <bug_id>57877</bug_id>
          
          <creation_ts>2026-02-16 14:37:34 +0300</creation_ts>
          <short_desc>calibre совсем не работает</short_desc>
          <delta_ts>2026-02-21 21:10:54 +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>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Askar">ascar</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>dimnix</cc>
    
    <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>282035</commentid>
    <comment_count>0</comment_count>
    <who name="Askar">ascar</who>
    <bug_when>2026-02-16 14:37:34 +0300</bug_when>
    <thetext>Необходимо обновить текущий пакет caibre 8.4.0 т.к. данный пакет совсем не работает в sisyphus из-за новых зависимостей.

Самая последняя версия caibre 9.2.1
https://github.com/kovidgoyal/calibre


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>282229</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry Likhachev">dimnix</who>
    <bug_when>2026-02-18 20:56:33 +0300</bug_when>
    <thetext>Подтверждаю, у меня та же ошибка.

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)

Версия calibre 8.4.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>282333</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-02-20 08:54:22 +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><long_desc isprivate="0" >
    <commentid>282405</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry Likhachev">dimnix</who>
    <bug_when>2026-02-20 19:10:16 +0300</bug_when>
    <thetext>Ошибка осталась. Полностью удалял Calibre с зависимостями и устанавливал заново со всеми модулями python. Ошибка та же. 

 calibre
Traceback (most recent call last):
  File &quot;/usr/bin/calibre&quot;, line 21, in &lt;module&gt;
    sys.exit(calibre())
             ~~~~~~~^^
  File &quot;/usr/lib64/calibre/calibre/gui_launch.py&quot;, line 74, in calibre
    main(args)
    ~~~~^^^^^^
  File &quot;/usr/lib64/calibre/calibre/gui2/main.py&quot;, line 548, in main
    run_main(app, opts, args, gui_debug, si, retry_communicate=True)
    ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib64/calibre/calibre/gui2/main.py&quot;, line 560, in run_main
    return run_gui(opts, args, app, gui_debug=gui_debug)
  File &quot;/usr/lib64/calibre/calibre/gui2/main.py&quot;, line 398, in run_gui
    run_gui_(opts, args, app, gui_debug)
    ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib64/calibre/calibre/gui2/main.py&quot;, line 408, in run_gui_
    from calibre.gui2.ui import Main
  File &quot;/usr/lib64/calibre/calibre/gui2/ui.py&quot;, line 51, in &lt;module&gt;
    from calibre.gui2.init import LayoutMixin, LibraryViewMixin
  File &quot;/usr/lib64/calibre/calibre/gui2/init.py&quot;, line 37, in &lt;module&gt;
    from calibre.gui2.library.alternate_views import GridView
  File &quot;/usr/lib64/calibre/calibre/gui2/library/alternate_views.py&quot;, line 67, in &lt;module&gt;
    from calibre.gui2.pin_columns import PinContainer
  File &quot;/usr/lib64/calibre/calibre/gui2/pin_columns.py&quot;, line 9, in &lt;module&gt;
    from calibre.gui2.library.delegates import (
    ...&lt;17 lines&gt;...
    )
  File &quot;/usr/lib64/calibre/calibre/gui2/library/delegates.py&quot;, line 46, in &lt;module&gt;
    from calibre.gui2.dialogs.comments_dialog import CommentsDialog, PlainTextDialog
  File &quot;/usr/lib64/calibre/calibre/gui2/dialogs/comments_dialog.py&quot;, line 11, in &lt;module&gt;
    from calibre.gui2.comments_editor import Editor
  File &quot;/usr/lib64/calibre/calibre/gui2/comments_editor.py&quot;, line 14, in &lt;module&gt;
    from html5_parser import parse
  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>282406</commentid>
    <comment_count>4</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2026-02-20 19:27:49 +0300</bug_when>
    <thetext>Назовите вашу версию пакета python3-module-html5-parser.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>282408</commentid>
    <comment_count>5</comment_count>
    <who name="Dmitry Likhachev">dimnix</who>
    <bug_when>2026-02-20 21:56:44 +0300</bug_when>
    <thetext>(Ответ для Grigory Ustinov на комментарий #4)
&gt; Назовите вашу версию пакета python3-module-html5-parser.

❯ rpm -qa | grep -e &quot;calibre\|python-lxml\|html5&quot;
python3-module-html5-parser-0.4.12-alt1.x86_64
python3-module-html5lib-1.1-alt1.noarch
calibre-8.4.0-alt1.x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>282409</commentid>
    <comment_count>6</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2026-02-20 22:27:33 +0300</bug_when>
    <thetext>Ещё вопросы есть?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>282423</commentid>
    <comment_count>7</comment_count>
    <who name="Dmitry Likhachev">dimnix</who>
    <bug_when>2026-02-21 12:25:42 +0300</bug_when>
    <thetext>(Ответ для Grigory Ustinov на комментарий #6)
&gt; Ещё вопросы есть?

Есть. Может быть назвоёте причину. Просто получается как, программа работала, а после очерендного обновления в сизифе - всё, при запуске эта ошибка. Заходим на https://packages.altlinux.org/ru/search/?branch=sisyphus&amp;q=python3-module-html5, видим:

python3-module-html5lib	  1.1-alt1 11 июля 2021 г. 21:08	Разработка/Python 3	https://github.com/html5…	Library for working with HTML5 documents
python3-module-html5tagger 1.3.0-alt2	16 октября 2025 г. 14:49	Разработка/Python 3	https://github.com/sanic…	Create HTML documents from Python
python3-module-html5-parser 0.4.12-alt1.1 20 февраля 2026 г. 8:46	Разработка/Python 3	https://github.com/kovid…	Fast C based HTML 5 parsing for python.

Т.е. в репозитории версия 0.4.12. Какой я вывод должен был сделать?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>282427</commentid>
    <comment_count>8</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2026-02-21 13:58:20 +0300</bug_when>
    <thetext>Как вы видите из текста ошибки, проблема не в calibre а в модуле html5-parser. У нас недавно было обновление libxml которое поломало некоторые пакеты. Я пересобрал пакет python3-module-html5-parser с новой версией библиотеки.

Вы пользуетесь не самыми свежими зеркалами. Попробуйте обновиться сегодня. У вас должна приехать версия пакета 0.4.12-alt1.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>282444</commentid>
    <comment_count>9</comment_count>
    <who name="Dmitry Likhachev">dimnix</who>
    <bug_when>2026-02-21 21:10:54 +0300</bug_when>
    <thetext>(Ответ для Grigory Ustinov на комментарий #8)
&gt; Как вы видите из текста ошибки, проблема не в calibre а в модуле
&gt; html5-parser. У нас недавно было обновление libxml которое поломало
&gt; некоторые пакеты. Я пересобрал пакет python3-module-html5-parser с новой
&gt; версией библиотеки.
&gt; 
&gt; Вы пользуетесь не самыми свежими зеркалами. Попробуйте обновиться сегодня. У
&gt; вас должна приехать версия пакета 0.4.12-alt1.1

Да, сегодня обновилось и заработало. Спасибо.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>