YtoTech / latex-on-http

Compiles Latex documents through an HTTP API
https://latex.ytotech.com
GNU Affero General Public License v3.0
35 stars 7 forks source link

Cannot compile with XeLaTeX #43

Open hbghlyj opened 5 months ago

hbghlyj commented 5 months ago

For the example in README.md:

https://latex.ytotech.com/builds/sync?compiler=xelatex&url=https://raw.githubusercontent.com/YtoTech/latex-on-http/master/examples/gitlab_ci/Dossier_Eleve.tex

The .fls file is not readable by the compiler:

{
  "error": "COMPILATION_ERROR",
  "logs": "b\"failed to open file recorder output: [Errno 2] No such file or directory: '/app/latex-on-http/tmp/loh_workspaces/719bb926-8b62-4c7f-ad94-415c306287bc/xelatex.fls'\\n\"\nb'There were errors; /app/latex-on-http/tmp/loh_workspaces/719bb926-8b62-4c7f-ad94-415c306287bc/output.pdf not updated\\n'\n"
}
hbghlyj commented 5 months ago

The error failed to open file recorder output is raised at line 1019 https://github.com/YtoTech/latex-on-http/blob/1263144a27845fd138fab17f846c69c204fb18f2/latexonhttp/latexrun.py#L1019