import streamlit as st
st.feedback(options='thumbs')
When I run the app, a browser tab opens, starts to load, then streamlit crashes:
(.venv) PS C:\folder> streamlit run test.py
You can now view your Streamlit app in your browser.
Local URL: http://localhost:8501
Network URL: http://192.168.10.10:8501
When I run headless (--server.headless true), it doesn’t crash until a browser connects.
I did have this working last week. This symptom has shown up at the same time as Streamlit terminating abruptly when logger.level is set to debug and it feels the same, I wonder if they’re related.
I cannot reproduce it on macOS. I have replied in the other thread, but did this start to happen only with version 1.38? And does this only happen for the st.feedback command or any other Streamlit command as well?
I reverted to 1.37 and reproduced as well. I have not found another Streamlit command (besides --logger.loglevel=debug from the other thread) that causes this crash.
For what its worth, I am in a corporate environment. My outgoing web requests go through an SSL intercepting proxy, and we have several security agents on our machines, primarily SentinelOne. I’ve been using Streamlit successfully for 4+ months, and st.feedback successfully for a week or so before this started.
I’ve been playing with Process Monitor and Fiddler to try to nail down the difference when Streamlit crashes with st.feedback and doesn’t with , for example, just st.write, but nothing yet.
Thank you for reproducing this! The team usually develops on macOS and our CI/CD pipeline runs on Linux, so Windows is admittedly a little bit of a blind spot. We will look into this though, it just might take a little bit longer for us to get to the bottom of it.
Hey y’all, this seems to be an issue with the newest protobuf release (see this GitHub thread) on Windows. For me, downgrading to protobuf 5.27.0 fixed the issue: pip install protobuf==5.27.0.
It’d be great if you could try it out and report back here whether this also fixes the issue on your end
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.