-->
Page 1 of 3

file.remove("") Not working!

PostPosted: Thu Mar 05, 2015 5:54 pm
by ssylca
Several times I got a bad 'Save to ESP' using ESPlorer, and after that couldn't remove the file using the Lua command. I had to re-flash Lua with NodeMCU Firmware Programmer to again get control of the ESP8266. Any idea why this happen?
Thanks

Re: file.remove("") Not working!

PostPosted: Fri Mar 06, 2015 4:08 pm
by raz123
I've gotten this a few times as well. I'm trying to come up with a way to reliably reproduce this issue so that the concerned developers can fix it. If you manage to do it, please post here.

Re: file.remove("") Not working!

PostPosted: Fri Mar 06, 2015 5:37 pm
by andrew melvin
I've had this as well. Im wondering if it when you've run out of space.

I also had to Reflash.... Untill I discovered.

file.format()

For me it cleaned it all up and I just had to re write all the files. Faster than a reflash!

Re: file.remove("") Not working!

PostPosted: Sat Mar 07, 2015 1:04 pm
by ssylca
I tried the file.format() command and just got this message ..... attempt to call field 'format' (a nil value)
The file didn't get erased!
Back to a re-flash!
S.