Lua Startup Failed

Hi

Second time I have had this. On the first, I ended up just recreating everything as was only a small PLEG. This one, its larger, so I really would like to know what has gone wrong. I set debug on and nothing much showing in the logs when I restart. Just one line:
50 07/31/14 13:54:45.318 luup_log:88: PLEG-88:Initialize:Restart <0x2b825680>

I have tried deleting the updated conditions and anything I could remember I had done before restarting, but not made any difference. Any advice please?
Cheers

Security Control
Device ID: 882014-07-31 14:00:45.240 PLC Version: 6.9
Registration
You have 1 licenses, which allows for 4 PLEG and/or PLTS plugins.
Your license key is: $1$1kfzmEra$C6aCM0EAts2ivekkKMhWR9
Triggers
Name Description State Last True Last False
Alarmed Home State Switch 3 is turned on false 2014-07-31 13:23:55.130 2014-07-31 13:35:15.031
BathMotion Bathroom is tripped false 2014-07-31 12:43:49.848 2014-07-31 13:06:57.767
BifoldDoorLeft Bifold Door Left is tripped true 2014-07-31 13:11:14.597 2014-07-31 08:08:43.343
DiningMotion Dining Motion is tripped false 2014-07-31 12:52:38.439 2014-07-31 13:06:56.882
DSCArmed DSC Alarm is Armed false 0 0
EZMotion Living Room EzMotion is tripped false 2014-07-31 12:59:34.302 2014-07-31 13:00:24.011
HallMotion Hallway is tripped false 2014-07-31 12:59:47.606 2014-07-31 13:06:56.375
KidsBrMotion Kids Bedroom is tripped false 2014-07-31 09:35:06.800 2014-07-31 13:06:58.207
LandingMotion Landing is tripped false 2014-07-31 12:59:54.532 2014-07-31 13:06:57.248
LivingMotion Living Room Motion is tripped false 2014-07-31 12:59:42.621 2014-07-31 13:06:56.757
MainBrMotion Main Bedroom is tripped false 2014-07-31 12:43:46.781 2014-07-31 13:06:58.040
Sleep Home State Switch 6 is turned on false 2014-07-31 13:35:09.772 2014-07-31 13:35:12.806
Schedules
Name On Type On Time On Days Random On Delay Off After Type Off Time Off Days Random Off Delay State Last On Last Off
NightTimeWeek Weekly 21:00:00 1,2,3,4,5 None Weekly 08:00:00 1,2,3,4,5 None false 2014-07-30 21:00:00.100 2014-07-31 08:00:00.100
Conditions
Name Repeat Expression State Last True Last False
KidsUp No Sleep AND LandingMotion AND (KidsBrMotion < 30) AND (KidsBrMotion;LandingMotion < 30) false 2014-07-31 07:09:25.270 2014-07-31 07:09:30.890
ParentsUp No Sleep AND LandingMotion AND (MainBrMotion < 30) AND (MainBrMotion;LandingMotion < 30) false 2014-07-31 12:43:50.290 2014-07-31 12:43:56.726
SomeoneDown No !SomeoneDown AND ((KidsUp and HallMotion and (KidsUp; HallMotion < 120)) or (ParentsUp and HallMotion and (ParentsUp;HallMotion < 120))) false 2014-07-31 12:43:54.885 2014-07-31 12:43:56.732
DownstairsMotion No LivingMotion OR HallMotion OR DiningMotion false 2014-07-31 12:59:42.637 2014-07-31 12:59:55.120
SleepAlarm No Sleep AND (Alarmed AND (DownstairsMotion @ 2 < 2:00) false 0 0
UpstairsMotion No BathMotion OR LandingMotion OR KidsBrMotion OR MainBrMotion false 2014-07-31 12:59:54.575 2014-07-31 12:59:58.095
NoMotion No !Sleep AND !BifoldDoorLeft AND !UpstairsMotion AND !DownstairsMotion false 2014-07-31 09:11:53.965 2014-07-31 09:11:54.465
NoMotion2hr No NoMotion AND (NoMotion; NOW > 2:00:00) false 2014-07-30 06:16:04.127 2014-07-30 06:55:04.907
AwayAlarm No Alarmed AND !Sleep AND ((UpstairsMotion @ 2 < 2:00) OR (DownstairsMotion @ 2 < 2:00) OR BifoldDoorLeft) false 2014-07-31 13:35:12.837 2014-07-31 13:35:15.060
UnsetSleepAlarm No !Sleep true 2014-07-31 13:35:12.899 2014-07-31 13:35:10.042
SetSleepAlarm No Sleep false 2014-07-31 13:35:09.867 2014-07-31 13:35:12.898
Actions
Actions for Condition: AwayAlarm
Device Actions:
Immediate
Device Action Arguments
Push Notification SendProwlNotification Event=AwayAlarm Description=Intruder alert Priority= URL=
Actions for Condition: NoMotion2hr
Device Actions:
Immediate
Device Action Arguments
Push Notification SendProwlNotification Event=NoMotion2hr Description=No motion detected in house for 2 hrs… Setting Alarm! Priority= URL=
Actions for Condition: SetSleepAlarm
Device Actions:
Immediate
Device Action Arguments
Home State SetStatus3 newStatus3=1
Actions for Condition: SleepAlarm
Device Actions:
Immediate
Device Action Arguments
Push Notification SendProwlNotification Event=SleepAlarm Description=Motion detected downstairs Priority= URL=
Actions for Condition: SomeoneDown
Device Actions:
Immediate
Device Action Arguments
Home State SetStatus5 newStatus5=-1
Home State SetStatus4 newStatus4=-1
Push Notification SendProwlNotification Event=SomeoneDown Description=Someone Down Priority= URL=
Actions for Condition: UnsetSleepAlarm
Device Actions:
Immediate
Device Action Arguments
Home State SetStatus4 newStatus4=1

Update:

Managed to find the source of the problem by cutting and pasting config from one PLEG to my test PLEG conditions and inputs first (no actions). I then removed the actions and actions map from the problem child and it started. I have pasted these below. It would be uesful to know what caused this corruption? Could be a bug fix needed perhaps?

Actions

{‘SomeoneDown’:[{‘delay’:0,‘actions’:[{‘device’:‘81’,‘service’:‘urn:dcineco-com:serviceId:MSwitch1’,‘action’:‘SetStatus5’,‘arguments’:[{‘name’:‘newStatus5’,‘value’:‘-1’}]},{‘device’:‘81’,‘service’:‘urn:dcineco-com:serviceId:MSwitch1’,‘action’:‘SetStatus4’,‘arguments’:[{‘name’:‘newStatus4’,‘value’:‘-1’}]},{‘device’:‘15’,‘service’:‘urn:upnp-org:serviceId:IOSPush1’,‘action’:‘SendProwlNotification’,‘arguments’:[{‘name’:‘Event’,‘value’:‘SomeoneDown’},{‘name’:‘Description’,‘value’:‘Someone%20Down’},{‘name’:‘Priority’,‘value’:‘’},{‘name’:‘URL’,‘value’:‘’}]}]}],‘DownstairsMotion’:[],‘UpstairsMotion’:[],‘NoMotion’:[],‘NoMotion2hr’:[{‘delay’:0,‘actions’:[{‘device’:‘15’,‘service’:‘urn:upnp-org:serviceId:IOSPush1’,‘action’:‘SendProwlNotification’,‘arguments’:[{‘name’:‘Event’,‘value’:‘NoMotion2hr’},{‘name’:‘Description’,‘value’:‘No%20motion%20detected%20in%20house%20for%202%20hrs…%20Setting%20Alarm%21’},{‘name’:‘Priority’,‘value’:‘’},{‘name’:‘URL’,‘value’:‘’}]}]}],‘SleepAlarm’:[{‘delay’:0,‘actions’:[{‘device’:‘15’,‘service’:‘urn:upnp-org:serviceId:IOSPush1’,‘action’:‘SendProwlNotification’,‘arguments’:[{‘name’:‘Event’,‘value’:‘SleepAlarm’},{‘name’:‘Description’,‘value’:‘Motion%20detected%20downstairs’},{‘name’:‘Priority’,‘value’:‘’},{‘name’:‘URL’,‘value’:‘’}]}]}],‘AwayAlarm’:[{‘delay’:0,‘actions’:[{‘device’:‘15’,‘service’:‘urn:upnp-org:serviceId:IOSPush1’,‘action’:‘SendProwlNotification’,‘arguments’:[{‘name’:‘Event’,‘value’:‘AwayAlarm’},{‘name’:‘Description’,‘value’:‘Intruder%20alert’},{‘name’:‘Priority’,‘value’:‘’},{‘name’:‘URL’,‘value’:‘’}]}]}],‘SetSleepAlarm’:[{‘delay’:0,‘actions’:[{‘device’:‘81’,‘service’:‘urn:dcineco-com:serviceId:MSwitch1’,‘action’:‘SetStatus3’,‘arguments’:[{‘name’:‘newStatus3’,‘value’:‘1’}]}]}],‘UnsetSleepAlarm’:[{‘delay’:0,‘actions’:[{‘device’:‘81’,‘service’:‘urn:dcineco-com:serviceId:MSwitch1’,‘action’:‘SetStatus4’,‘arguments’:[{‘name’:‘newStatus4’,‘value’:‘1’}]}]}]}

Actions Map:

{SetSleepAlarm= {Start =‘1406810110’, Next = 2},}

Did you delete some delayed actions from the SetSleepAlarm ? Possibly while it was currently active ?