Some example apps in this repo cannot be run as single file apps.
See original GitHub issueSummary
I would expect it to be nice to have that most of the example apps in this repo can be run by users as reference examples without having to clone the run but for example using
streamlit run "https://raw.githubusercontent.com/streamlit/streamlit/develop/examples/apocrypha.py"
or the python exec
command. This is not always the case. For example for the above file.
If the file cannot be run without the repo, then if possible it would be nice to add some error handling and message telling the user that it’s not intended to run this example on a stand alone basis.
Steps to reproduce
You can identify the tests that fails the exec
command using the awesome-streamlit test runner
docker run -it -p 80:80 --entrypoint "streamlit" marcskovmadsen/awesome-streamlit:latest run test_runner_app.py
You can read more about the test runner at
https://github.com/marcskovmadsen/awesome-streamlit#streamlit-tests
The current results look like
Please note that the 404 failing files probably don’t exist any longer.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
Hi @MarcSkovMadsen , thanks for the bug report
We’re actually been meaning to remove all examples from that repo, and create a different repo just with examples. At which point we’d probably want o make sure the examples are a bit more interesting too 😄
And something else we should do is steal your idea from this bug report and make all examples runnable by URL.
So I’ll leave this bug open as a reminder to ourselves, but it’s unlikely we’ll spend time fixing the existing examples (since they’re going away soon).
Can’t repro and no response from the user in a month, closing.