z3z1ma / dbt-osmosis

Provides automated YAML management, a dbt server, streamlit workbench, and git-integrated dbt model output diff tools
https://z3z1ma.github.io/dbt-osmosis/
Apache License 2.0
422 stars 46 forks source link

AttributeError: module 'dbt.config.profile' has no attribute 'DEFAULT_PROFILES_DIR' #122

Open prgx-aeveri01 opened 6 months ago

prgx-aeveri01 commented 6 months ago

Hi all,

I can't execute any of osmosis' function as I keep hitting this error:

Traceback (most recent call last): File "/home/ail_aeveri01/git/cdm-sob-python/.venv/bin/dbt-osmosis", line 5, in <module> from dbt_osmosis.main import cli File "/home/ail_aeveri01/git/cdm-sob-python/.venv/lib/python3.7/site-packages/dbt_osmosis/main.py", line 162, in <module> DEFAULT_PROFILES_DIR = dbt.config.profile.DEFAULT_PROFILES_DIR AttributeError: module 'dbt.config.profile' has no attribute 'DEFAULT_PROFILES_DIR'

prgx-aeveri01 commented 6 months ago

I'm running dbt trino 1.5.1 which is running dbt 1.5.9