AuScope / seed-vault

Other
2 stars 0 forks source link

streamlit web app vs library warnings #144

Open filefolder opened 1 week ago

filefolder commented 1 week ago

trying to re-sync an archive on OSX and I get thousands of these warnings

Found 66 files to process.
Processing files:   0%|                                                                                                                                                                                                                 | 0/66 [00:00<?, ?it/s]
2024-11-17 22:02:41.646 WARNING streamlit.runtime.scriptrunner_utils.script_run_context: Thread 'MainThread': missing ScriptRunContext! This warning can be ignored when running in bare mode.
2024-11-17 22:02:41.647 WARNING streamlit.runtime.scriptrunner_utils.script_run_context: Thread 'MainThread': missing ScriptRunContext! This warning can be ignored when running in bare mode.
2024-11-17 22:02:41.649 WARNING streamlit.runtime.scriptrunner_utils.script_run_context: Thread 'MainThread': missing ScriptRunContext! This warning can be ignored when running in bare mode.
2024-11-17 22:02:41.652 WARNING streamlit.runtime.scriptrunner_utils.script_run_context: Thread 'MainThread': missing ScriptRunContext! This warning can be ignored when running in bare mode.
2024-11-17 22:02:41.652 WARNING streamlit.runtime.scriptrunner_utils.script_run_context: Thread 'MainThread': missing ScriptRunContext! This warning can be ignored when running in bare mode.
2024-11-17 22:02:41.653 WARNING streamlit.runtime.scriptrunner_utils.script_run_context: Thread 'MainThread': missing
2024-11-17 22:02:43.805 WARNING streamlit.runtime.state.session_state_proxy: Session state does not function when running a script without `streamlit run`
2024-11-17 22:02:43.805 WARNING streamlit.runtime.state.session_state_proxy: Session state does not function when running a script without `streamlit run`
etc etc 

I am running the app as a module via a pip install, so I suspect there may have to be some differentiation when running streamlit as a web app vs imported library?

the warnings don't break anything but they are ...numerous