13.09.2020, 21:28
(This post was last modified: 13.09.2020, 23:06 by benanderson_475.)
Hi i am running some tests with the above code for mqtt, some reason i receive an error in the log as below, i don't know why the loop.get() function is not returning?
Resident script:29: attempt to index global 'loop' (a nil value)
stack traceback:
Resident script:29: in function 'setup'
resident script line 29 has, local lp = loop.get()
i have added the library called 'eventloop' as above.
[Edit]
ahhh i have it now, i removed the first local before loop ={} in the library i am connected now...
Resident script:29: attempt to index global 'loop' (a nil value)
stack traceback:
Resident script:29: in function 'setup'
resident script line 29 has, local lp = loop.get()
i have added the library called 'eventloop' as above.
[Edit]
ahhh i have it now, i removed the first local before loop ={} in the library i am connected now...