quarto-dev / quarto-dev/quarto-cli
"No TeX installation was detected." On linux (ubuntu) server.
@cderv is already working on this.
Since Feb 5, 2024.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Bug description
When I "Render" to pdf a qmd file as a user in a linux RStudio server, this error shows up.
Rendering PDF
running xelatex - 1
No TeX installation was detected.
This are the outputs of some checks (on terminal)
krcabrer@labscn-server:~$ quarto check
Quarto 1.4.549
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.11: OK
Dart Sass version 1.69.5: OK
Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.4.549
Path: /opt/quarto/bin
[✓] Checking tools....................OK
TinyTeX: (external install)
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: Installation From Path
Path: /usr/local/texlive/2023/bin/x86_64-linux
Version: 2023
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.10.12
Path: /usr/bin/python3
Jupyter: (None)
Jupyter is not available in this Python installation.
Install with python3 -m pip install jupyter
[✓] Checking R installation...........OK
Version: 4.3.2
Path: /usr/lib/R
LibPaths:
- /home/krcabrer/R/x86_64-pc-linux-gnu-library/4.3
- /usr/local/lib/R/site-library
- /usr/lib/R/site-library
- /usr/lib/R/library
knitr: 1.45
rmarkdown: 2.25
[✓] Checking Knitr engine render......OK
krcabrer@labscn-server:~$ quarto tools info tinytex
{
"name": "TinyTeX",
"installed": true,
"directory": "/home/krcabrer/.TinyTeX",
"bin-directory": "/home/krcabrer/.TinyTeX/bin/universal-linux",
"configuration": {
"status": "ok"
}
}
krcabrer@labscn-server:~$ which tlmgr
/usr/local/texlive/2023/bin/x86_64-linux/tlmgr
krcabrer@labscn-server:~$ echo $PATH
/tmp/Rtmpo6jFj7/rstudio/terminal:/tmp/RtmpGkMwCO/rstudio/terminal:/tmp/RtmpUpRwGX/rstudio/terminal:/tmp/RtmpJMtsh4/rstudio/terminal:/tmp/RtmpWWLzik/rstudio/terminal:/tmp/RtmpEwm0BL/rstudio/terminal:/tmp/RtmpZpv2pd/rstudio/terminal:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/opt/quarto/bin:/usr/lib/rstudio-server/bin/postback:/usr/bin:/usr/bin:/usr/bin:/usr/bin:/usr/bin:/usr/bin:/usr/local/texlive/2023/bin/x86_64-linux:/usr/bin:/usr/local/texlive/2023/bin/x86_64-linux:/usr/bin:/usr/local/texlive/2023/bin/x86_64-linux
Steps to reproduce
No response
Expected behavior
I expect the PDF file. (It works if I install tinytex local as a user, but I like to the server to have the complete latex and the user to use it.)
Actual behavior
Do not generate de pdf file.
Your environment
- RStudio Server 2023.12.1 Build 402
- Linux labscn-server 5.15.0-92-generic #102-Ubuntu SMP Wed Jan 10 09:33:48 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Quarto check output
krcabrer@labscn-server:~$ quarto check
Quarto 1.4.549
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.11: OK
Dart Sass version 1.69.5: OK
Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.4.549
Path: /opt/quarto/bin
[✓] Checking tools....................OK
TinyTeX: (external install)
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: Installation From Path
Path: /usr/local/texlive/2023/bin/x86_64-linux
Version: 2023
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.10.12
Path: /usr/bin/python3
Jupyter: (None)
Jupyter is not available in this Python installation.
Install with python3 -m pip install jupyter
[✓] Checking R installation...........OK
Version: 4.3.2
Path: /usr/lib/R
LibPaths:
- /home/krcabrer/R/x86_64-pc-linux-gnu-library/4.3
- /usr/local/lib/R/site-library
- /usr/lib/R/site-library
- /usr/lib/R/library
knitr: 1.45
rmarkdown: 2.25
[✓] Checking Knitr engine render......OK
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.