Open Daemon256 opened 1 day ago
The same issue was mentioned in a totally unrelated issue https://github.com/esphome/issues/issues/6370#issuecomment-2433427915 Looks like you have protobuf lib that is not compatible https://github.com/mlflow/mlflow/issues/11811 / https://groups.google.com/g/protobuf/c/mlGp7ZzqKj8
Just tested 2023.11.1 (latest), 2024.10.2 (yours) and dev docker images and no issues.
The problem
INFO ESPHome 2024.10.2 INFO Reading configuration /config/esphome/1floor.yaml... INFO Detected timezone 'Europe/Moscow' Traceback (most recent call last): File "/usr/local/bin/esphome", line 8, in
sys.exit(main())
^^^^^^
File "/esphome/esphome/main.py", line 1018, in main
return run_esphome(sys.argv)
^^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/main.py", line 1005, in run_esphome
rc = POST_CONFIG_ACTIONS[args.command](args, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/main.py", line 481, in command_logs
return show_logs(config, args, port)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/main.py", line 383, in show_logs
from esphome.components.api.client import run_logs
File "/esphome/esphome/components/api/client.py", line 8, in
from aioesphomeapi import APIClient
File "/usr/local/lib/python3.11/dist-packages/aioesphomeapi/init.py", line 2, in
from .api_pb2 import ( # type: ignore[attr-defined] # noqa: F401
File "/usr/local/lib/python3.11/dist-packages/aioesphomeapi/api_pb2.py", line 17, in
from . import api_options_pb2 as apioptionspb2
File "/usr/local/lib/python3.11/dist-packages/aioesphomeapi/api_options_pb2.py", line 52, in
google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(needs_setup_connection)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'MethodOptions' has no attribute 'RegisterExtension'
Which version of ESPHome has the issue?
2024.10.2
What type of installation are you using?
Docker
Which version of Home Assistant has the issue?
2024.10.3
What platform are you using?
ESP8266
Board
nodemcu
Component causing the issue
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response