IzakMarais / reporter

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

LaTeX error #289

Closed guchao0318 closed 3 years ago

guchao0318 commented 3 years ago

Hello: I am using the docker version. When I have tried to execute the report, the service response the following error:

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)) geometry driver: auto-detecting geometry detected driver: pdftex

! Package inputenc Error: Unicode character 集 (U+96C6) (inputenc) not set up for use with LaTeX.

See the inputenc package documentation for explanation. Type H for immediate help. ...

l.11 \maketitle

! ==> Fatal error occurred, no output PDF file produced! Transcript written on report.log.

guchao0318 commented 3 years ago

Installing Chinese fonts on the operating system can solve the Chinese problem in the panel, but when the name and description of the Dashboard are in Chinese, an error will be reported.