Bug 50101
| Summary: | asciidoc: pygmentize: command not found | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Yuri N. Sedunov <aris> |
| Component: | asciidoc | Assignee: | Artem Zolochevskiy <azol> |
| Status: | NEW --- | QA Contact: | qa-sisyphus |
| Severity: | normal | ||
| Priority: | P5 | CC: | azol, glebfm, kotopesutility, kozorizki, root, slev, vsu |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
| Bug Depends on: | |||
| Bug Blocks: | 46625 | ||
Проверка актуальности: актуально в asciidoc 10.2.1-alt2 — в resources/filters/source/source-highlight-filter.conf фильтр по-прежнему вызывает `pygmentize`, а в Сизифе такого файла нет ни в одном пакете: python3-module-Pygments 2.21.0 ставит только /usr/bin/pygmentize3 и /usr/bin/pygmentize.py3. Исправить можно либо в asciidoc (заменить в фильтре pygmentize на pygmentize3 и добавить Requires), либо в Pygments (символическая ссылка /usr/bin/pygmentize -> pygmentize3). |

Description
Yuri N. Sedunov 2024-04-20 09:37:23 MSK/bin/sh: line 1: pygmentize: command not found asciidoc: WARNING: book.txt: line 4740: filter non-zero exit code: pygmentize -f html -l c -O encoding=UTF-8: returned 127 asciidoc: WARNING: book.txt: line 4740: no output from filter: pygmentize -f html -l c -O encoding=UTF-8 /bin/sh: line 1: pygmentize: command not found _______________________________________________________________________________ $ grep pygmentize /usr/lib/python3/site-packages/asciidoc/resources/filters/source/source-highlight-filter.conf source-style=template="source-highlight-block",presubs=(),postsubs=("callouts",),posattrs=("style","language","src_numbered"),filter="pygmentize -f html -l {language} {src_numbered?-O linenos=table} {encoding?-O encoding={encoding}} {args=}" source-style=template="source-highlight-block",presubs=(),postsubs=("callouts",),posattrs=("style","language","src_numbered"),filter="pygmentize -f html -l {language} {src_numbered?-O linenos=table} {encoding?-O encoding={encoding}} {args=}" ------------------------------------------------------------------------------- Надо либо asciidoc поправить, либо pygmentize вернуть.