Hey folks, I'm trying to run `edr report` and am r...
# community-support
s
Hey folks, I'm trying to run
edr report
and am running into an error. So far, I have completed the following steps: • I installed elementary dbt packages via dbt deps ✅ •
dbt run --select elementary
generates elementary tables/views in a dev schema ✅ • When running a model tables in my elementary schema are populated ✅ • I added a profile to
profiles.yml
using the dbt run operation
dbt run-operation elementary.generate_elementary_cli_profile
✅ • Installed elementary CLI (
pip install elementary-data
&
pip install 'elementary-data[redshift]'
) ✅ • Ran
edr --help
to ensure the installation was successful ✅ When attempting to run
edr report
, I get the following error
Copy code
ERROR — Unable to get the latest invocation: Failed to run dbt command.
Path '/Users/<my_home_directory>/.dbt' does not exist.
2024-12-04 14:51:47 — ERROR — Failed to parse Elementary's database and schema.
I see in the docs it's because the elementary profile details Path is:
HOME_DIR/.dbt/profiles.yml
Is there any documentation on updating the profile path?
I was able to self-resolve this. For other folks who may run into this, here was my solution. • As I running this in a virtual environment, my
profiles.yml
file wasn't located in my home directory (which is where Elementary will look, by default). • I created a environment variable pointing to my correct path in my
.zshenv
file • The report ran successfully after that Hooray for documentation!