View Issue Details

IDProjectCategoryView StatusLast Update
0000211AlmaLinux-8asciidocpublic2022-04-06 13:48
Reporterwadeh Assigned To 
Status newResolutionopen 
Summary0000211: a2x conversion to PDF or PS broken
DescriptionThe a2x command (part of asciidoc) fails to create PDF or PS documents from text files due to a Python error.

Note that this worked fine on CentOS 6 and 7.

I suspect this is broken upstream but have not tested it yet on RHEL or CentOS 8 Stream.
Steps To Reproduce1. Create test document "test.txt"
2. Run "a2x -d article -f pdf test.txt"
3. It fails each time with and error (note, this should keep the test.xml temp file)
4. Manually run dblatex to see the details of the error:

dblatex -t pdf -p "/etc/asciidoc/dblatex/asciidoc-dblatex.xsl" -s "/etc/asciidoc/dblatex/asciidoc-dblatex.sty" "./test.xml"

Errors reported:
Build the book set list...
Build the listings...
XSLT stylesheets DocBook - LaTeX 2e (0.3.10)
Image 'dblatex' not found
Unexpected error occured
Error: %b requires a bytes-like object, or an object that implements __bytes__# , not 'str'
Additional InformationRPMS:

test.txt, a simple test document:

Test Document
Joe Blo <[email protected]>
1.0, 4/6/2022: created as a test document


This is a test document using asciidoc "The asciidoc(1) command
translates the AsciiDoc text file FILE to DocBook or HTML.
If FILE is - then the standard input is used."


1. This would be a list of notes.
2. And some more notes.

TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-04-06 13:48 wadeh New Issue