Skip to content

lua_examples/luaOTA crashes when entering _init.lua #2954

@sognetic

Description

@sognetic

Expected behavior

I've been trying to use the luaOTA example from lua_examples to do deployment.
Expected behaviour is thus: Not crashing.
.

Actual behavior

Code immediately panics when entering _init.lua with

Starting Provision Checks

PANIC: unprotected error in call to Lua API (luaOTA/_doTick.lua:1: attempt to index global 'self' (a nil value))

Test code

MCVE is simply uploading the code in luaOTA (minus the server component) to the ESP

NodeMCU version

master
commit: 310faf7

Hardware

NodeMCU board Ver. 0.1 (?)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions