Skip to content
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

DBT project not loading #1371

Closed
1 task done
Will-Cottrell opened this issue Aug 14, 2024 · 15 comments
Closed
1 task done

DBT project not loading #1371

Will-Cottrell opened this issue Aug 14, 2024 · 15 comments
Labels
bug Something isn't working

Comments

@Will-Cottrell
Copy link

Will-Cottrell commented Aug 14, 2024

Expected behavior

I can use Power User for dbt features in VS Code

Actual behavior

Error messages are shown when trying to use features such as Query Results, Compile and Lineage.

Steps To Reproduce

Power User has recently been working but after reinstalling a virtual environment and updating requirements it has stopped working.

Log output/Screenshots

Screenshot 2024-08-14 at 13 56 55
Screenshot 2024-08-14 at 13 57 02
Screenshot 2024-08-14 at 13 57 10

Operating System

Mac OS 14.5 (23F79)

dbt version

core 1.8.5

dbt Adapter

bigquery 1.8.2

dbt Power User version

v0.44.0

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@Will-Cottrell Will-Cottrell added the bug Something isn't working label Aug 14, 2024
@kalebkemp
Copy link

kalebkemp commented Aug 14, 2024

I'm having the same issue ☹️
with dbt-core 1.8.5
dbt-databricks 1.8.5
power user version v0.44.1
Windows 11

Edit to add: It was working yesterday before updating VSCode (not sure if it's related). Have tried uninstalling/reinstalling the extension, initializing a new dbt project, restarts, etc.

edit again to add: I also re-created a virtual environment after deleting my local folder and grabbing latest from my main branch in github

@anandgupta42
Copy link
Contributor

@kalebkemp, could you downgrade to version 0.42.X and check if it resolves the issue? Also, both of you are on dbt 1.8.5, which might be causing the problem.

@mdesmet
Copy link
Contributor

mdesmet commented Aug 15, 2024

This error seems related to vscode's Python extension. What happens if you restart vscode, does this error go away?

@Will-Cottrell
Copy link
Author

Restarted VSCode and reverted power user to v0.42.7 but the issue persists. I fear it is something to do with dbt 1.8.5

@kalebkemp
Copy link

Mine actually seemingly randomly started working again... I'm not sure what was the exact solution, I did not downgrade. I had restarted vscode, my pc, uninstalled and reinstalled extensions to no avail, but it seemed like after making various changes in my code and pushing/pulling from github it started working... Sorry I can't provide an exact answer on what fixed this..

As a side question: What version of dbt-core would you recommend? Is there some issue with 1.8.5?

@anandgupta42
Copy link
Contributor

This may be related to this issue in the Python extension. The fix was released 3 days ago, and perhaps that's why your environment started working, @kalebkemp. @Will-Cottrell, is this still an issue for you?

@Will-Cottrell
Copy link
Author

Unfortunately it hasn't fixed it for me, still cannot use Power User

@c-l-nguyen-blacklane
Copy link

Same for me. I am on Snowflake but the error is the same

@anandgupta42
Copy link
Contributor

realted to #1334

@thebroberts
Copy link

this should be fixed now:
7c26b35
#1379

@Will-Cottrell
Copy link
Author

Have checked this morning and I still cannot load a dbt project 😢

@anandgupta42
Copy link
Contributor

@Will-Cottrell What's the version of extension installed on your machine?

@anandgupta42
Copy link
Contributor

@Will-Cottrell @c-l-nguyen-blacklane we haven't been able to identify the root cause of this issue. Since the extension isn't loading, we're unable to generate the diagnostics or logs that typically help us resolve the problems. Can one of you ping reach out here : https://app.myaltimate.com/contactus ?

@FDG4663 FDG4663 mentioned this issue Sep 10, 2024
1 task
@anandgupta42
Copy link
Contributor

this is duplicate of #1334

@Will-Cottrell
Copy link
Author

Completely uninstalling VSCode, removing files and settings and reinstalling has fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants