Bug 50101

Summary: asciidoc: pygmentize: command not found
Product: Sisyphus Reporter: Yuri N. Sedunov <aris>
Component: asciidocAssignee: Artem Zolochevskiy <azol>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: antohami, azol, cas, cow, evg, george, grenka, imz, kotopesutility, lav, nbr, qa_viy, rider, sem, shaba, sin, slev, toni, vitty, viy, vsu
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on:    
Bug Blocks: 46625    

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 вернуть.