hummingbot / dashboard

Application that helps you create, backtest, deploy, and manage Hummingbot instances
Apache License 2.0
162 stars 98 forks source link

Bug Report #131

Closed wjy4528 closed 1 month ago

wjy4528 commented 2 months ago

Describe the bug

We are encountering below exceptions after upgrade hummingbot version to v1.27.0 Is there any version compatibility issue between dashboard and hummingbot?

latest version of hummingbot is not on pip yet, so I modified in environment_conda.yml to install the latest

ImportError: cannot import name 'read_yaml_file' from 'utils.os_utils' (/data/dashboard/utils/os_utils.py) 2024-04-29 16:22:36.582 Uncaught app exception Traceback (most recent call last): File "/data/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script exec(code, module.dict) File "/data/dashboard/main.py", line 6, in from utils.os_utils import read_yaml_file, dump_dict_to_yaml File "/data/dashboard/utils/os_utils.py", line 8, in from hummingbot.smart_components.strategy_frameworks.directional_trading import DirectionalTradingControllerBase, DirectionalTradingControllerConfigBase ModuleNotFoundError: No module named 'hummingbot.smart_components.strategy_frameworks

Steps to reproduce bug

david-hummingbot commented 1 month ago

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!