GLX Framework based app and El Capitan Mac OS X 10.11.6
Posted: Tue Sep 27, 2016 1:07 pm
I have a GLX Framework based application and am having problems getting it to launch in Mac OS X 10.11.6 El Capitan. It works fine on Yosemite. I am using LC 6.7.3.
The problem is that when the main stack opens there are handlers in it that the first scripts that run can't find. It seems that El Capitan tries to start running scripts before all the stack is loaded.
I have tried to workaround this by adding wait with messages for a couple seconds for the stack to fully load so all the handlers are available.
The way GLX works is a launcher stack first opens and then launches subsequent stacks. I have a login stack which then launches my main application stack which has the handlers that other handlers on that stack say it can't find.
Another way I tried to reso'vle this is to force the loading of the main application stack while the login stack is open by the method of using "put there is a stack [path/to?tack/file.livecode? described by Trevor here.
http://www.bluemangolearning.com/liveco ... to-memory/
That does not work since it returns false I presume because the stack is no longer present in the file structure as it is packaged in the standalone.
Is there another way to ensure that the stack is in memory before trying to open it?
Has anyone else seen this behaviour in El Capitan? Any ideas?
Thanks
Martin
The problem is that when the main stack opens there are handlers in it that the first scripts that run can't find. It seems that El Capitan tries to start running scripts before all the stack is loaded.
I have tried to workaround this by adding wait with messages for a couple seconds for the stack to fully load so all the handlers are available.
The way GLX works is a launcher stack first opens and then launches subsequent stacks. I have a login stack which then launches my main application stack which has the handlers that other handlers on that stack say it can't find.
Another way I tried to reso'vle this is to force the loading of the main application stack while the login stack is open by the method of using "put there is a stack [path/to?tack/file.livecode? described by Trevor here.
http://www.bluemangolearning.com/liveco ... to-memory/
That does not work since it returns false I presume because the stack is no longer present in the file structure as it is packaged in the standalone.
Is there another way to ensure that the stack is in memory before trying to open it?
Has anyone else seen this behaviour in El Capitan? Any ideas?
Thanks
Martin