You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Feedback] Using Dashboard to Deploy and Backtest Strategies - Part 2 - /academy-content/using-dashboard-to-deploy-and-backtest-strategies---part-2/
#339
Closed
PrimusPilusOk opened this issue
Jan 29, 2024
· 2 comments
Hello! i have already posted this on the hummingbot discord, whenever I set 'AUTH_SYSTEM_ENABLED = True' and then stop the Dashboard and restarting it, i encounter this error after executing 'make run'.
Traceback:
File "/home/vago/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script
exec(code, module.dict)
File "/home/vago/hummingBot/dashboard/main.py", line 119, in
name, authentication_status, username = st.session_state.authenticator.login('Login', 'main')
File "/home/vago/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit_authenticator/authenticate.py", line 241, in login
raise DeprecationError("""Likely deprecation error, the 'form_name' parameter has been replaced"
The text was updated successfully, but these errors were encountered:
Hi @PrimusPilusOk
Thanks for reporting but unfortunately this is not the correct place to report this issue. It should be in the hummingbot/dashboard repository instead.
Regarding the error, this is because streamlit-auth updated their library recently which is causing the issue. There is already a PR submitted which should fix the issue - hummingbot/dashboard#114
Hello! i have already posted this on the hummingbot discord, whenever I set 'AUTH_SYSTEM_ENABLED = True' and then stop the Dashboard and restarting it, i encounter this error after executing 'make run'.
"DeprecationError: Likely deprecation error, the 'form_name' parameter has been replaced with the 'fields' parameter. For further information please refer to https://github.com/mkhorasani/Streamlit-Authenticator?tab=readme-ov-file#2-creating-a-login-widget
Traceback:
File "/home/vago/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script
exec(code, module.dict)
File "/home/vago/hummingBot/dashboard/main.py", line 119, in
name, authentication_status, username = st.session_state.authenticator.login('Login', 'main')
File "/home/vago/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit_authenticator/authenticate.py", line 241, in login
raise DeprecationError("""Likely deprecation error, the 'form_name' parameter has been replaced"
The text was updated successfully, but these errors were encountered: