You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.. csv-table::
:delim: §
:class: longtable
:header: "Header1", "Header2", "Header3"
:widths: 46, 46, 8
Some text here (some precision - some other info) § § :style_ok:`Success`
Some text here (some precision - some other info) § § :style_ok:`Success`
Some text here (some precision - some other info) § § :style_ok:`Success`
Some text here (some precision - some other info) § § :style_ok:`Success`
Some text here (some precision - some other info) § § :style_ok:`Success`
What is the expected output? What do you see instead?
This was working with no error and producing a table as expected in the pdf with the following environment :
Python 3.6.8
rst2pdf 0.99
reportlab 3.6.8
OS: Red Hat Enterprise Linux release 8.6 (Ootpa)
With the environment described below, it no longer generates a table and raises the following error :
path/to/input.rst:1: (ERROR/3) Error with CSV data in "csv-table" directive:
'§' expected after '"'
.. csv-table::
:delim: §
:class: longtable
:header: "Header1", "Header2", "Header3"
:widths: 46, 46, 8
Some text here (some precision - some other info) § § :style_ok:`Success`
Some text here (some precision - some other info) § § :style_ok:`Success`
Some text here (some precision - some other info) § § :style_ok:`Success`
Some text here (some precision - some other info) § § :style_ok:`Success`
Some text here (some precision - some other info) § § :style_ok:`Success`
🖥 Versions
Python 3.11.10
rst2pdf 0.102
reportlab 4.2.5
Which operating system are you using?
OS: Alpine Linux v3.18
Additional information
After downgrading rst2pdf back to 0.99 while keeping all of the other versions in the final environment, it seems that the problem is still present, so we are going to investigate further possible causes.
It appears that the error is related to the separator used for the header values: if you replace it with the custom delimiter defined, then it starts printing the table correctly :
.. csv-table::
:delim: §
:class: longtable
:header: "Header1"§ "Header2"§ "Header3"
:widths: 46, 46, 8
Some text here (some precision - some other info) § § :style_ok:`Success`
Some text here (some precision - some other info) § § :style_ok:`Success`
Some text here (some precision - some other info) § § :style_ok:`Success`
Some text here (some precision - some other info) § § :style_ok:`Success`
Some text here (some precision - some other info) § § :style_ok:`Success`
Why is it the case and when did it change from accepting regular coma separators regardless of the custom delimiter?
The text was updated successfully, but these errors were encountered:
Thanks for the bug report, I hadn't seen this problem before and I guess we don't have a test for it either. Please keep us posted if you have any more information!
Description of problem
When attempting to produce a pdf using the following Python code :
with
input.rst
and
style.json
What is the expected output? What do you see instead?
This was working with no error and producing a table as expected in the pdf with the following environment :
With the environment described below, it no longer generates a table and raises the following error :
🖥 Versions
Which operating system are you using?
OS: Alpine Linux v3.18
Additional information
After downgrading rst2pdf back to 0.99 while keeping all of the other versions in the final environment, it seems that the problem is still present, so we are going to investigate further possible causes.
It appears that the error is related to the separator used for the header values: if you replace it with the custom delimiter defined, then it starts printing the table correctly :
Why is it the case and when did it change from accepting regular coma separators regardless of the custom delimiter?
The text was updated successfully, but these errors were encountered: