Bug 57730 - не запускается ebook-viewer из пакета Calibre
Summary: не запускается ebook-viewer из пакета Calibre
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: calibre (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-31 15:24 MSK by Askar
Modified: 2026-02-20 08:54 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Askar 2026-01-31 15:24:02 MSK
При запуске ebook-viewer из пакета Calibre возникает ошибка.

[user@i5-3210m-3f1303 ~]$ ebook-viewer 
Traceback (most recent call last):
  File "/usr/bin/ebook-viewer", line 21, in <module>
    sys.exit(ebook_viewer())
             ~~~~~~~~~~~~^^
  File "/usr/lib64/calibre/calibre/gui_launch.py", line 105, in wrapper
    return func(*a, **kw)
  File "/usr/lib64/calibre/calibre/gui_launch.py", line 120, in ebook_viewer
    from calibre.gui2.viewer.main import main
  File "/usr/lib64/calibre/calibre/gui2/viewer/main.py", line 16, in <module>
    from calibre.gui2.viewer.ui import EbookViewer, is_float
  File "/usr/lib64/calibre/calibre/gui2/viewer/ui.py", line 42, in <module>
    from calibre.gui2.viewer.annotations import AnnotationsSaveWorker, annotations_dir, parse_annotations
  File "/usr/lib64/calibre/calibre/gui2/viewer/annotations.py", line 11, in <module>
    from calibre.gui2.viewer.convert_book import update_book
  File "/usr/lib64/calibre/calibre/gui2/viewer/convert_book.py", line 16, in <module>
    from calibre.srv.render_book import RENDER_VERSION
  File "/usr/lib64/calibre/calibre/srv/render_book.py", line 21, in <module>
    from calibre.ebooks.oeb.polish.container import Container as ContainerBase
  File "/usr/lib64/calibre/calibre/ebooks/oeb/polish/container.py", line 49, in <module>
    from calibre.ebooks.oeb.polish.parsing import decode_xml
  File "/usr/lib64/calibre/calibre/ebooks/oeb/polish/parsing.py", line 10, in <module>
    import html5_parser
  File "/usr/lib64/python3/site-packages/html5_parser/__init__.py", line 31, in <module>
    raise RuntimeError(
    ...<4 lines>...
            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)
Comment 1 Repository Robot 2026-02-20 08:54:23 MSK
python3-module-html5-parser-0.4.12-alt1.1 -> sisyphus:

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