/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 вернуть.
Проверка актуальности: актуально в 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).