-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid cross-device link when output-dir is not on same device as the source file #6466
Comments
I cannot reproduce using the development version of Quarto. Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? Thanks. 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.
```` |
The following reproduces the problem for me ANALYSIS_DIR=/home/sturmgre/quarto-test
DATA=/data/test
cd $ANALYSIS_DIR
echo "Hello World" > test.qmd
touch _quarto.yml
# Creating a hard link should fail - this is to test that the two devices are really independent
ln test.qmd $DATA/test.qmd
quarto render test.qmd --to html --standalone --embed-resources --output-dir $DATA
Tested with both |
Executing your reproducible example leads to exactly the same error for me. My point was that What happens if you try creating a hard link to your
Depending on you system, |
Your home is not on the same volume as You seem to imply, if you use an output directory within the same volume, it works, but is it? Because, as I said, See already opened issues regarding network drives/volumes: |
No, on the server I'm working on
Exactly, if I use
it works flawlessly. Sorry if this hasn't been clear before. EDIT: I don't think the the drives being "network" drives is a problem as on linux they are a path as any other. The error would also occur with two different local drives. |
Still without the means to reproduce, it's very unlikely the issue can be solved. Anyway, this has already been discussed/reported in the issues I linked above and in particular: So feel free to add complementary information on the other issue as I am closing this one as a duplicate. |
I have the source code of the quarto project checked out in my home directory. I want the rendered report to be stored on a shared group drive that is on a different network mount than my home directory. Therefore I render the document with
This results in the following error
The text was updated successfully, but these errors were encountered: