Description
Describe the bug
A clear and concise description of what the bug is.
FileWatcher setup fails with error AttributeError: module 'streamlit' has no attribute 'script_runner'
Traceback:
File "streamlit\scriptrunner\script_runner.py", line 475, in _run_script
exec(code, module.dict)
File "C:\Program Files (x86)\AlphaPept\alphapept\webui.py", line 46, in
sidebarmenu
File "alphapept\gui\filewatcher.py", line 222, in filewatcher
raise st.script_runner.RerunException(
To Reproduce
Steps to reproduce the behavior:
- Go to http://localhost:8505/
- Click on FileWatcher, configure folder to watch
- Press start
- See error
Expected behavior
File watcher to start and files arriving in the watched folder to be added to the processing queue.
Screenshots
If applicable, add screenshots to help explain your problem.
Version (please complete the following information):
- OS: Windows 10 Pro 21H2 19044.1706 Windows Feature Experience Pack 120.2212.4170.0
- Version 0.4.6 https://github.com/MannLabs/alphapept/releases/download/v0.4.6/AlphaPept-Windows-64bit_v0.4.6.exe
- Installation Windows One-Click Installer
Additional context
- Previous AlphaPept version installed on same System: 0.3.3
- It seems the FileWatcher starts all right and only streamlit fails to run the analysis scripts (Wrong Streamlit version packaged into 1-click installer maybe?)
- No analysis starts after Bruker.d file is moved to watched folder
Local URL: http://localhost:8505
Network URL: [removed]