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
Hot Topic (More than 8 Replies) Publish server data files SPIFFS error (Read 4204 times)
EricDuino
Junior Member
**
Offline


Posts: 22
Joined: Jun 13th, 2016
Publish server data files SPIFFS error
Feb 2nd, 2020 at 1:26am
Print Post  
Windows 10
VMicro: 1912.28.2
Arduino: 1.8.10
ESP8266-S
ESP8266 core for Arduino 02-02-2020
Board: NodeMCU 0.9(ESP12 Module)
Serial COM9

Can you help please ?

Publish server data files SPIFFS is
not working.
I've tried to upload a small text file.

Error:

ESP8266FSUpload.exe
Missing board property: name
Missing board property: build.board
Missing board property: build.variant
Missing board property: upload.tool
Missing board property: upload.maximum_data_size
Missing board property: upload.wait_for_upload_port
Missing board property: upload.erase_cmd
Missing board property: serial.disableDTR
Missing board property: serial.disableRTS
Missing board property: build.mcu
Missing board property: build.core
Missing board property: build.debug_port
Missing board property: build.debug_level
Missing board property: source_file
Missing board property: build.path_core_cached_root
Missing board property: object_files
.........more

C:\ONTWIKKELING\Arduino\Projecten\WIFI_Kast\data\test.txt
SPIFFS Creating Image...
[SPIFFS] data   : C:\ONTWIKKELING\Arduino\Projecten\WIFI_Kast\data
[SPIFFS] size   : 2024
[SPIFFS] page   : 256
[SPIFFS] block  : 8192
/test.txt
SPIFFS Uploading Image...
[SPIFFS] upload : e06d1885bdd5f0898044215a48aa/WIFI_Kast.ino.spiffs.bin





« Last Edit: Feb 2nd, 2020 at 1:08pm by EricDuino »  
Back to top
 
IP Logged
 
Acuario
Full Member
***
Offline


Posts: 233
Location: Spain
Joined: Aug 28th, 2015
Re: Publish server data files SPIFFS error
Reply #1 - Feb 3rd, 2020 at 6:09am
Print Post  
Update your vm to 1912.28.4 (or later), you can download it from the forum https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES 

