repeating line in log - what is it?

I see this about every 10-20 lines in my logs. any idea what it is:

LuaInterface::CallFunction_Timer-5 function poll_status_cycle failed [string “…”]:365: attempt to call field ‘decode’ (a nil value) <

I think this is telling you that you have a problem with some Lua code in a scene or Startup Lua. I would check any code that uses a variable or function named decode.

I suppose it could also be code in a plugin but, if it were, I would expect to see the device number in the error message.

[quote=“RexBeckett, post:2, topic:187382”]I think this is telling you that you have a problem with some Lua code in a scene or Startup Lua. I would check any code that uses a variable or function named decode.

I suppose it could also be code in a plugin but, if it were, I would expect to see the device number in the error message.[/quote]

I don’t use any Lua Startup code… in fact, the only Lua i use is in a sonos scene. just checked, “decode” not an there.

Any ideas how else i can troubleshoot? Lots of plugins… so not even sure where to start.

A guess would be from something that is calling a JSON library where the library is not loaded. Are you trying to use dk-json or the pure lua json libraries floating around. dk-json is installed on Vera by default but the pure lua ones are not.

And the log indicates it’s repeating how often? And have you changed the firmware of late? That is: is this a recent occurrence?

Are you using the EtherRain plugin? If so that may be the problem.

[quote=“a-lurker, post:5, topic:187382”]And the log indicates it’s repeating how often? And have you changed the firmware of late? That is: is this a recent occurrence?

Are you using the EtherRain plugin? If so that may be the problem.[/quote]

I haven’t done anything with the Json libraries… at least other than upload files for certain plugins.

No firmware updates. still on U15.

I’m using opensprinkler plugin if that helps… just disabled it from the U15 plugin, and now see this in the logs (among a lot of other stuff). so It must be related.

LuaInterface::CallFunction_Job device 148 function SOpenSprinkler1_OpenSprinkler1_SetModeTarget_job failed [string “…”]:365: attempt to call field ‘decode’ (a nil value) <0x2b950000>
01 05/19/15 19:38:49.145 Lua_Job::Run job#882 : dev:148 (0x24eaff0) P:50 S:0 failed <0x

FIXED. see this thread.
http://forum.micasaverde.com/index.php/topic,29977.msg234817.html#msg234817

it was a Jason parsor that I hadn’t installed.