|
发表于 2022-1-15 22:00:09
|
显示全部楼层
更新了一直报错这..无法新建一直加载
2022-01-15 21:58:33,227 ERROR Uncaught exception GET /secret_keys (0.0.0.0)
HTTPServerRequest(protocol='http', host='192.168.3.12:8123', method='GET', uri='/secret_keys', version='HTTP/1.1', remote_ip='0.0.0.0')
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/esphome/yaml_util.py", line 344, in _load_yaml_internal
return loader.get_single_data() or OrderedDict()
File "/usr/local/lib/python3.9/dist-packages/yaml/constructor.py", line 49, in get_single_data
node = self.get_single_node()
File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 36, in get_single_node
document = self.compose_document()
File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 55, in compose_document
node = self.compose_node(None, None)
File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
File "/usr/local/lib/python3.9/dist-packages/yaml/parser.py", line 98, in check_event
self.current_event = self.state()
File "/usr/local/lib/python3.9/dist-packages/yaml/parser.py", line 428, in parse_block_mapping_key
if self.check_token(KeyToken):
File "/usr/local/lib/python3.9/dist-packages/yaml/scanner.py", line 116, in check_token
self.fetch_more_tokens()
File "/usr/local/lib/python3.9/dist-packages/yaml/scanner.py", line 223, in fetch_more_tokens
return self.fetch_value()
File "/usr/local/lib/python3.9/dist-packages/yaml/scanner.py", line 577, in fetch_value
raise ScannerError(None, None,
yaml.scanner.ScannerError: mapping values are not allowed here
in "/config/esphome/secrets.yaml", line 1, column 26:
src/main.cpp:330:7: error: stray '\347' in program
^
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/tornado/web.py", line 1702, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/usr/local/lib/python3.9/dist-packages/esphome/dashboard/dashboard.py", line 135, in decorator
return func(self, *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/esphome/dashboard/dashboard.py", line 855, in get
secret_keys = list(yaml_util.load_yaml(filename, clear_secrets=False))
File "/usr/local/lib/python3.9/dist-packages/esphome/yaml_util.py", line 336, in load_yaml
return _load_yaml_internal(fname)
File "/usr/local/lib/python3.9/dist-packages/esphome/yaml_util.py", line 346, in _load_yaml_internal
raise EsphomeError(exc) from exc
esphome.core.EsphomeError: mapping values are not allowed here
in "/config/esphome/secrets.yaml", line 1, column 26:
src/main.cpp:330:7: error: stray '\347' in program
^
2022-01-15 21:58:33,237 ERROR 500 GET /secret_keys (0.0.0.0) 12.68ms
2022-01-15 21:58:33,815 INFO 304 GET /devices (0.0.0.0) 3.09ms |
|