Yudaotor / EsportsHelper

通过selenium模拟浏览器来自动观看电竞比赛获取电竞典藏罐,当没有比赛时智能休眠.(Automatically watch e-sports games through undetected_chromedriver to farm esports capsule, when there is no match intelligent sleep.)
MIT License
201 stars 20 forks source link

Error On Start #117

Closed MehmetCanWT closed 8 months ago

MehmetCanWT commented 8 months ago

image its always says use zh_CN i tried to use but not worked

Yudaotor commented 8 months ago

config format error.check config file

MehmetCanWT commented 8 months ago

config format error.check config file

Ekran görüntüsü 2024-03-20 151748 my config is a yaml and its like this

MehmetCanWT commented 8 months ago

2024-03-20 15:21:23,955 INFO: ----------------------------------------------------------------------- 2024-03-20 15:21:23,955 INFO: ---------------------- Program started 2.4.0 ----------------------- 2024-03-20 15:21:23,956 INFO: ---------------------- Open Source on github ---------------------- 2024-03-20 15:21:23,957 INFO: ------- Address: https://github.com/Yudaotor/EsportsHelper ------ 2024-03-20 15:21:23,957 INFO: ---------------- Please give me a star,Thanks(^_^) --------------- 2024-03-20 15:21:23,957 INFO: ----------------------------------------------------------------------- 2024-03-20 15:21:23,981 ERROR: 配置文件格式错误 2024-03-20 15:21:23,981 ERROR: 请检查是否存在中文字符以及冒号后面应该有一个空格 2024-03-20 15:21:23,986 ERROR: 配置路径如有单斜杠请改为双斜杠 2024-03-20 15:21:23,996 ERROR: ++++++++++++++++++++++++++++++++++++++++++++++++++ Traceback (most recent call last): File "Config.py", line 69, in init File "yaml__init__.py", line 125, in safe_load File "yaml__init__.py", line 81, in load File "yaml\constructor.py", line 49, in get_single_data File "yaml\composer.py", line 36, in get_single_node File "yaml\composer.py", line 55, in compose_document File "yaml\composer.py", line 84, in compose_node File "yaml\composer.py", line 133, in compose_mapping_node File "yaml\composer.py", line 64, in compose_node File "yaml\parser.py", line 98, in check_event File "yaml\parser.py", line 449, in parse_block_mapping_value File "yaml\scanner.py", line 116, in check_token File "yaml\scanner.py", line 251, in fetch_more_tokens File "yaml\scanner.py", line 655, in fetch_double File "yaml\scanner.py", line 666, in fetch_flow_scalar File "yaml\scanner.py", line 1149, in scan_flow_scalar File "yaml\scanner.py", line 1213, in scan_flow_scalar_non_spaces yaml.scanner.ScannerError: while scanning a double-quoted scalar in "config.yaml", line 25, column 14 expected escape sequence of 8 hexadecimal numbers, but found 's' in "config.yaml", line 25, column 19

and the log

MehmetCanWT commented 8 months ago

I remember its need to be like this i fixed it thanks

chromePath: "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"