Open dwvisser opened 1 week ago
If this issue affects you, please react with a 👍 (thumbs up emoji) to the initial post.
Your feedback helps us prioritize which bugs to investigate and address first.
Thanks for reporting this @dwvisser. I'm currently actively working on some additional features/bugfixes/etc before we look to remove the experimental_
prefix from the fragment decorator in July's release, so I'll spend some time looking into this bug soon (will most likely start work on it next week).
Checklist
Summary
When I run the code example given, and click the Download buttons in rapid succession, I almost always get a missed download and a MediaFileHandler: Missing file message logged.
Reproducible Code Example
Steps To Reproduce
streamlit run app.py
Expected Behavior
I expect every download to succeed. Removing
@st.experimental_fragment
fixes to where they do succeed, but in our application, the@st.experimental_fragment
is otherwise useful for app performance.Current Behavior
More often than not, at least one of the Download buttons will fail to download (Chrome & Edge show "Couldn't Download xxx in UI", while Firefox just opens a blank tab). A message similar to the following is logged:
Is this a regression?
Debug info
Additional Information
No response