-->
Page 1 of 2

Getting PANIC Error.

PostPosted: Sat Sep 12, 2015 7:23 am
by onlyindian
Hello Guys,

I have written some code to set-up my ESP over the air. It scans for a set-up file which is dynamically written by another file. Details can be found in my git-hub account.

Now when my setupwifi.lua tries to write password, I get PANIC errors and I have no idea how to solve it.

I have attached snapshot for the error.

any help is appreciated.

Re: Getting PANIC Error.

PostPosted: Sat Sep 12, 2015 8:54 am
by martinayotte
It seems that line #74, there is a ".." concatenate missing.

Re: Getting PANIC Error.

PostPosted: Sat Sep 12, 2015 10:11 am
by onlyindian
Thank you very much for pointing that out. It really solved the PANIC issue.

But a new issue has cropped up.

If the password posted contains a period(.) then period and value after that is completely removed and wrong password is saved.

For example

password is "asdf.jkl" then the variable password1 contains only asdf.

Re: Getting PANIC Error.

PostPosted: Sat Sep 12, 2015 11:50 am
by martinayotte
For this new issue, I don't know if it is a bug in the SDK, but I know that in the past, space characters were an issue also.
I don't know if it has been fixed by now. Probably it is related. So, you probably need to avoid any special characters in your password.