-
-
Notifications
You must be signed in to change notification settings - Fork 206
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When reviewing hyperliquid bot running for almost 2 days, archived and decided to check the performance page. However after selecting the controller and loading Global Metrics page, ValueError occurred
ValueError: Executors must be a non-empty list of dictionaries
Traceback:
File "/home/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 "/home/rapcomia/hummingbot/dashboard/main-dashboard/frontend/pages/performance/bot_performance/app.py", line 43, in <module>
asyncio.run(main())
File "/home/rapcomia/miniconda3/envs/dashboard/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/home/rapcomia/miniconda3/envs/dashboard/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/rapcomia/hummingbot/dashboard/main-dashboard/frontend/pages/performance/bot_performance/app.py", line 31, in main
display_global_results(data_source)
File "/home/rapcomia/hummingbot/dashboard/main-dashboard/frontend/visualization/bot_performance.py", line 102, in display_global_results
display_side_analysis(data_source, selected_controllers_filter, is_long=False)
File "/home/rapcomia/hummingbot/dashboard/main-dashboard/frontend/visualization/bot_performance.py", line 124, in display_side_analysis
results = fetch_long_results(executors_dict) if is_long else fetch_short_results(executors_dict)
File "/home/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/caching/cache_utils.py", line 168, in wrapper
return cached_func(*args, **kwargs)
File "/home/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/caching/cache_utils.py", line 199, in __call__
return self._get_or_create_cached_value(args, kwargs)
File "/home/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/caching/cache_utils.py", line 224, in _get_or_create_cached_value
return self._handle_cache_miss(cache, value_key, func_args, func_kwargs)
File "/home/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/caching/cache_utils.py", line 280, in _handle_cache_miss
computed_value = self._info.func(*func_args, **func_kwargs)
File "/home/rapcomia/hummingbot/dashboard/main-dashboard/frontend/visualization/bot_performance.py", line 155, in fetch_short_results
results_response = backend_api.get_performance_results(executors=executors_dict)
File "/home/rapcomia/hummingbot/dashboard/main-dashboard/backend/services/backend_api_client.py", line 312, in get_performance_results
raise ValueError("Executors must be a non-empty list of dictionaries")
Steps to reproduce bug
- Setup deploy in source or docker
- Copy the content of the attached file on
- Copy the instance folder to
./bots/archived - Copy the .json and .sqlite to
./bots/datafolder
- Copy the instance folder to
- Launch dashboard and go to performance page, load the database and observe
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
