yu-iskw
08/05/2024, 8:08 AMedr report command. Even though I set the dbt profile elementary in the dbt project, edr report couldn’t find it.
edr report \
--env "dev" \
--profiles-dir . \
--profile-target "dev" \
--target-path "edr_target" \
--file-path "edr_target/index.html"
2024-08-05 17:03:46 — INFO — Running with edr=0.16.0
{"data": {"exc": "Runtime Error\n Could not find profile named 'elementary'"}, "info": {"category": "", "code": "Z002", "extra": {}, "invocation_id": "219d2dd9-1811-47dd-9b96-503ea63307ee", "level": "error", "msg": "Encountered an error:\nRuntime Error\n Could not find profile named 'elementary'", "name": "MainEncounteredError", "pid": 47466, "thread": "MainThread", "ts": "2024-08-05T08:03:47.056099Z"}}
2024-08-05 17:03:47 — ERROR — Unable to get the latest invocation: Failed to run dbt command.
Runtime Error
Could not find profile named 'elementary'Ofek Weiss
08/05/2024, 12:49 PM0.15?
also, can you elaborate on how exactly does your profiles.yml look like?Ofek Weiss
08/05/2024, 12:59 PM. in --profiles-dir to $(pwd) (or %cd% in windows)?yu-iskw
08/07/2024, 12:43 AMdoes the same command work with versionYea, I upgraded Elementary from 0.15.?0.15
can you try to replace theOK. Let me give it a try.in.to--profiles-dir(or$(pwd)in windows)?%cd%
yu-iskw
08/07/2024, 1:09 PM$(pwd) works! Thank you !!Ofek Weiss
08/07/2024, 1:10 PMAbhijeet
08/21/2024, 7:40 PMOfek Weiss
08/22/2024, 6:53 AM. in version 0.16.1 of elementary and it should work, if you want to use .dbt/profiles.yml, just omit the flag