pegoto wrote:I just tried installing eTrack and right after specifiying the wattage of my devices I get an error that says "Can't continue createVariable". I ran the setup again and clicked edit which opened the script which I ran and entered the information again. It seems the specific section its failing at is the following when running the actual script:
Error: IndigoServer got an error: Can't continue createVariable
Script:
createVariable("eTrackCostPerKWH",costPerKWH, true)
I also just saw this in my Indigo Log, this happens when it loads the questions about costs for electricity.
Error CloseFile() caught exception: FileIOError -- cannot close unopen file
Error LoadAttachment() caught exception: FileIOError -- cannot read from unopen
Hi. Thanks for trying eTrack.
Which version of Indigo are you using? Which version of Mac OS X are you using? Have you recently upgraded Indigo or migrated it from one computer to another?
The "FileIOError" error messages concern me. This means that Indigo is unable to read files from your hard drive. If you've migrated Indigo from one Mac to another, this can often mess up the permissions on the entire Perceptive Automation folder in /Library/Application Support. I'm pretty sure there are some command-line fixes for this, if this is indeed the problem. If you haven't migrated Indigo, there could be some other permissions issue in which case a permissions repair using Mac OS X's "Disk Utility" application in the /Applications/Utilities folder might help. It's also possible that one of the attachment files in the /Library/Application Support/Perceptive Automation/Indigo 5/Scripts/Attachments folder are damaged. You might try removing all attachment scripts from that folder to, say, your desktop, and reload attachments using the Indigo client (Plugins menu, Reload Libraries and Attachments), then add the scripts back to the Attachments folder one at a time, reloading libraries and attachments each time to see which script is corrupted or unreadable.
As a possible temporary fix, you could also try manually creating the "eTrackCostPerKWH" variable in Indigo, then run the eTrack Setup again to see if you get any errors (or maybe a different error). If you get more errors in your Indigo log, please copy the log and paste it into your next post (inside a [ code ] [ /code ] tag so it formats correctly in the post).