Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF export format giving 500 error #65

Closed
pswalia2u opened this issue Jan 20, 2023 · 6 comments
Closed

PDF export format giving 500 error #65

pswalia2u opened this issue Jan 20, 2023 · 6 comments

Comments

@pswalia2u
Copy link

image

@tech-surajrk
Copy link

@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

@1modm
Copy link
Owner

1modm commented Jan 21, 2023

@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

@pswalia2u
Copy link
Author

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

@pswalia2u
Copy link
Author

Got it. Here is the output
debug_petereport.pdf
Untitled

@pswalia2u
Copy link
Author

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

@1modm
Copy link
Owner

1modm commented Jan 30, 2023

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

@1modm 1modm closed this as not planned Won't fix, can't repro, duplicate, stale Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants