KeyError: 'st.session_state has no key "$$GENERATED_WIDGET_ID--None". Did you forget to initialize it? More info:

Hi,
I was doing some investigation of this and I found that this bug was caused by our fastRerun config being turned on in 1.19.0.

In order to get rid of this, you can put in your .streamlit/config.toml:

[runner]

# Default: true
fastReruns = false

This will turn off our fastReruns as it looks like we are running into some threading issues. I’m not sure of the solution to resolve this as I’m not a threading expert but I will attempt to look at this some more. However, I’m just trying to give a temporary workaround and what’s going on.

9 Likes