streamlit: Streamlit started giving 404: Not Found and no longer wants to work.
Summary
Streamlit started giving 404: Not Found and no longer wants to work.
Steps to reproduce
Added the multiselect example to my code:
options = st.multiselect(
'What are your favorite colors',
('Yellow', 'Red')
('Green', 'Yellow', 'Red', 'Blue'))
st.write('You selected:', options)
Expected behavior:
To get an app with a working multiselect
Actual behavior:
App gives 404: Not Found and nothing I do wants to make it work again.
Is this a regression?
yes
Debug info
Streamlit version: 0.47.2 Python version: 3.7.1 Using Conda? PipEnv? PyEnv? Pex? pip on WinPython OS version: Windows 10 version 1903 Browser version: Firefox 69.0
Additional information
Tried changing the port, enabling debugging, killing the console and restarting. Not running jupyter-lab. Removing the multiselect code. Tried using http://localhost:8501/?a=1. Tried http://192.168.1.34:8501. Seems to be caching and always just returning the 404.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 31 (10 by maintainers)
Commits related to this issue
- Improve how we serve index.html to fix #244 — committed to tvst/streamlit by tvst 5 years ago
- Improve how we serve index.html (for better Windows support) (#331) * Improve how we serve index.html to fix #244 * Make util.open_browser() not add 'index.html' suffix on Windows. * Improve De... — committed to streamlit/streamlit by tvst 5 years ago
I’ve been able to get it to work while running JupyterLab by simply navigating to http://localhost:8501/index.html and then the page loads, otherwise its a 404.
Awesome! Sending out a pull request right now.
@treuille thanks for the mention, I was able to figure the problem out!
That change fixes the issue for me.
Thank you @ismailuddin
@ismailuddin Thanks a million! It does work on http://localhost:8501/index.html
Wow! Going to http://localhost:8501/index.html does not give me the 404 error, but instead correctly loads!!! Thanks!
Windows 10 / Python 3.6.7
Running “streamlit hello”, gives me 404 error.
404: Not FoundI am having the same issue, running on Anaconda but all other Debug info is the same otherwise.