quarto-dev / quarto-dev/quarto-cli
Quarto Document Unable to Render
Open
@cderv is already working on this.
Since Dec 3, 2025.
bug
file-systems
needs-repro
stale
windows
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Bug description
Whenever I try to render a Quarto document in RStudio, I get this error:
WARNING: Error removing file C:\Users\JROBID~1\AppData\Local\Temp\quarto-session9d0cd145\a7577b94: Access is denied. (os error 5), remove 'C:\Users\JROBID~1\AppData\Local\Temp\quarto-session9d0cd145\a7577b94'
WARNING: Error removing file C:\Users\JROBID~1\AppData\Local\Temp\quarto-session9d0cd145\d40f64a5: Access is denied. (os error 5), remove 'C:\Users\JROBID~1\AppData\Local\Temp\quarto-session9d0cd145\d40f64a5'
ERROR: The file cannot be opened because it is in the process of being deleted. (os error 303), remove 'troubleshooting_files\mediabag'
Error: The file cannot be opened because it is in the process of being deleted. (os error 303), remove 'troubleshooting_files\mediabag'
at Object.removeSync (deno:runtime/js/30_fs.js:157:9)
at removeIfEmptyDir (file:///C:/Users/JROBID~1/AppData/Local/Programs/Quarto/bin/quarto.js:5701:18)
at renderCleanup (file:///C:/Users/JROBID~1/AppData/Local/Programs/Quarto/bin/quarto.js:80577:5)
at file:///C:/Users/JROBID~1/AppData/Local/Programs/Quarto/bin/quarto.js:81111:46
at withTiming (file:///C:/Users/JROBID~1/AppData/Local/Programs/Quarto/bin/quarto.js:19624:25)
at Object.complete (file:///C:/Users/JROBID~1/AppData/Local/Programs/Quarto/bin/quarto.js:81111:13)
at async Object.onPostProcess (file:///C:/Users/JROBID~1/AppData/Local/Programs/Quarto/bin/quarto.js:86678:36)
at async renderFiles (file:///C:/Users/JROBID~1/AppData/Local/Programs/Quarto/bin/quarto.js:86649:13)
at async render (file:///C:/Users/JROBID~1/AppData/Local/Programs/Quarto/bin/quarto.js:90681:21)
at async renderForPreview (file:///C:/Users/JROBID~1/AppData/Local/Programs/Quarto/bin/quarto.js:102415:26)
Error occurred during cleanup: PermissionDenied: Access is denied. (os error 5), remove 'C:\Users\JROBID~1\AppData\Local\Temp\quarto-session9d0cd145'
Steps to reproduce
No response
Expected behavior
No response
Actual behavior
No response
Your environment
No response
Quarto check output
No response
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.