Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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

Comments

@PrimusPilusOk
Copy link

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"

@david-hummingbot
Copy link
Contributor

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

@PrimusPilusOk
Copy link
Author

Hi @david-hummingbot
Glad to hear that! You are doing fabulous work, greetings from Argentina!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants