dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

Bug Report

Open nsevers opened this issue 1 year ago • 1 comments

Describe the bug

2024-04-06 18:07:27.484 Uncaught app exception Traceback (most recent call last): File "/home/ngsevers/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script exec(code, module.dict) File "/mnt/h/OneDrive/Desktop/0. Active Work/40. Crypto/dashboard/main.py", line 110, in config['credentials'] = st.session_state.authenticator.credentials AttributeError: 'Authenticate' object has no attribute 'credentials'

Steps to reproduce bug

  1. attempt to log in

Issue is in main.py line 111 This line is not necessary and can be removed. config["credentials"] = st.session_state.authenticator.credentials

line 110 elif st.session_state["authentication_status"]: This line already authenticates. To make the code more understandable you could make it say elif st.session_state["authentication_status"] is True:

nsevers avatar Apr 06 '24 11:04 nsevers

Change line 110 to:

config["credentials"] = st.session_state.authenticator.authentication_handler.credentials

TselmuunUranchimeg avatar Apr 23 '24 07:04 TselmuunUranchimeg

As mentioned here - https://github.com/hummingbot/dashboard/issues/112 we are currently doing a major overhaul of the dashboard for the May release. You can test it out here - https://github.com/cardosofede/hummingbot-deploy

Please test and provide feedback here in Github or in our #dashboard channel in Discord!

david-hummingbot avatar May 07 '24 10:05 david-hummingbot