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:
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.