Open tvatter opened 8 months ago
I think this is a report for quarto-dev/quarto (since that's where the vscode extension is)
This may be a dup of or related to https://github.com/quarto-dev/quarto/issues/352.
Hi, I have exactly the same issue and the modification of the quarto path is not helping.
However:
The command line works perfectly
Hi any comments on this? @memeplex @cscheid @cderv
@cscheid any idea what might be going on and how to solve it ?
Hello,
Im still having the same problem.
Is there a fix planned to this?
BR E
Hi,
I'm facing the same problem where the Quarto VSCode extension isn't recognizing my Quarto CLI installation, even after adjusting the Quarto path.
Is there any update on this please?
Hi,
I'm facing the same problem where the Quarto VSCode extension isn't recognizing my Quarto CLI installation, even after adjusting the Quarto path.
Is there any update on this please?
Same here with quarto extension v1.111.0 and quarto 1.4.550. Installed quarto with conda, and set the path in vscode quarto settings, but it still loads an old version quarto from Rstudio which is not compatible with the extension.
it still loads an old version quarto from Rstudio which is not compatible with the extension.
That means something is setting your PATH env variable to that version of Quarto. The extension simply looks at the PATH and at the VS code configuration variables.
it still loads an old version quarto from Rstudio which is not compatible with the extension.
That means something is setting your PATH env variable to that version of Quarto. The extension simply looks at the PATH and at the VS code configuration variables.
I think that something is quarto itself: https://github.com/quarto-dev/quarto/blob/3bd070a1ffabd0b2dc80c67f5d9fa9a2d8bee896/packages/quarto-core/src/context.ts#L195
I am having the same problem and still figuring out. I am working remotely with vscode. My PATH env has "/usr/lib/rstudio-server/bin/quarto/bin" attached to it inside vscode integrated terminal. But with normal ssh, my vanilla PATH has none. Setting quarto.path (to my preferred quarto version) manually has no effect just like OP.
I think that something is quarto itself:
Not quite. I wasn't accurate in my statement above (I apologize!), but this scanning only happens in case the install on the path isn't found:
Calling detectQuarto("quarto")
attempts to run quarto
directly from execProgram
, which does use the path.
How can we help to further debug this? Quarto is on the path when the conda environment is activated but it is not detected by the extension...
How can we help to further debug this?
As you are asking, I am taking this opportunity :)
As this is environment specific (Unbutu + conda + ...), it would be quite helpful to have a devcontainer configuration for a reproducible example we could easily dig into on our side. devcontainer integrates well with VSCODE too, so it would help. Any environment like codespace works too - they also use devcontainer spec.
Possibly a docker image (or DOCKERFILE) to use with all the setup done would be helpful too otherwise.
This would really be helpful to us as it would save us time to recreate the situation so that we can look for the problem sooner.
Otherwise, this issue just need to wait for our priority to go down on quarto 1.5 next release to have the right amount of time to look into that.
Generally, we welcome any contribution that would help pinpoint the exact issue here.
Thanks to anyone willing to give it a spin :)
Bug description
The issue is similar to quarto-dev/quarto-cli#5572 (or quarto-dev/quarto-cli#1882): I installed the quarto CLI in a conda environment, which works fine for interactive use and in the VSCode terminal, but which somehow isn't properly detected by the quarto extension when trying to render a doc.
Steps to reproduce
Create the virtual environment with
conda env create -f environment.yml
, whereenvironment.yml
contains the following:Then activate the created environment and verify that everything works with quarto:
Use a local
.vscode/settings.json
at the root of my workspace:/
Expected behavior
I expected the quarto VSCode extension to properly pick-up my quarto CLI install.
Actual behavior
The quarto VSCode extension does not detect my quarto CL install. Note that the same happens if I set "quarto.path" in the User's settings.json instead of the local one.
Your environment
VSCode on Ubuntu 22.0
Quarto check output