Blackymas / NSPanel_HA_Blueprint

This allows you to configure your complete NSPanel via Blueprint with UI and without changing anything in the code
1.33k stars 247 forks source link

Compile Error ESPHome 2023.10.1 #1190

Closed nilsreiter closed 10 months ago

nilsreiter commented 10 months ago

I tried updating the panel to ESPHome 2023.10.1 (from 2023.9.3) and get the following error:

INFO ESPHome 2023.10.1
INFO Reading configuration /config/esphome/kuche-nspanel.yaml...
INFO Detected timezone 'Europe/Berlin'
INFO Generating C++ source...
INFO Compiling app...
Processing kuche-nspanel (board: esp32dev; framework: arduino; platform: platformio/espressif32@5.4.0)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Dependency Graph
|-- AsyncTCP-esphome @ 2.0.1
|-- WiFi @ 2.0.0
|-- FS @ 2.0.0
|-- Update @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.1.0
|-- DNSServer @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- ArduinoJson @ 6.18.5
|-- WiFiClientSecure @ 2.0.0
|-- HTTPClient @ 2.0.0
Compiling .pioenvs/kuche-nspanel/src/main.cpp.o
xtensa-esp32-elf-g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
*** [.pioenvs/kuche-nspanel/src/main.cpp.o] Error 1
========================= [FAILED] Took 48.58 seconds =========================

Code for all other esphome devices compiled just fine, that's why I post this here. Any ideas?

nilsreiter commented 10 months ago

Ah, this may be related to these entries in the host log:

Out of memory: Killed process 752811 (python3) total-vm:2114208kB, anon-rss:801180kB, file-rss:4176kB, shmem-rss:0kB, UID:0 pgtables:1724kB oom_score_adj:200
Oct 20 08:45:44 homeassistant systemd[1]: docker-3f98250226def5c17e98f1c4643ef7c51dfed53a895c0b58174b7dfcc343c4c2.scope: A process of this unit has been killed by the OOM killer.
nilsreiter commented 10 months ago

Ok, this will be a short-lived issue -- I leave it here in case others have the same problem.

Stopping a few add-ons (temporarily) freed enough memory so that the compiling was successful.