Closed ivan-toriya closed 3 years ago
what do you mean by "dbt installation from git"? The code is only tested with installation through pip and official dbt releases.
Installed it from source as in https://docs.getdbt.com/dbt-cli/installation/#install-from-source
I had an error with snowflake plugin when installing from pip.
So I removed dbt-snowflake from requirements cause I don't need it anyway
What's the output if you run dbt --version in powershell?
So I'm just guessing here. The plugin offered you to install dbt for you but you selected no?
I see that you activate manually the conda environment, which means that vscode is not aware about your conda environment. This is the pointer, you need to select the correct python environment. See https://code.visualstudio.com/docs/languages/python#_environments
I've found the problem.
I tried to install with pip again and discovered that some dependencies not compatible with Python 3.9.1 (and when I create new enviroments using conda it's by default instaling 3.9.1) so I downgraded python to 3.8.5 and installed dbt using pip successfully, then changed the interpreter and extension works fine.
Hmm, sorry for false positive. Seems like a lot of features still not working for me. I'm wondering where's the root of the problems could be, maybe because I'm using conda?
See the compiled SQL and the run status in the statusbar - Not working
See the model graph - Not working
Go to definition - Not working (Tried with CTRL as well)
Same issues
As I'm always running in remote (ubuntu) and sometimes forget all features on windows, I just did some tests using windows but no issues here with current version.
Any errors in the console log (Help -> Toggle Developer tools)?
Yeah, it has
Thanks, that helped, the run results artifacts seems to have slightly changed in the newest dbt version. I will come up with a fix soon. will keep you posted!
We have released a new version (0.4.8). For now the run results status won't work in latest version, however it should not impact the other features as model graph or clickthrough. We will need to support different versions of the artifacts.
Let me know if it works.
My appreciation to you for such a fast fix!
Model graph -- Working Go to definition -- Working Autocompletion -- Working
Thanks! If the extension brings you value, please rate or review it on https://marketplace.visualstudio.com/items?itemName=innoverio.vscode-dbt-power-user.
Using conda enviroment with dbt installation from git.
Constantly "detecting dbt" with no result.
It's working fine with powershell.
What am I doing wrong?