View Issue Details

IDProjectCategoryView StatusLast Update
0000211AlmaLinux-8asciidocpublic2022-04-06 13:48
Reporterwadeh Assigned To 
PrioritynormalSeverityminorReproducibilityalways
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:
    asciidoc-8.6.10-0.5.20180627gitf7c2274.el8.noarch
    dblatex-0.3.10-8.el8.noarch

test.txt, a simple test document:

Test Document
=============
Joe Blo <joeblo@example.com>
1.0, 4/6/2022: created as a test document

Synopsis:
---------

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."

Notes:
------

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

TagsNo tags attached.
abrt_hash
URL

Activities

There are no notes attached to this issue.

Issue History

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