Page 1 of 1

Error Message - Building Standalone

Posted: Fri Jan 14, 2011 3:51 pm
by Simon Knight
When I attempt to build a standalone the process fails and posts the following error message:

A stack "answer dialog" in file /users/skids/Programming/Revolution/Projects/Simulator/Build 1 - 14 Jan 2011/ Simulator/ Windows / Sim.Rev is already in memory. The revolution UI does not distinguish stacks which have identical names, so editing these stack files while both are in memory could result in data loss.

The last two directories are not created/exist neither is the file Sim.Rev in that location. Any ideas what is going wrong?

Best wishes

Simon

Re: Error Message - Building Standalone

Posted: Fri Jan 14, 2011 6:21 pm
by Simon Knight
I should probably add that none of the three stacks I was attempting to compile was called "answer dialog" and no other stacks were loaded. I have managed to compile by deleting one of my stacks which is far from ideal.

Simon

Re: Error Message - Building Standalone

Posted: Fri Jan 14, 2011 7:53 pm
by Klaus
Hi Simon,

sounde like one of your stacks has a SUBSTACK called "Answer dialog".

Try to open them in the IDE and check this in the "Application Browser", where you could try to delete that substack.
Then save the stack and try to compile again.


Best

Klaus

Re: Error Message - Building Standalone

Posted: Fri Jan 14, 2011 9:44 pm
by Mark
Hi Simon,

Many people struggle with this problem. There might be a substack with the name Answer Dialog somewhere, but this is not very probably. Naturally, you should check your stacks for it, because that's simple, but you may not find a duplicate Answer Dialog.

Here http://qery.us/n6 is an overview of possible reasons why you may be unable to build a standalone. There might be something useful in it for you.

Kind regards,

Mark

Re: Error Message - Building Standalone

Posted: Sat Jan 15, 2011 1:42 pm
by Simon Knight
Hi,
I have been attempting to work out what is going on. I reloaded my problem file which I think has a single main stack with three sub stacks. I am configuring my app to have a splash screen stack (main) a user interface sub stack, a resources stack and a buttons stack. When loaded I see these in the browser and I get the error window when I try to compile. Next I deleted my sub-stacks with the aim of leaving my main stack which is where the problem seems to be. On deletion two new stacks are displayed in the browser, they are called "answer dialog" and "revCopiedIcons" each with a single card. Now general strangeness occurs; I can open my splash card but objects are missing, I can open and edit the answer dialog card but a copy of it keeps popping up and I can open the card of RevCopiedIcons but it is locked in its place on the screen and shows that standard icon sets that I can pick from the object browser. At times displaying the properties window just opens a blank window. It looks to me that that some inner workings of Livecode have been exposed and are corrupted in some way. I would post a copy here only the save and save as options are greyed out. Do you think I should submit this a s a bug report?

Simon

Re: Error Message - Building Standalone

Posted: Sat Jan 15, 2011 2:08 pm
by Simon Knight
I have removed all my code and graphics from the stack file which is attached. On build it still generated the error message and if I delete the sub stacks the answer dialog stack appears.

Any help welcomed...

Simon

Re: Error Message - Building Standalone

Posted: Wed Jan 19, 2011 12:37 pm
by Mark
Simon,

I don't think you went through my list. If you had tried it all, you probably would have solved your problem. I was able to create a standalone of your stack without any problems.

Kind regards,

Mark

Re: Error Message - Building Standalone

Posted: Thu Jan 20, 2011 3:51 pm
by Simon Knight
Mark,

You are quite correct. I ran out of time and had to get something working, deleting the splash stack solved the problem in the short term.

However, I have now worked through your list and can confirm that it is possible to get a build by deselecting the user can't modify and user can't delete stack settings. Some of the other settings on your list caused new errors to be posted.

I don't understand why some settings cause problems; is it that some settings made in the IDE are incompatible with a stand alone if so why doesn't the builder catch them?

Simon

Re: Error Message - Building Standalone

Posted: Thu Jan 20, 2011 4:39 pm
by Mark
Hi Simon,

Cool that the list helped. If we knew why, then we wouldn't need such a list :-)

Mark