Hi folks. I guess you have already told someone here at my work how to get around this problem, but we’ve lost the info. Sorry. I’ve seen this with both Eggplant 2.22 and Eggplant 3.01 on Mac OSX 10.4.7.
When trying to run Eggplant scripts remotely across the network. I get this message:
2006-07-26 12:26:00.057 runscript[2706] Successfully Loaded XModule /Applications/Eggplant.app/Contents/Frameworks/SenseTalkEngine.framework/Resources/STColor.xmodule
2006-07-26 12:26:00.215 runscript[2706] CFLog (0): CFMessagePort: bootstrap_register(): failed 1100 (0x44c), port = 0x2303, name = ‘NSApplication-MainThread-a92-6999430582501#’
See /usr/include/servers/bootstrap_defs.h for the error codes.
2006-07-26 12:26:00.220 runscript[2706] CFLog (99): CFMessagePortCreateLocal(): failed to name Mach port (NSApplication-MainThread-a92-6999430582501#)
2006-07-26 12:26:00.223 runscript[2706] *** Assertion failure in -[EggplantApplication _createWakeupPort], AppKit.subproj/NSApplication.m:3578
2006-07-26 12:26:00.224 runscript[2706] CFMessagePortCreateLocal returned NULL port
2006-07-26 12:26:00.268 runscript[2706] CFLog (0): CFMessagePort: bootstrap_register(): failed 1100 (0x44c), port = 0x2703, name = ‘Processes-0.7602177’
See /usr/include/servers/bootstrap_defs.h for the error codes.
2006-07-26 12:26:00.273 runscript[2706] CFLog (99): CFMessagePortCreateLocal(): failed to name Mach port (Processes-0.7602177)
CFMessagePortCreateLocal failed (name = Processes-0.7602177 error = 0)
Our system is a little complex, but a synopsis of my command might be:
ExecuteRemotely host/myMac /Applications/Eggplant.app/runscript
If I change my command to:
ExecuteRemotely host/myMac sudo /usr/libexec/StartupItemContext /Applications/Eggplant.app/runscript
then it works.
I mentioned this to my co-workers and they said “Oh, yeah”. And they have vague memories of somebody from Redstone Software helping them set up something so that this StartupItemContext was embedded somewhere.
I have managed to put the above working command into a shell script on the Mac host and it works fine, but apparently it is doable without a script and that’s what I’m asking for.
Thanks for your help!
-edj