Closed theflorianmaas closed 3 years ago
It looks like your toolchain isn't installed correctly. The sh shell is complaining that the compiler program is not readable or executable, permission-wise.
How are you running ESPHome?
ESPHome is running as Home Assistant addon. I have removed and installed the addon. The toolchain is installed again with no issues
but then I get the same errors
I wonder if after the addon is removed then there is something to delete manually before installing the addon again.
I don't have ESPHome running as a Home Assistant addon. Using the standard dashboard container, I can't reproduce the issue. Can you please share the device YAML configuration that is failing for you, so I can be sure that I'm testing the same thing here?
Another issue that might be related is https://github.com/esphome/issues/issues/2607 In that issue, the system reported that toolchain-xtense 2.40802 was not available for the Raspberry Pi architecture. Are you running on Rasperry Pi? If yes, then possibly a package was created by now, but in a broken state.
No, it is running on x64 desktop. Thanks
The other question then: "Can you please share the device YAML configuration that is failing for you?"
All YAML configurations fail. See the attached file, containing a YAML returning the error
Thank you
All YAML configurations fail. See the attached file, containing a YAML returning the error
Thank you
Here is the file....
I tried compiling the exact example, and for me compilation worked. But my environment is not the same as yours. Let's hope somebody else can replicate the issue that you're seeing here.
I did a test with the HA add on version ESPhome 2021.10.3 and the yaml in your ESPHome_example.txt compiled without errors (had to extend the wifi password to 8 chars first), see attachted file. You could try to clean your build directories first. If that is not solves the problem remove and reinstall the ESPHome add on again.
I tried with a fresh intallation of HA and ESPHome and all YAML have been compiled correctly. Thank you all for your support!
Ok, curiouis why and how this happen, but good to know that it's not a general issue and that you got it to work 👍
The problem
I get this errors when I try to update existing nodes, This issue did not occour with the previous version. Any idea where and what to check? Thank you
Which version of ESPHome has the issue?
2021.10.3
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2021.11.1
What platform are you using?
ESP32
Board
ESP32-cam, ESP32 mini D1, TTGO-CAM
Component causing the issue
api_connection.cpp.o, api_pb2.cpp.o, api_pb2_service.cpp.o
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response