esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
285 stars 34 forks source link

'invalid escape sequence' in elf2bin.py #5768

Open Masterz69 opened 1 week ago

Masterz69 commented 1 week ago

The problem

Getting followed on compile:

Building .pioenvs\zzz-d1mini\firmware.bin
C:\Users\IgMi\.platformio\packages\framework-arduinoespressif8266\tools\elf2bin.py:54: SyntaxWarning: invalid escape sequence '\s'
  words = re.split('\s+', line)
C:\Users\IgMi\.platformio\packages\framework-arduinoespressif8266\tools\elf2bin.py:73: SyntaxWarning: invalid escape sequence '\s'
  words = re.split('\s+', line)
esp8266_copy_factory_bin([".pioenvs\zzz-d1mini\firmware.bin"], [".pioenvs\zzz-d1mini\firmware.elf"])

So far it happens on first compilation of device YAML regardless on used components etc. On subsequent compilations do not see it anymore.

Which version of ESPHome has the issue?

2024.4.1

What type of installation are you using?

pip

Which version of Home Assistant has the issue?

No response

What platform are you using?

ESP8266

Board

No response

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