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 [ESP8266 2.4.0]Can not publish server data files (Read 1530 times)
jumbe
Newbies
*
Offline


Posts: 4
Joined: Mar 4th, 2020
[ESP8266 2.4.0]Can not publish server data files
Mar 4th, 2020 at 10:11pm
Print Post  
Hello there!

I installed your plug-in a few days ago and managed to get it compiling my program for an ESP8266 board (v2.4.0), but I can not make the server data files publishing work.
When I launch it, I get the following output from the console:

Quote:
ESP8266FSUpload.exe
## recipe.wwwfiles.upload.pattern
"c:\program files (x86)\microsoft visual studio\2019\community\common7\ide\extensions\hdrktixk.hju/ESP8266FSUpload.exe" -serial.port=COM4 Debug" -target_platform="esp8266" \esp8266\tools\mkspiffs\0.2.0" -board.name="WeMos D1 R2 & mini" -upload.verbose=True -upload.resetmethod=nodemcu -upload.speed=921600 are\esp8266\2.4.0" -project.name="test.ino" -project.path="D:\xxxxxxxx\Documents\Arduino\test\test\test" -tools.esptool.cmd="esptool.exe" esp8266\tools\esptool\0.4.12" \xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/" -build.spiffs_start="0x300000" -build.spiffs_end="0x3FB000" -build.spiffs_pagesize="256" -build.spiffs_blocksize="8192" -network.password={network.password} -network.auth_upload={network.auth_upload} -network.port={network.port}
 
LittleFS Error*: Unable to find python.exe


I already had Python installed when the error first appeared, but I tried removing it and install various versions: 2.7, 3.7, 3.9, to no avail.
I also updated VM from 1912.28.2 to 1912.28.6, which at least got me rid of all the "Missing board property" messages, but did nothing considering the python error.

I have spent 2 hours on this, and I don't see anything more I can try, so I would really appreciate a bit of help from you.

If you have any slightest idea, it would be awesome!! Smiley
« Last Edit: Mar 4th, 2020 at 10:12pm by jumbe »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: [ESP8266 2.4.0]Can not publish server data files
Reply #1 - Mar 4th, 2020 at 10:19pm
Print Post  
The esp tool chain changed how it uses pythin in recent months. Visual Micro was updated to cater for both types regardless of if you have older or newer esp tools installed. 

I thought that change was in in the december release but maybe not. Please try the latest which is currently available here https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES

If it is still an issue then please provide the info requested in the yellow box above so we can replicate your environment.

Thanks
  
Back to top
WWW  
IP Logged
 
jumbe
Newbies
*
Offline


Posts: 4
Joined: Mar 4th, 2020
Re: [ESP8266 2.4.0]Can not publish server data files
Reply #2 - Mar 4th, 2020 at 10:25pm
Print Post  
First, thank you for the blazing fast answer !

So I just installed the latest version, 20.03.01.02... and still the exact same error :/
« Last Edit: Mar 4th, 2020 at 10:26pm by jumbe »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: [ESP8266 2.4.0]Can not publish server data files
Reply #3 - Mar 4th, 2020 at 10:26pm
Print Post  
Okay thanks, Please provide the info requested in the yellow box above so we can replicate your environment.
  
Back to top
WWW  
IP Logged
 
jumbe
Newbies
*
Offline


Posts: 4
Joined: Mar 4th, 2020
Re: [ESP8266 2.4.0]Can not publish server data files
Reply #4 - Mar 4th, 2020 at 10:35pm
Print Post  
Here you go! Smiley
« Last Edit: Mar 5th, 2020 at 9:34am by jumbe »  

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


Posts: 2145
Joined: Feb 13th, 2019
Re: [ESP8266 2.4.0]Can not publish server data files
Reply #5 - Mar 5th, 2020 at 11:36am
Print Post  
Thanks for the detail here, it has been invaluable.

We will publish an updated extension in the coming days with this fix built in, and if you wish to try it before that the instructions below should get you up and running.

1) Go to vMicro > General > Global Options
2) Scroll to the Bottom and copy the path from the property "Assembly Location"
3) Open this Folder in Windows Explorer
4) Download this copy of the ESP8265FS.exe file, and overwrite the one in the folder opened in #3
5) Try the SPIFFS upload again, it should work as expected now for all cores.

A work around is to update the core to a later version, however know this is not always possible or desirable for the project, and the above fix avoids the need to do this.
« Last Edit: Mar 5th, 2020 at 6:27pm by Simon@Visual Micro »  
Back to top
 
IP Logged
 
jumbe
Newbies
*
Offline


Posts: 4
Joined: Mar 4th, 2020
Re: [ESP8266 2.4.0]Can not publish server data files
Reply #6 - Mar 5th, 2020 at 6:00pm
Print Post  
Weeeee, it works!! Thank you very much!! Cheesy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint