buckfast_beekeeper:
goth an error.
Thanks so much to the both of you for this report. I apologize for having been slow to respond. I put it on my "to do" list to investigate and submit a formal bug report to the Arduino IDE developers, but didn't get to it yet.
However, the Arduino community comes through even when I don't and there is now a report of it here:
opened 05:38PM - 05 Jan 22 UTC
closed 09:49AM - 25 Aug 22 UTC
conclusion: resolved
topic: code
type: imperfection
topic: CLI
network upload with esp8266 and esp32 core doesn't have `upload.port.properties.… port` property evaluated from network port discovery
IDE 2
```
.arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3" -I "/home/duro/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/espota.py" -i "192.168.1.113" -p "{upload.port.properties.port}" "--auth=a" -f "/tmp/arduino-sketch-41571935C07681B86282A62DC15FAFF8/Blink.ino.bin"
Usage: espota.py [options]
espota.py: error: option -p: invalid integer value: '{upload.port.properties.port}'
Upload error: Failed uploading: uploading error: exit status 2
```
IDE 1
>.arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 -I /home/duro/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/espota.py -i 192.168.1.113 -p 8266 --auth= -f /tmp/arduino_build_169908/Blink.ino.bin
(thanks @Juraj !)
1 Like