Using "go card" on Linux standalone with -ui

Ben Rubinstein benr_mc at cogapp.com
Tue Sep 20 14:49:09 EDT 2011


Thanks to Richard and Mark for previous assistance.  I've now got my 
standalone app running on Linux (system version 2.6.18-238.21.1.el5, but I've 
no idea what that means or any other information about the flavour), compiled 
with LC 4.6.4, with the -ui flag.

I'm using the trick that Richard reported some months ago to infer that it's 
running headless by the window id of the stack being 1; and dancing around the 
operations that were causing it to crash or halt.

I have one last (for now) issue, which is not a show stopper but which it 
would be nice to fix.  Whenever the stack goes to a card, I get

*** ASSERTION FAILURE: MCStack::openrect() - window == NULL

Richard (I think) mentioned in a previous post that he hides the stack - I'm 
doing this.  I need to go to particular cards, to avoid masses of rewriting of 
this app which more normally runs with a GUI, as the scripts reference 
controls and properties on different cards.  And it all seems to work; it's 
just this annoying assertion failure making it look bad.

Have other people encountered this?  Does anyone know of a workaround?

TIA,

Ben





More information about the use-livecode mailing list