-
Notifications
You must be signed in to change notification settings - Fork 4.2k
st.dataframe crashes with maximum update depth exceeded #7949
Description
Checklist
- I have searched the existing issues for similar issues.
- I added a very descriptive title to this issue.
- I have provided sufficient information below to help reproduce this issue.
Summary
Updating tables on the sidebar makes the browser go crazy and eventually crash due to maximum update depth exceeded.
- Browser is unresponsive
- Adjusting the width of the sidebar makes the problem go away (sometimes)
- Some tables just crash before even the first render
- This has been happening for a while (min 3 months)
Screencast.from.2024-01-12.11-38-00.webm
Reproducible Code Example
with st.sidebar:
container = st.empty()
while True:
container.dataframe(...)
time.sleep(1)Steps To Reproduce
No response
Expected Behavior
No response
Current Behavior
No response
Is this a regression?
- Yes, this used to work in a previous version.
Debug info
- Streamlit version: 1.2x
- Python version: irrelevant
- Operating System: irrelevant
- Browser: blink
Additional Information
Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at fl (http://192.168.1.42:8501/static/js/main.3ab8e8d9.js:2:2251371)
at xa (http://192.168.1.42:8501/static/js/main.3ab8e8d9.js:2:2223133)
at http://192.168.1.42:8501/static/js/7673.0828a05e.chunk.js:2:334183
at http://192.168.1.42:8501/static/js/7673.0828a05e.chunk.js:2:349353
at http://192.168.1.42:8501/static/js/7673.0828a05e.chunk.js:2:293066
at http://192.168.1.42:8501/static/js/7673.0828a05e.chunk.js:2:293268
at http://192.168.1.42:8501/static/js/7673.0828a05e.chunk.js:2:289446
at http://192.168.1.42:8501/static/js/7673.0828a05e.chunk.js:2:289688
at Dl (http://192.168.1.42:8501/static/js/main.3ab8e8d9.js:2:2263107)
at t.unstable_runWithPriority (http://192.168.1.42:8501/static/js/main.3ab8e8d9.js:2:3040959)
