love01211 / grafana-reporter Goto Github PK
View Code? Open in Web Editor NEW中文汉化,替换latex打印pdf,title支持中文
License: Apache License 2.0
中文汉化,替换latex打印pdf,title支持中文
License: Apache License 2.0
给作者大大点赞,gopkg.lock 这种模式让我搞了老半天,建议加一个二进制文件,就能够直接让我这种小白使用了。
error calling LaTeX preprocessing: "exit status 1". Latex preprocessing failed with output: This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./report.tex
LaTeX2e <2015/01/01>
Babel <3.9l> and hyphenation patterns for 79 languages loaded.
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/local/texlive/2015/texmf-dist/tex/xelatex/xetex-def/xetex.def)))
(/usr/local/texlive/2015/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2015/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/usr/local/texlive/2015/texmf-dist/tex/xelatex/xecjk/xeCJK.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3-code.tex)
(/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/l3unicode-data.def)
(/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def))
(/usr/local/texlive/2015/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.st
y) (/usr/local/texlive/2015/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec-patches.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/euenc/eu1enc.def)
(/usr/local/texlive/2015/texmf-dist/tex/latex/euenc/eu1lmr.fd))
(/usr/local/texlive/2015/texmf-dist/tex/xelatex/xunicode/xunicode.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/tipa/t3enc.def
(/usr/local/texlive/2015/texmf-dist/tex/latex/euenc/eu1lmss.fd)))
(/usr/local/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/usr/local/texlive/2015/texmf-dist/tex/latex/tools/indentfirst.sty)
(/usr/local/texlive/2015/texmf-dist/tex/xelatex/xecjk/xeCJK.cfg
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...
l.11 \GetIdInfo$
Id: xeCJK.dtx 7321d12 2015-05-15 23:07:58 +0800 Qing Lee <so...
No pages of output.
Transcript written on report.log.
点击导出pdf后 出现报错如下:
error calling LaTeX preprocessing: "exec: \"pdflatex\": executable file not found in $PATH". Latex preprocessing failed with output:
想问下这个要怎么解决?
[root@zabbix_srv src]# ../bin/go install -v grafana-reporter/cmd/grafana-reporter
grafana-reporter/cmd/grafana-reporter/cmd.go:6:2: cannot find package "." in:
/root/go/src/github.com/gorilla/mux
grafana-reporter/report/report.go:30:2: cannot find package "." in:
/root/go/src/github.com/pborman/uuid
docker build 不通过,报错信息如下:
cmd/grafana-reporter/handler.go:31:2: cannot find package "grafana-reporter/grafana" in any of:
/go/src/github.com/IzakMarais/reporter/vendor/grafana-reporter/grafana (vendor tree)
/usr/local/go/src/grafana-reporter/grafana (from $GOROOT)
/go/src/grafana-reporter/grafana (from $GOPATH)
cmd/grafana-reporter/handler.go:32:2: cannot find package "grafana-reporter/report" in any of:
/go/src/github.com/IzakMarais/reporter/vendor/grafana-reporter/report (vendor tree)
/usr/local/go/src/grafana-reporter/report (from $GOROOT)
/go/src/grafana-reporter/report (from $GOPATH)
make: *** [build] Error 1
error calling LaTeX preprocessing: "exit status 1". Latex preprocessing failed with output: This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013)
restricted \write18 enabled.
entering extended mode
(./report.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/share/texlive/texmf-dist/tex/xelatex/xetex-def/xetex.def)))
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
No file report.aux.
geometry driver: auto-detecting
geometry detected driver: xetex
LaTeX Warning: No \author given.
! Unable to load picture or PDF file 'images/image10.png'.
}
l.14 \includegraphics[width=\textwidth]{image10}
No pages of output.
Transcript written on report.log.
我遇到了这一个问题,用原作者的grafana-reporter也有这个问题,想请教下如何解决
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.