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 Report is not generating #37

Open
saiyantanghosh opened this issue Jun 27, 2022 · 0 comments
Open

PDF Report is not generating #37

saiyantanghosh opened this issue Jun 27, 2022 · 0 comments

Comments

@saiyantanghosh
Copy link

I am trying to use below command on aws ec2 -x86_64 linux platform to generate pdf report but getting below error -

chaos report --export-format=pdf journal.json report.pdf

/home/ec2-user/.venvs/chaostk/lib64/python3.7/site-packages/dateparser/date_parser.py:35: PytzUsageWarning: The localize method is no longer necessary, as this time zone supports the fold attribute (PEP 495). For more details on migrating to a PEP 495-compliant implementation, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html
date_obj = stz.localize(date_obj)
Traceback (most recent call last):
File "/home/ec2-user/.venvs/chaostk/bin/chaos", line 8, in
sys.exit(cli())
File "/home/ec2-user/.venvs/chaostk/lib64/python3.7/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/home/ec2-user/.venvs/chaostk/lib64/python3.7/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/ec2-user/.venvs/chaostk/lib64/python3.7/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ec2-user/.venvs/chaostk/lib64/python3.7/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ec2-user/.venvs/chaostk/lib64/python3.7/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/ec2-user/.venvs/chaostk/lib64/python3.7/site-packages/chaosreport/cli.py", line 32, in report
save_report(header, reports, report_path, export_format)
File "/home/ec2-user/.venvs/chaostk/lib64/python3.7/site-packages/chaosreport/init.py", line 275, in save_report
extra_args=extra_args)
File "/home/ec2-user/.venvs/chaostk/lib64/python3.7/site-packages/pypandoc/init.py", line 153, in convert_file
cworkdir=cworkdir)
File "/home/ec2-user/.venvs/chaostk/lib64/python3.7/site-packages/pypandoc/init.py", line 405, in _convert_input
'Pandoc died with exitcode "%s" during conversion: %s' % (p.returncode, stderr)
RuntimeError: Pandoc died with exitcode "43" during conversion: Error producing PDF.
! LaTeX Error: File `iftex.sty' not found.

Type X to quit or to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.
<read *>

l.10 \ifPDFTeX

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