1modm / petereport

PeTeReport is an open-source application vulnerability reporting tool.

Home Page:https://1modm.github.io/petereport/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDF export format giving 500 error

pswalia2u opened this issue · comments

@1modm Even I am getting this same error on latest 1.3.3. Even when I export html report for the findings imported from DefectDojo. The image in the finding does not loads up.
image

commented

@pswalia2u Could you enable the debug mode and attach the output?

in petereport_config.py:
'debug': True,

@surajanuja Could you check the source of the image? what data was exported? is an URL or the image in base64 format?

Thanks

Hi @1modm , I have enabled debug mode. Where will i get the debug output? I am using docker . Thanks

Got it. Here is the output
debug_petereport.pdf
Untitled

Hi, Is anyone able to find a fix for this?

commented

@pswalia2u it seems that happens when the size of the table is bigger than the width of the column. The next couple of lines appear in the latex output once the above condition is triggered. The application used to generate the PDF has still an opened issue about that: jgm/pandoc#1023

If you have a table in markdown try to reduce the columns, if not, could be an unicode issue.