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

Crash while generating PDF report #47

Open
nitinbhat opened this issue May 6, 2024 · 0 comments
Open

Crash while generating PDF report #47

nitinbhat opened this issue May 6, 2024 · 0 comments

Comments

@nitinbhat
Copy link

I see a crash while generating a report.

docker container run --volume $PWD:/tmp/result -it chaostoolkit/reporting -- report --export-format=pdf terminate-pod.json report-2.pdf

Any workaround for this?

Traceback (most recent call last):
File "/usr/local/bin/chaos", line 8, in
sys.exit(cli())
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/chaosreport/cli.py", line 37, in report
save_report(header, reports, report_path, export_format)
File "/usr/local/lib/python3.10/dist-packages/chaosreport/init.py", line 326, in save_report
pypandoc.convert_file(
File "/usr/local/lib/python3.10/dist-packages/pypandoc/init.py", line 168, in convert_file
return _convert_input(discovered_source_files, format, 'path', to, extra_args=extra_args,
File "/usr/local/lib/python3.10/dist-packages/pypandoc/init.py", line 426, in _convert_input
raise RuntimeError(
RuntimeError: Pandoc died with exitcode "43" during conversion: Error producing PDF.
! Undefined control sequence.
l.196 /supervisord.pid\n

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

1 participant