error message when starting indigo.

Posted on
Thu Nov 21, 2013 9:52 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

error message when starting indigo.

in the log file I get the following error message when I start indigo
...
"time stamp attachment.scpt" script loaded
"writeEnergy.scpt" script loaded
Error script error: around characters 172 to 178
Error script error: Expected end of line, etc. but found identifier. (-2741)
Error script error: around characters 172 to 178
Error script error: Expected end of line, etc. but found identifier. (-2741)
Error script error: around characters 172 to 178
Error script error: Expected end of line, etc. but found identifier. (-2741)
Loading plugin "Action Collection 1.4.4"
...
When I "reload Libraries ..." I don't get the error message.

When I run the script "writeEnergy" manually there is no error message.

any Idea?

Karl

Posted on
Thu Nov 21, 2013 9:57 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: error message when starting indigo.

My guess is it is an error an embedded AppleScript action (those get compiled when the database loads). We really need to add better logging for those errors so you can see the context to be able to track down what Trigger/Schedule/etc. the action lives in. That has been on our list for a while but it hasn't happened yet because the code that compiles the scripts is far removed from the parent container (trigger/schedule) that contains the script, and getting the info drilled down is more difficult than it would seem. Not a good excuse, but it is why I haven't knocked it out in my spare time yet.

Anyhow, if you cannot track it down then you can email me your database file (and attachment AppleScripts) and I can find it pretty quickly in the debugger here.

Image

Posted on
Thu Nov 21, 2013 11:36 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: error message when starting indigo.

so the error message does not need to come from the script before the error message? could be any script before the error message?

Posted on
Thu Nov 21, 2013 11:54 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: error message when starting indigo.

Yes, if the error message occurs either on Indigo Server startup (or database load), then it is probably occurring when an embedded script is just being compiled (not executed).

Image

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 16 guests