quarto-dev / quarto-dev/quarto-cli
Rendering: ERROR: The directory name is invalid
@cderv is already working on this.
Since Apr 21, 2023.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Bug description
Hi,
I have a multi page quarto website, with a index.qmd and multiple linked chapters in a chapters folder.
When I try and render the index.qmd it sometimes works and sometimes doesn't with the error:
ERROR: The directory name is invalid. (os error 267), readdir 'C:<address>\index_files\desktop.ini' for path "C:<address>\index_files\desktop.ini"
It was the case that the folder index_files persisted from a previous attempt to render the site, and deleting it would let the site render, but that's not working now
- Windows 10 Home
- RStudio 2022.12.0 Build 353
I have google drive running and thought it might be that locking the index_files folder to stop it deleting. I've tried to find this issue raised elsewhere, but haven;t had any luck. Annoyingly it;s very hard to reproduce, but does occur on the same project being run on both my laptop and desktop
Checklist
- Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- Please format your issue so it is easier for us to read the bug report.
- Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- Please document the operating system you're running. If on Linux, please provide the specific distribution.
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.