-
Notifications
You must be signed in to change notification settings - Fork 132
Esp8266 Ota Bad Path Sloeber v4.4 #1371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I can confirm the issue. |
Thanks for the feedback |
For data I use a copy of arduinoPlugin (only the txtx files) I won't check this is a it is big and can be reproduced by sloeber itself
Before 4.4 sloeber handled the expansion based on all environment variables. In 4.4 this was no longer possible as the variables are not known at the time when the workaround is applied. This caused issues This solution expands based on the platform.txt content itself. As this is not covering all cases some keywords are always expanded. Also: some keywords are never expanded
This enforces the creation of new workaround files
This one should be fixed in the nightly after the next nightly build. |
I just had the same issue on NodeMcu-32S (espressif esp32 board) with Sloeber v4.4.0 win64 2021-07-04-48-31. |
Board specific means not all boards have this issue. |
I had this issue (all the ones that link back to this number - ie esp32 won't upload as arguments aren't there) with 4.4, so downloaded the latest nightly and it was still there. Though the edit ("tools.esptool_py.upload.pattern="{path}/{cmd}" {tools.esptool_py.upload.pattern_args}" DID fix it. It might be worth getting this fix up asap, or semi technical people will try it once for the esp32, it will fail to upload, and they will give up.. |
@ianr34 |
Hello Everyone,
I am currently running Sloeber 4.4 on windows and trying to programm an esp8266 via OTA. This project was created in v4.3 and ported into v4.4, and now OTA is no longer working. Same error occurs when using esp8266 core v2.6.3 or v3.0.2
here is the error I am getting in the console window when trying to upload the code via ota
Starting upload
Uploading project "Esp_MQTT_LightSensor" with "esptool"
no reset because we are using network upload
Launching: -I C:\Sloeber-v4.4\arduinoPlugin\packages\esp8266\hardware\esp8266\3.0.2/tools/espota.py -i Light-Sensor.local -p 8266 --auth=no_pwd_found_in_code -f C:\sloeber-workspace-esp\Esp_MQTT_LightSensor\Release/Esp_MQTT_LightSensor.bin
Output:
Cannot run program "" (in directory "C:\sloeber-workspace-esp"): CreateProcess error=87, The parameter is incorrect
failed to upload "L/Esp_MQTT_LightSensor/Esp_MQTT_LightSensor}/Release/Esp_MQTT_LightSensor.hex"
What is very strange is the failed to upload line, the path is completely wrong
L/Esp_MQTT_LightSensor/Esp_MQTT_LightSensor}
It appears something is not being interpreted correctly somewhere, because there is a unmatched }
Also Esp_MQTT_LightSensor/Esp_MQTT_LightSensor is not how my project is organized, and have no L directories or drives.
Here is a screenshot of the CreateProcess error

The text was updated successfully, but these errors were encountered: