Here’s an odd one. I hope I’m not misleading you by saying that I suspect I have either ‘cleaned up’ and important file to Eggplant, or somehow I don’t have permissions to a file that Eggplant is trying to access.
I have a script system I’ve been using for quite a while that has started giving me problems. The symptom that I first notice is that I get an error:
STAlert Bad value for Object expression. Looking for an object or script identifier, got ‘SetupEnvironment’.
In the course of trying to figure out what the heck is going on, I have found this oddity.
I open Eggplant interactively. It opens my Env.suite that I left open last time I quit Eggplant – but the Scripts tab comes up blank – no scripts listed.
I close the Env.suite window. I File | Open Suite and navigate to the Env.suite and click Open. It opens the Env.Suite and the Scripts are listed.
When I first start Eggplant and try to run my script interactively, I get an error like the one above. After I “File | Open Suite” to confirm that the Script being complained about does indeed exist, the next Run of the Script gets past that problem. It may then complain about a helper script later on in the main script. Again, if I open the suite that contains that script, it starts working on the next run.
Once I quit Eggplant, though, it’s all messed up again on the next interactive session.
This affects automation. runscript is reporting the error highlighted above.
Another issue that I think is related is that Eggplant is not remembering between interactive sessions the state of the “Open Recent” on the File menu. All I see when I quit Eggplant and bring it back up is “Clear Menu” – nothing else I had opened in the earlier session is on the list.
I am hoping you know what I can do to make this start working again. I am looking at file permissions in Library and com.redstonesoftware.Eggplant.plist, but I just can’t make any sense of it.
-edj