Skip to content
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

run_config.lua:54: attempt to index global 'buf' (a nil value) #10

Open
rwkiii opened this issue Feb 3, 2016 · 2 comments
Open

run_config.lua:54: attempt to index global 'buf' (a nil value) #10

rwkiii opened this issue Feb 3, 2016 · 2 comments

Comments

@rwkiii
Copy link

rwkiii commented Feb 3, 2016

I have a PANIC error I when running ESPBootloader. What is the proper way of fixing this?

Serial output displays over and over as init.lua is restarted.:

NodeMCU custom build by frightanic.com
branch: master
commit: c8037568571edb5c568c2f8231e4f8ce0683b883
SSL: false
modules: file,gpio,net,node,spi,tmr,u8g,uart,wifi
build built on: 2016-02-03 06:17
powered by Lua 5.1.4 on SDK 1.4.0

5
4
3
2
IP unavailable, waiting.
1
Enter configuration mode
Get available APs
Preparing HTML Form
PANIC: unprotected error in call to Lua API (run_config.lua:54: attempt to index global 'buf' (a nil value))
c_ÇRSöfJSúfJÃjîóïø

@medamarko
Copy link

I have same issue. Module ESP12F.

@medamarko
Copy link

Seems like the html file was in wrong location. Changingif (file.open('html/configform.html','r')) then to your html file location, solved this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants