Streamlit crashes/reset; connection to server lost

Both on my local machine, and when my script is deployed on streamlit via my github, when the very last checkbox is selected, it crashes. On the deployed app, the app refreshes. On my local machine, my terminal closes out of streamlit.

I’m not sure what’s going on. The only thing the check box does is display a selectbox that access keys within a dictionary.

Any thoughts/insights would be appreciated! Thanks!

Here’s my github link

My deployed app:
https://s4a.streamlit.io/eliztnguyen/activated-insights-streamlit/main/ActivatedInsights_Streamlit.py

Hi @eliztnguyen

Apologies for the delayed response. Given that this crashes your local Streamlit server, this sounds like an issue specific to the core Streamlit framework rather than the Sharing side of things. I’ve opened a Github ticket to track this.

Huh, looks like I didn’t create the Github issue correctly :man_facepalming:

But now your app is working and I can’t see the original error anymore. Do you know what was causing the issue? I’d love to have us fix the bug, if there indeed is something we should be fixing!

Hi Thiago,

I think the crashes were happening when I was trying to cache the function runs.
Once I deleted all caches, it wasn’t an issue anymore.
So it might have something to do with that.

Elizabeth

Thanks for the info. We’ll look into it!