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 esp8266 uploading and long filename under Windows 10 (Read 893 times)
Murray Hertz
Newbies
*
Offline


Posts: 1
Joined: Mar 25th, 2019
problem with esp8266 uploading and long filename under Windows 10
Nov 25th, 2019 at 7:07pm
Print Post  
My sketch builds okay, but the upload using espota.py fails, as shown in the attached verbose log. The only reason I can think of is that whatever creates this command line for python.exe is using a shortened version of some of the path elements (like "BRANDO~1" instead of the full name because it is longer than 8 characters (old Windows standard). Do I need to restrict all of my folder names to 8 chars or less?

When I upload the same code through a COM port, the pathnames also appear shortened, but it works fine.
« Last Edit: Nov 25th, 2019 at 7:14pm by Murray Hertz »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2175
Joined: Feb 13th, 2019
Re: problem with esp8266 uploading and long filename under Windows 10
Reply #1 - Nov 26th, 2019 at 10:40am
Print Post  
Running the same on my machine I see the shortened paths, but all works as expected.

python.exe tools/espota.py" -i "192.168.0.39" -p "8266" "--auth=" -f Example.ino.bin"

Can you confirm Python.exe runs from the command line and is included on the PATH and that the BIN file is present as expected in the below directory?

nn.ino.bin"
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: problem with esp8266 uploading and long filename under Windows 10
Reply #2 - Nov 26th, 2019 at 12:15pm
Print Post  
Have you installed Python?
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint