Page 1 of 1

[ANSWERED]My House.indiDb - script error

PostPosted: Tue Mar 21, 2017 9:36 am
by ricvieira
Hi there, I just rebooted the Indigo Server, and notices a script error in the log. Would you please advise how to correct it? Thanks.

Mar 21, 2017, 11:06:55 AM
Starting Indigo Server version 7.0.3 (Mac OS X 10.12.3)
Loading attachments
"device target attachment.scpt" script loaded
"group target attachment.scpt" script loaded
"growl attachment.scpt" script loaded
"iTunes attachment.scpt" script loaded
"palmpad attachment.scpt" script loaded
"scenes attachment.scpt" script loaded
"time stamp attachment.scpt" script loaded
Loading database "/Library/Application Support/Perceptive Automation/Indigo 7/Databases/My House.indiDb"
Error script error: around characters 61 to 63
Error script error: Expected “contained by”, “equal”, “equal to”, “equals”, “greater than”, “in”, “less than” or expression but found “on”. (-2741)
Loading plugin "Action Collection 2.0.4"
Starting plugin "Action Collection 2.0.4" (pid 55345)
Loading interface "INSTEON Commands 2.0.10"
Starting interface "INSTEON Commands 2.0.10" (pid 55346)
Loading plugin "Alexa-Hue Bridge 2.0.11"
Starting plugin "Alexa-Hue Bridge 2.0.11" (pid 55347)
Loading plugin "Cynical Behaviors 1.1.0"
Starting plugin "Cynical Behaviors 1.1.0" (pid 55349)
Loading plugin "Simple Serial Plugin 0.9.5"
Starting plugin "Simple Serial Plugin 0.9.5" (pid 55350)
Loading plugin "Timers and Pesters 2.0.2"
Starting plugin "Timers and Pesters 2.0.2" (pid 55351)
Loading interface "Virtual Devices 2.0.4"
Starting interface "Virtual Devices 2.0.4" (pid 55352)
Found disabled interface "Z-Wave 2.0.68"
Found disabled plugin "Airfoil Pro 1.0.7"
Found disabled plugin "Airfoil 1.1.14"
Found disabled plugin "DIRECTV DVR Control 1.1.1"
Found disabled plugin "EasyDAQ Relay Card 2.0.3"
Found disabled plugin "Global Property Manager 2.0"
Found disabled plugin "Growl 2.0.2"
Found disabled plugin "iCal Alarm Processor 2.0.1"
Found disabled plugin "iTunes 2.0.4"
Found disabled plugin "NOAA Weather 2.0.1"
Found disabled plugin "SQL Logger 2.0.5"
Found disabled plugin "Vera Bridge 1.0.10"
Found disabled plugin "WeatherSnoop 2.1.2"
Bonjour registered "Indigo - My House"
Indigo Cocoa client connected
WebServer client connected

Re: My House.indiDb - script error

PostPosted: Tue Mar 21, 2017 10:04 am
by ricvieira
After reading a few additional posts, I moved all .scpt files under the Indigo 7 folder to the Attachments (Disabled) folder. Nevertheless, the error still shows in the log. Help?

Mar 21, 2017, 11:57:49 AM
Starting Indigo Server version 7.0.3 (Mac OS X 10.12.3)
Loading attachments
Loading database "/Library/Application Support/Perceptive Automation/Indigo 7/Databases/My House.indiDb"
Error script error: around characters 61 to 63
Error script error: Expected “contained by”, “equal”, “equal to”, “equals”, “greater than”, “in”, “less than” or expression but found “on”. (-2741)

Re: My House.indiDb - script error

PostPosted: Tue Mar 21, 2017 10:25 am
by jay (support)
It's an embedded script, so you'll need to check all the script actions that have embedded scripts to find the error.

We have some improvements around those types of errors on the todo list, just haven't gotten to them, so for the moment you'll just have to manually find them.

[MODERATOR NOTE] moved to the AppleScript forum.

Re: [ANSWERED]My House.indiDb - script error

PostPosted: Wed Mar 22, 2017 5:41 am
by matt (support)
Note when you show the embedded script in the UI (by opening the Actions panel of the Schedule/Trigger/etc. that it lives in) Indigo recompiles the script at that time. So one technique to find the error is show that panel for all your schedules/triggers/etc and watch the Event Log window for the script error. It is a pain, but generally you can find it within a few minutes unless you have hundreds of schedules/triggers/etc.