Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic OTA The uploader process failed (Read 2141 times)
aengelmann
Newbies
*
Offline


Posts: 5
Joined: Jan 4th, 2018
OTA The uploader process failed
Jun 8th, 2022 at 9:08am
Print Post  
Hello,
unfortunately the workaround from the release notes doesn't work for me.
I get the message:
Usage: espota.py [options]
The uploader process failed
espota.py: error: option -p: invalid integer value: '{network.port}'.

the json files are up to date as of today.

Are there any other options ?

Many Thanks

Andreas

PS
With the Arduino IDE it works straight away.  Undecided
« Last Edit: Jun 8th, 2022 at 9:11am by aengelmann »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2708
Joined: Feb 13th, 2019
Re: OTA The uploader process failed
Reply #1 - Jun 8th, 2022 at 9:35am
Print Post  
Thanks for the report.

If you add a local board.txt from vMicro > Add Code > Add Local Board.txt, and then paste in the below contents, does it work as expected?
Code
Select All
# Board.txt password not required example:-
# local project board.txt overrides
  network.port=8266 



(From: https://www.visualmicro.com/page/OTA-Uploads-for-ESP32.aspx)
  
Back to top
IP Logged
 
aengelmann
Newbies
*
Offline


Posts: 5
Joined: Jan 4th, 2018
Re: OTA The uploader process failed
Reply #2 - Jun 8th, 2022 at 12:40pm
Print Post  
Thank you for your prompt reply.
The board.txt is in the project with the content.
The result is the same:
Usage: espota.py [options]
The uploader process failed
espota.py: error: option -p: invalid integer value: '{network.port}'.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2708
Joined: Feb 13th, 2019
Re: OTA The uploader process failed
Reply #3 - Jun 8th, 2022 at 2:17pm
Print Post  
Can you attach the full build output from your project, with the verbose & show build properties options enabled, as shown at the top of the page?
  
Back to top
IP Logged
 
aengelmann
Newbies
*
Offline


Posts: 5
Joined: Jan 4th, 2018
Re: OTA The uploader process failed
Reply #4 - Jun 9th, 2022 at 8:25am
Print Post  
Hello, good morning,
after recompiling, the OTA upload works "The upload process has finished."

Visual Studio crashed twice yesterday.
Maybe that was the reason.

Thanks for the time and the hints.
Andreas
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint