Closed cardosofede closed 1 week ago
There's AttributeError: 'NoneType' object has no attribute 'get', unable to reach config generator pages
Steps:
Actual: There's AttributeError: 'NoneType' object has no attribute 'get', unable to reach config generator pages
2024-06-25 19:18:14.563 Uncaught app exception
Traceback (most recent call last):
File "/opt/conda/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.__dict__)
File "/home/dashboard/frontend/pages/config/bollinger_v1/app.py", line 27, in <module>
get_default_config_loader("bollinger_v1")
File "/home/dashboard/frontend/components/config_loader.py", line 14, in get_default_config_loader
config_controller_name = default_config.get("controller_name", controller_name)
AttributeError: 'NoneType' object has no attribute 'get'
Do fresh install on both this PR153 and PR18
master_account
ok # dashboard logs
2024-06-28 11:02:56.753 Uncaught app exception
Traceback (most recent call last):
File "/Users/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.__dict__)
File "/Users/rapcomia/github/dashboard/153/frontend/pages/orchestration/portfolio/app.py", line 139, in <module>
account_history_df['timestamp'] = pd.to_datetime(account_history_df['timestamp'])
File "/Users/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/pandas/core/frame.py", line 4102, in __getitem__
indexer = self.columns.get_loc(key)
File "/Users/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/pandas/core/indexes/range.py", line 417, in get_loc
raise KeyError(key)
KeyError: 'timestamp'
2024-06-28 11:03:03.699 Uncaught app exception
Traceback (most recent call last):
File "/Users/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.__dict__)
File "/Users/rapcomia/github/dashboard/153/frontend/pages/orchestration/portfolio/app.py", line 139, in <module>
account_history_df['timestamp'] = pd.to_datetime(account_history_df['timestamp'])
File "/Users/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/pandas/core/frame.py", line 4102, in __getitem__
indexer = self.columns.get_loc(key)
File "/Users/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/pandas/core/indexes/range.py", line 417, in get_loc
raise KeyError(key)
KeyError: 'timestamp'
master_account
only, still same resultSteps to reproduce:
portfolio
KeyError: 'timestamp'
after
- Check portfolio again and loaded the balances however returning error
This is now fixed on latest commit from backend-API
Steps:
Actual: Review the issue reported before still ongoing
Tried on another chrome account, same thing
Steps:
Actual: Created successfully