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

John Boyle

06/22/2022, 5:03 PM
I ran into this Error in Dagit today (graphql error at top right) when I clicked on an asset group that was previously working well.
Copy code
Operation name: AssetGraphLiveQuery
Message: '99d02432-f456-4fd0-861e-f50721be6cd7'
Path: ["assetsLatestInfo"]
Locations: [{"line":7,"column":3}]
I got this right after trying to materialize an asset. After I clicked materialize I realized I needed to rerun some upstream assets first so I. 1. clicked the Runs link 2. clicked on the down arrow at the right for the job that was starting (via dagster-daemon. not sure if it was starting or still queueing) 3. terminated the job from the context menu. the job disappeared from the list of runs. when I returned to its asset_group, I got the error above also, all of the other assets in that asset_job do not show any latest info. I killed the dagit and dagster-daemon jobs and restarted but still get the same behavior edit: and I forgot to mention, the asset_group screen for this group is now blank so I can't see any of the assets or relaunch them (still looking for workarounds)
🤖 1
s

sandy

06/22/2022, 6:26 PM
@Ben Gotow @claire - any idea what's going on here?
j

John Boyle

06/22/2022, 6:35 PM
sorry for the vague report. I refreshed the page and re-navigated to it a few times and it showed up again. I was able to rematerialize the asset. once it was rematerialized everything is back to normal so nothing is blocking me at the moment. I wish I had better repro steps than "try to materialize an asset and terminate it at just the right time".
c

claire

06/22/2022, 6:56 PM
Hi John. Can you confirm that your dagster/dagster-graphql/dagit packages are all on the same version? What version are you running?
d

daniel

06/22/2022, 7:13 PM
The confusing error message here is likely a KeyError - it's indexing with that run ID in a dictionary somewhere in the resolver for assetsLatestInfo and not finding it
👍 1
c

claire

06/22/2022, 8:10 PM
Thanks @daniel this helps. I haven't been able to replicate this error but I think I know where we're indexing on a terminated run ID. Putting a fix out now
👍 1
j

John Boyle

06/22/2022, 8:13 PM
@claire I just confirmed that the 3 packages are all on 0.15.0. glad that @daniel’s comment seems to have helped you narrow down the underlying issue.
s

sandy

06/24/2022, 10:41 PM
I saw that this fix got merged yesterday: https://github.com/dagster-io/dagster/pull/8569
❤️ 1