I’ve upgraded my streamlit app code to use Streamlit version 0.87, specifically the new SessionState code. In my multipage app, I also set the URL via st_experimental_url_params. When I Ctrl-C and restart the streamlit app, every second or third attempt will produce a blank page which I eventually tracked down to an exception occurring in script_runner whereby it shows RerunData as containing info from the previous run of the app. If I close the tab on shutdown and open a new tab on restart, I never see this problem.
I’ve tried clearing the URL, and caches on startup, but it doesn’t seem to help. Can someone please help me figure out how to fix this issue?
To provide more info, when I Ctrl-C and restart the server on specific pages, I get the following exception when I run the first streamlit display code. In my case, that happens to be a st.markdown. I’ve tried others like st.warning, and they all produce the same error: