-
Notifications
You must be signed in to change notification settings - Fork 86
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
Improve the messaging for installing dbt #1281
Comments
please add a setting to disable this message completely. see #854 i see so many people wasting time with this message just because the extension has a timing issue. |
@OneCyrus Can you clarify what do you mean by "the extension has a timing issue." ? |
The issue is that the user does not have dbt installed in the selected Python environment. So, technically the message is right. |
but in our case only for a few seconds. so the people try to troubleshoot the environment even though dbt is already installed. |
Could you elaborate on your environment because it should not give any false alarm on dbt installed. Are you using vscode locally or on codespaces? Every time the python interpreter is selected, the dbt installation is verified. Are you changing the python interpreter? |
@mdesmet we are using devcontainers (codespaces and locally). the configuration is like below. after the devcontainer is built vscode automatically installs the dbt extension and also installs the dbt python module through the "postCreateCommand" in parallel. basically the dbt extension usually starts before the dbt python module is installed which leads to the missing dbt error. but a few seconds later dbt is then installed but most users already clicked on the dbt install button.
|
@mdesmet it should be pretty easy fix to just add an option to hide the "please ensure dbt is installed" dialog as a config setting. |
Why are you not installing dbt in your devcontainer image itself? it will boot up your environment faster that way and dbt will immediately detected. |
@OneCyrus : Please reopen if above solution is not working for you. |
Describe the feature
When dbt is unavailable, we offer the user the option to install dbt. Sometimes, the user may have dbt installed but not in the Python environment selected for the extension. It would be helpful to inform the user of the Python path where dbt is located or provide a link to the FAQ page explaining the error in detail.
Describe alternatives you've considered
No response
Who will benefit?
Mostly the users who are setting up the extension for the first time.
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: