nicholasyager / dbt-loom

A dbt-core plugin to weave together multi-project dbt-core deployments
The Unlicense
104 stars 19 forks source link

Child dbt_project.yml throws errors about missing models when using dbt Power Tools VS Code extension #73

Closed jabjakub closed 1 month ago

jabjakub commented 1 month ago

Describe the bug Running a project with dbt-loom does not work properly as dbt_project.yml displays warnings

Expected behavior No errors in the child dbt_project.yml

Screenshots

image

Hey, I'm experiencing the above error. Would be amazing if you could help me get it working.

nicholasyager commented 1 month ago

Hey @jabjakub! It looks like the issue you're receiving is related to VS Code and not dbt-loom itself. I'd love to help, and I'll need a bit more information. Can you please let me know what vs-code extension you're using that's returning this error? I suspect dbt Power User, but I'd like to make sure.

jabjakub commented 1 month ago

hi @nicholasyager, thank you for your quick response. yes, I'm actually using dbt Power User v.0.41.0 and v.0.42.2 but the issue occurs with both versions.

nicholasyager commented 1 month ago

@jabjakub Thanks for confirming that you're using dbt Power User 0.42.2. This issue report has inspired me to give Power User's dbt-loom integration a try, so double kudos for that. It seems like a good effort from their part.

Unfortunately, I'm not able to reproduce your error. Can you confirm the following:

In setting up my test projects for the extension, I did have the same issue for about 10 seconds while VS Code found my virtual environment. This leads me to think that it may be an environment or config issue. If both of those are valid, then I'll likely need some type of log output from power user to start to figure it out.

I'd also recommend reaching out to the folks at Altimate about the issue. It's my understanding that their dbt-loom integration is still rather new, so they'd probably love the feedback https://github.com/AltimateAI/vscode-dbt-power-user

jabjakub commented 1 month ago

oh, I thought the integration of power user and dot-loom is your work as well :)

I put the projects within their own venv and ran dbt build from both virtual env separately but the issue persists. will contact Altimate then :) thank you for your support!

image

nicholasyager commented 1 month ago

Sounds good @jabjakub! If anything pops up indicating that dbt-loom needs improvements, please let me know! In the meantime, I'll close this issue out.