Bug 50101 - asciidoc: pygmentize: command not found
Summary: asciidoc: pygmentize: command not found
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: asciidoc (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: Artem Zolochevskiy
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 46625
  Show dependency tree
 
Reported: 2024-04-20 09:37 MSK by Yuri N. Sedunov
Modified: 2024-04-20 09:40 MSK (History)
21 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 вернуть.