https://dagster.io/ logo
Title
m

madhurt

06/29/2021, 7:46 PM
Hi all, I have been using dagster’s k8s deployment and running it with minikube locally. I am using my own custom image. Everything was working fine, but newly launched pods now give
ImportError: cannot import name 'EventLogEntry' from 'dagster.core.events.log' (/usr/local/lib/python3.7/site-packages/dagster/core/events/log.py)
I am not sure what the error is because nothing has changed. I also see that a new version 0.11.15 has released recently. Is it because of this perhaps?
d

daniel

06/29/2021, 8:01 PM
Hi, this likely comes from a version incompatibility issue where your pod is mixing and matching an older version of the dagster package than the dagster_k8s package. You can fix this by doing a full reinstall (making sure that your dagster package gets updated as well). we also fixed this issue in a permanent way in 0.11.15, so updating to that version will likely also fix it
y

yuhan

06/29/2021, 8:16 PM
EventLogEntry was newly introduced in 0.11.14 with backcompat handling. but yea you will still need to reinstall so the updated dagster package can handle the backcompat
m

madhurt

06/29/2021, 8:21 PM
Thank you, I will try a fresh install with everything updated to 0.11.15
Update: fixed by updating to 0.11.15
:condagster: 2