IzakMarais / reporter

Service that generates a PDF report from a Grafana dashboard
Apache License 2.0
946 stars 304 forks source link

pdfTeX error #349

Closed palagonKevo closed 1 year ago

palagonKevo commented 1 year ago

I'm having issues on creating the report as the pdfText is failing while loading the images: OS Info:

NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"

This is what I get from the console output:

2023/05/02 09:08:01 Error generating report: error calling LaTeX preprocessing: "exit status 1". Latex preprocessing failed with output: This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./report.tex
LaTeX2e <2018-12-01>
(/opt/TinyTeX/texmf-dist/tex/latex/base/article.cls
Document Class: article 2018/09/03 v1.4i Standard LaTeX document class
(/opt/TinyTeX/texmf-dist/tex/latex/base/size10.clo))
(/opt/TinyTeX/texmf-dist/tex/latex/graphics/graphicx.sty
(/opt/TinyTeX/texmf-dist/tex/latex/graphics/keyval.sty)
(/opt/TinyTeX/texmf-dist/tex/latex/graphics/graphics.sty
(/opt/TinyTeX/texmf-dist/tex/latex/graphics/trig.sty)
(/opt/TinyTeX/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/opt/TinyTeX/texmf-dist/tex/latex/graphics-def/pdftex.def)))
(/opt/TinyTeX/texmf-dist/tex/latex/geometry/geometry.sty
(/opt/TinyTeX/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/opt/TinyTeX/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/opt/TinyTeX/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
No file report.aux.
(/opt/TinyTeX/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/opt/TinyTeX/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/opt/TinyTeX/texmf-dist/tex/latex/oberdiek/grfext.sty
(/opt/TinyTeX/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
(/opt/TinyTeX/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)))
(/opt/TinyTeX/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/opt/TinyTeX/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/opt/TinyTeX/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/opt/TinyTeX/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(/opt/TinyTeX/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty)
(/opt/TinyTeX/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))libpng error: Not a PNG file

*geometry* driver: auto-detecting
*geometry* detected driver: pdftex

LaTeX Warning: No \author given.

!pdfTeX error: pdflatex (file ./images/image10.png): libpng: internal error
 ==> Fatal error occurred, no output PDF file produced!

I've seen that some people are having this issue, any clue of how to solve it?

IzakMarais commented 1 year ago

Unfortunately I can't help you debug latex problems. No other recent community feedback, so closing this.