Hi all
I'm having a bit of a hard time nailing a lua/scripting/pachube error.....
I have several scripts running that receive inputs from an EnviR, do some maths on the values then post those values to Pachube on several different feeds.....my problem is that one (or more) of the scripts occasionally causes Pachube to error out - and its a fatal error as it takes a manual reboot from me to get the Pachube module to re-start sending data, even though it still has a heart beat in xFx viewer!
I've tried going back to basics and just having one script working, then adding in another and another till it fails - but it fails randomly......
The xap-pachube error log shows:-
[err][pachulib.c:196:read_data] errno 22 (Invalid argument)
[err][pachulib.c:196:read_data] Err!! desconexion en recv
multiple times.....
Is there somewhere I can get xap-pachube error log to show more detail - like which script caused the posting error?
ALSO - as an asside, is there a beep() command in lua I can use to alert me as to when an error or a specific event has occured?
hope you can help....
EJ