Closed MehmetCanWT closed 8 months ago
config format error.check config file
config format error.check config file
my config is a yaml and its like this
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
I remember its need to be like this i fixed it thanks
chromePath: "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"
its always says use zh_CN i tried to use but not worked