Closed Thanh-8213 closed 11 months ago
I attempted to reproduce this locally and could not. It would be helpful if you could try to narrow the issue - since it works on many machines and fails on one, it is likely there is something about the configuration about that machine which is causing the failure. Given the error message, I wonder whether some policy regarding .bat
files is related (the SASS compilation on windows is initiated by a .bat
file).
I can't repro either on macOS using both stable or development version.
@Thanh-8213 Could you read and test the commands from the following issue to try out the hypothesis from @dragonstyle ?
It seems exactly this issue. About the commands to run, more precisely you can follow the debug step I gave in this thread last time we encountered this issue:
Thanks!
Thank you for using Quarto and reporting an issue!
Unfortunately, this issue is now considered stale because it has been opened since 14 days without providing a "working" reproducible example to help us investigate. If you are still facing the issue, please review the "Bug Reports" guide on how to provide a fully reproducible example as a self-contained Quarto document or a link to a Git repository. Without a reproducible example, it is unlikely that the issue will be addressed.
You can share a Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````
).
````qmd
---
title: "Reproducible Quarto Document"
format: html
---
This is a reproducible Quarto document using `format: html`.
It is written in Markdown and contains embedded R code.
When you run the code, it will produce a plot.
```{r}
plot(cars)
The end.
Bug description
Quarto render error for one template on my machine (Other machines work)
Steps to reproduce
The template came from: https://github.com/numbats/monash-quarto-thesis
I ran quarto render in the terminal.
Expected behavior
I expected to see the file in the pre-defined format.
Actual behavior
Error returned: Error: Theme file compilation failed:
Your environment
─ Session info ───────────────────────────────────────────────────────────────────────────────────────────────────────────── setting value version R version 4.3.1 (2023-06-16 ucrt) os Windows 11 x64 (build 22621) system x86_64, mingw32 ui RStudio language (EN) collate English_Australia.utf8 ctype English_Australia.utf8 tz Australia/Sydney date 2023-09-27 rstudio 2023.06.2+561 Mountain Hydrangea (desktop) pandoc NA
Quarto check output
$ quarto check
[>] Checking versions of quarto binary dependencies... Pandoc version 3.1.1: OK Dart Sass version 1.55.0: OK [>] Checking versions of quarto dependencies......OK [>] Checking Quarto installation......OK Version: 1.3.450 Path: C:\Program Files\Quarto\bin CodePage: 1252
[>] Checking basic markdown render....OK
[>] Checking Python 3 installation....OK Version: 3.10.6 Path: C:/Users/thanh/AppData/Local/Programs/Python/Python310/python.exe Jupyter: (None)
[>] Checking R installation...........OK Version: 4.3.1 Path: C:/PROGRA~1/R/R-43~1.1 LibPaths:
[>] Checking Knitr engine render......OK