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 Problem with OTA and python.exe (Read 1618 times)
BigAl66
Newbies
*
Offline


Posts: 5
Joined: Jun 13th, 2017
Problem with OTA and python.exe
Feb 24th, 2018 at 10:40pm
Print Post  
Hi,
I use VMICRO Pro to program an ESP8266 (WeMos D1 Mini) OTA. It works well except on thing:

After the script has been uploaded python.exe will not allways exit automatically. It stays in memory and uses permanent 100% load of 1 cpu core. When I make another upload an addition instance of python.exe is started. It can happen that this new instance now work well or will also not be stopped.

Is there a solution to fix this isue?

Alex
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with OTA and python.exe
Reply #1 - Feb 24th, 2018 at 10:53pm
Print Post  
Not sure which tool chain version but you could take a look at the end of the python script to see why it's not ending.

Do the processes terminate after 5 mins?
« Last Edit: Feb 24th, 2018 at 10:54pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
BigAl66
Newbies
*
Offline


Posts: 5
Joined: Jun 13th, 2017
Re: Problem with OTA and python.exe
Reply #2 - Feb 24th, 2018 at 11:19pm
Print Post  
Sometimes a get after a view minutes the message "The uploader returned an error". But even in this case the python.exe stays in memory.

I looked to the espota.py file. at the end there is a call to "serve". In the serve-function there are a lot of "logging.info" calls. Maybe there is a way to find out where the logging is going to...

And no: The process do not terminate after five minutes. The process stays until I terminate it in the task manager. The process is shown as a sub-process of Visual Studio. When I close Visual Studio the process is still there as a standalone process...

About the tool chain version. I use:

- Actual Arduino version (1.8.5) - all libraries and boards are up to date.
- Visual Studio 2017 (up to date)
- Visual Micro Pro (up to date)
- Everything on Windows Pro

Alex
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with OTA and python.exe
Reply #3 - Feb 25th, 2018 at 1:13pm
Print Post  
Does the process stay open when you upload with the arduino ide?

The esp tool chain version is seen/installed via board manager.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint