after many updates to the code the last update crashed the app and im not sure what is the reasoning behind it
ModuleNotFoundError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).
Traceback:
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 556, in _run_script
exec(code, module.__dict__)File "/app/status/app.py", line 17, in <module>
import hydralit as hyFile "/home/appuser/venv/lib/python3.9/site-packages/hydralit/__init__.py", line 5, in <module>
from hydralit.hydra_app import HydraAppFile "/home/appuser/venv/lib/python3.9/site-packages/hydralit/hydra_app.py", line 4, in <module>
from hydralit.sessionstate import SessionStateFile "/home/appuser/venv/lib/python3.9/site-packages/hydralit/sessionstate.py", line 9, in <module>
from streamlit.scriptrunner.script_run_context import get_script_run_ctx
the names of packages in the requirements.txt
this is what it says in the manage app
2022-08-13 08:59:06.457 Uncaught app exception
Traceback (most recent call last):
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 556, in _run_script
exec(code, module.__dict__)
File "/app/status/app.py", line 17, in <module>
import hydralit as hy
File "/home/appuser/venv/lib/python3.9/site-packages/hydralit/__init__.py", line 5, in <module>
from hydralit.hydra_app import HydraApp
File "/home/appuser/venv/lib/python3.9/site-packages/hydralit/hydra_app.py", line 4, in <module>
from hydralit.sessionstate import SessionState
File "/home/appuser/venv/lib/python3.9/site-packages/hydralit/sessionstate.py", line 9, in <module>
from streamlit.scriptrunner.script_run_context import get_script_run_ctx
ModuleNotFoundError: No module named 'streamlit.scriptrunner'