This fixes the Missing board property messages (which don't actually affect the SPIFFS build).
It looks like your SPIFFS file is being built and uploaded correctly. If you want to check turn on Verbose (vMicro/Uploader/Verbose)
« Last Edit: Feb 3rd, 2020 at 6:12am by Acuario »  
Back to top
 
IP Logged
 
EricDuino
Junior Member
**
Offline


Posts: 22
Joined: Jun 13th, 2016
Re: Publish server data files SPIFFS error
Reply #2 - Feb 3rd, 2020 at 12:28pm
Print Post  
Thank you Acuario, that works for the messages, but I still have a problem with :
"Publish server data files", the files in the "data" directory will not update.
It works when I use Arduino.exe, but not in Visual micro.
Maybe the path is not right ?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Publish server data files SPIFFS error
Reply #3 - Feb 3rd, 2020 at 12:34pm
Print Post  
It's not clear what error you are seeing and when?

Please explain that and also provide the information requested in the yellow box above.
  
Back to top
WWW  
IP Logged
 
EricDuino
Junior Member
**
Offline


Posts: 22
Joined: Jun 13th, 2016
Re: Publish server data files SPIFFS error
Reply #4 - Feb 3rd, 2020 at 2:25pm
Print Post  
This is the error, when I click "Publish server data files"
but It works well when I do this in Arduino.exe IDE

ESP8266FSUpload.exe
C:\ONTWIKKELING\Arduino\Projecten\WIFI_Kast\data\NAS_192.168.2.66.der
C:\ONTWIKKELING\Arduino\Projecten\WIFI_Kast\data\test.txt
SPIFFS Creating Image...
[SPIFFS] data   : C:\ONTWIKKELING\Arduino\Projecten\WIFI_Kast\data
[SPIFFS] size   : 3048
[SPIFFS] page   : 256
[SPIFFS] block  : 8192
/NAS_192.168.2.66.der
/test.txt
Onverwerkte uitzondering*: System.FormatException: De indeling van de invoertekenreeks is onjuist
   bij System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
SPIFFS Uploading Image...
   bij System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   bij ESP8266FSUpload.ESP8266FS.createAndUpload()
   bij ESP8266FSUpload.Program.Main(String[] args)
[SPIFFS] upload : e06d1885bdd5f0898044215a48aa/WIFI_Kast.ino.spiffs.bin
« Last Edit: Feb 3rd, 2020 at 2:28pm by EricDuino »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Publish server data files SPIFFS error
Reply #5 - Feb 3rd, 2020 at 3:08pm
Print Post  
That sounds like a some integer property such as size is not set correctly. We can resolve but need the information requested in the yellow box. 

To be clear, please do the following:-

1 - Enabled vMicro > Compiler > "Show Build Properties" and the "Verbose" options.
2 - Try spiffs again and we should see a better (more useful) output


After a build it would also help if you posted a 2nd output with those settings on.

You can attach .txt files to your post if you click the "Reply" button. You need to do that for large outputs.
  
Back to top
WWW  
IP Logged
 
EricDuino
Junior Member
**
Offline


Posts: 22
Joined: Jun 13th, 2016
Re: Publish server data files SPIFFS error
Reply #6 - Feb 3rd, 2020 at 3:24pm
Print Post  
I'm sorry, but verbose is absolutely on, I have checked it twice, and this is the result.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Publish server data files SPIFFS error
Reply #7 - Feb 3rd, 2020 at 3:28pm
Print Post  
Okay let's see that build output with those settings on please. This will show us the spiffs settings too.
  
Back to top
WWW  
IP Logged
 
EricDuino
Junior Member
**
Offline


Posts: 22
Joined: Jun 13th, 2016
Re: Publish server data files SPIFFS error
Reply #8 - Feb 3rd, 2020 at 3:32pm
Print Post  
ESP8266FSUpload.exe
C:\ONTWIKKELING\Arduino\Projecten\WIFI_Kast\data\NAS_192.168.2.66.der
C:\ONTWIKKELING\Arduino\Projecten\WIFI_Kast\data\test.txt
SPIFFS Creating Image...
[SPIFFS] data   : C:\ONTWIKKELING\Arduino\Projecten\WIFI_Kast\data
[SPIFFS] size   : 3048
[SPIFFS] page   : 256
[SPIFFS] block  : 8192
/NAS_192.168.2.66.der
Onverwerkte uitzondering*: System.FormatException: De indeling van de invoertekenreeks is onjuist
   bij System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   bij System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   bij ESP8266FSUpload.ESP8266FS.createAndUpload()
/test.txt
   bij ESP8266FSUpload.Program.Main(String[] args)
SPIFFS Uploading Image...
[SPIFFS] upload : e06d1885bdd5f0898044215a48aa/WIFI_Kast.ino.spiffs.bin
« Last Edit: Feb 3rd, 2020 at 3:34pm by EricDuino »  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Publish server data files SPIFFS error
Reply #9 - Feb 3rd, 2020 at 4:05pm
Print Post  
Tanks for the spiffs and board info. Please follow the guide in yellow above and build your project then provide the build output. Spiffs is not part of this test, we need a build not a spiffs upload. This provides a lot of info such as toolchain verion etc.
  
Back to top
WWW  
IP Logged
 
EricDuino
Junior Member
**
Offline


Posts: 22
Joined: Jun 13th, 2016
Re: Publish server data files SPIFFS error
Reply #10 - Feb 3rd, 2020 at 4:15pm
Print Post  
Sorry, for not understanding it quickly, but I hope this file is OK.
Thank you.
  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Publish server data files SPIFFS error
Reply #11 - Feb 3rd, 2020 at 4:51pm
Print Post  
Ah great thanls. 

Late last year the esp8266 moved to python3 and changed the spiffs upload sligtly. We published an update with the changes. However, you have installed esp8266 manually into your arduinoide\hardware folder which does not carry the board manager version stamp in folder names. This is causing our verion checks to fail.

We will issue a minor update over the next day or so to reolve this issue.

Thanks for the report.

  
Back to top
WWW  
IP Logged
 
EricDuino
Junior Member
**
Offline


Posts: 22
Joined: Jun 13th, 2016
Re: Publish server data files SPIFFS error
Reply #12 - Feb 3rd, 2020 at 7:10pm
Print Post  
Great, thank you for your fast help...
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint