-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net.ifinfo fails with "Lua error: attempt to index a number value" or MCU reboot #3249
Comments
Can you reproduce this with a master build from the cloud builder? |
Nope, seems I'm too n00b for that web form.
… and it said "It's pointless to select that many modules, the build is going to fail." I guess your idea is that the bug may be related to my modules selection, so I tried with the
|
You only get to see this if you select 20 or modules.
No, not exactly. Regardless of your level of expertise if you manually edit source code or configuration options all sorts of things may go wrong. So, I built a default firmware myself (entered email address, didn't modify anything else and hit the build button) and flashed it.
Connected MCU to WiFi AP then:
=> can't reproduce your issues |
Indeed I first tried without disabling any modules (i.e. left the checkboxes as they were, except enable debug), and got the same error. That's why I had the idea to uncheck all. I'll try your form again with JS enabled, in case the checkboxes really do need the jQuery and stuff.
Have you tried it with |
After a bit of debugging the web form I managed to make it work, and got this firmware image. The commands used, without the noise:
|
Just tried with my current working dev build I also fount that
|
Instead it's supposed to return @vsky279 would you have time to take a look? |
I'll try to have a look :-) sometimes next week. |
There seems to be an easy fix: #3267 |
Expected behavior
net.ifinfo()
should return nil or a table.Actual behavior
Test code
Provide a Minimal, Complete, and Verifiable example which will reproduce the problem.
NodeMCU startup banner
see above
Hardware
ESP8266 LoLin v3, esptool says "Chip is ESP8266EX", using the firmware image from this build
The text was updated successfully, but these errors were encountered: