https://dagster.io/ logo
#ask-community
Title
# ask-community
f

Frederik Hagelund

08/12/2022, 6:09 AM
So i am not sure whether this is an dagster or dbt issue, but since moving to dagster cloud i am getting following error when running any dbt command:
Copy code
load_and_parse_macros block = FileBlock(self.manifest.files[file_id]) KeyError: 'dbt_<redshift://macros/relations.sql>' Encountered an error:
'dbt_<redshift://macros/relations.sql>'
Anyone experiencing similar?
o

owen

08/12/2022, 4:15 PM
hi @Frederik Hagelund! haven't seen this before, but it's possible this is coming from the dagster side. Are you using
load_assets_from_dbt_project
or just regular ops? Also what versions do you have installed of
dagster-dbt
,
dbt-core
, and
dbt-redshift
?
f

Frederik Hagelund

08/12/2022, 4:46 PM
Hi Owen. I am just using Regular ops. Dagster-dbt is 0.16.2, dbt-core and dbt-redshift is 1.2.0, dagster is 1.0.3
o

owen

08/12/2022, 5:22 PM
got it -- I think in that case it's somewhat unlikely for this to be coming from dagster's side, as the op really does just execute a dbt command directly. are you able to run dbt locally without issue? you can see the exact dbt command that dagster's running in the logs.
f

Frederik Hagelund

08/12/2022, 6:16 PM
Yes when i run it locally everything works fine. I see the dbt command, but i it is really hard to debug when it only happens in dagster cloud.