quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.8k stars 310 forks source link

Quarto-Project under unc-path #758

Open Rathpete opened 2 years ago

Rathpete commented 2 years ago

Quarto-Project dosen´t work on an unc-path

cderv commented 2 years ago

Can you share more details about your environment, and also about the error message.

Quarto is build using different tech stack, and this kind of UNC issue could come from some of them and not just within quarto code. For example, Pandoc had some issues in the past about UNC path and even if they improve, there could still be some problem.

We need more information to know which part it comes from. Can you share a reproducible example for you ? Or at least some more information ?

Thanks!

Rathpete commented 2 years ago

if i render the example qmd from an unc-path under Rstudio i get this information (pdf-fomat): PDF.js Version 2.8.335 (build: 228adbf67) Nachricht: Missing PDF "http://localhost:4910/web/abc.pdf". Under html the message is: Internal server error On a local path everything works fine...

cderv commented 2 years ago

Oh this is really different that what I though. This information is definitely valuable.

Can you confirm that abc.pdf is correctly created and you can open it in a PDF viewer ?

I believe this could be related to RStudio IDE. You could also try in VSCODE with the quarto extension to compare.

Rathpete commented 2 years ago

Yes abc.pdf is corrctly created an i can open the file with an PDF viewer! I use RStudio 2022.02.2 If I try to creat a new quarto-Project under RStudio the creation of the example .qmd fails for an project-subdirectory with an unc-path.

grafik

cderv commented 2 years ago

So this is definitely related to the RStudio IDE.

There is an issue open already about UNC path on windows and the IDE with quarto : https://github.com/rstudio/rstudio/issues/10968

Yours seems to be about the PDF viewer not being able to open the created file. @jjallaire does you know if this can be improved or it is a limit of the IDE for Quarto PDF support ?