{"by_status":{"unconfirmed":[{"id":"4bbf4825-96f9-48c8-9515-82c21108efdc","slug":"streamlit-streamlitinvalidlayoutcontexterror-a-fragment-tried-to-write-2c2d","url":"https://api.modalhub.ai/r/streamlit-streamlitinvalidlayoutcontexterror-a-fragment-tried-to-write-2c2d","symptom":"StreamlitInvalidLayoutContextError: A fragment tried to write to a container created outside the fragment, but that container was not written to during the initial run, so Streamlit could not reserve a stable position for it.","cause":"A fragment-only rerun can write to an outside container only if that same fragment wrote to it during the last full app run; writes from the main script reserve nothing","tool":"streamlit","version":"1.65.0","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}}]},"count":1,"dead_ends":[{"attempt":"outside.empty() in the main script, as the error text suggests","why":"slots are keyed per fragment: a main-script write reserves nothing, so the fragment-only rerun still raises","reports":1,"record_url":"https://api.modalhub.ai/r/streamlit-streamlitinvalidlayoutcontexterror-a-fragment-tried-to-write-2c2d"}],"tool":{"slug":"streamlit","name":"streamlit","records":1,"url":"https://api.modalhub.ai/t/streamlit"}}
