Error Message

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

Error Message

Post by lohill » Mon Mar 22, 2010 10:30 pm

I am getting an error message when opening my application in REV Enterprise 4.0.0 that has me a bit concerned. It says approximately the following: A stack "revMacCursors" is already in memory ... Then it ends 'could result in data loss'. This is even after quitting REV and restarting my Mac.

In the application browser I can see a stack called 'revMacCursors' which is not something I put there. Is there a way to safely get rid of the message and/or that stack?

Thanks in advance,
Larry

RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Re: Error Message

Post by RRobert » Mon Mar 22, 2010 10:49 pm

Is there a way to safely get rid of the message and/or that stack?
Yes.

Robert

lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

Re: Error Message

Post by lohill » Tue Mar 23, 2010 12:56 am

Are you willing to share?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Error Message

Post by Mark » Tue Mar 23, 2010 9:48 am

Larry,

Do you really just start RunRev, or do you also try to open a stack?

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Re: Error Message

Post by RRobert » Wed Mar 24, 2010 1:44 am

Tools - Application Browser - Right click the revMacCursors stack - Close and Remove from Memory

Robert

lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

Re: Error Message

Post by lohill » Fri Jun 04, 2010 11:19 pm

This is still happening to me every time I try to try to make a standalone application. First of all how do I recover from it and secondly how do I keep it from happening again. Here is the story:

I have made a one card application called Browser Test from which I want to make a standalone application for testing both on the Mac and the PC while using different default browsers. When I tried to make the standalone i got stuck in a cycle of error messages and finally ended up by forcing REV to quit. Now when I start REV (4.0) and try to open that application it opens with the message
A stack 'revMacCursors' is already in memory. The Revolution UI does not distinguish stacks which have identical names, so editing these stack files while both are inmemory could result in data loss.
When the stack finally opens it consists of the stack 'Browser Test, another main stack called 'RevMacCirsors' and a substack to that called 'revExternalLibrary'. I can right click on the substack and 'close and remove from memory' but the stack revMacCursord with some 20 or so cards will not close and remove. How do I get back to just my one main stack?

Thanks,
Larry

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Error Message

Post by Mark » Fri Jun 04, 2010 11:32 pm

Hi Larry,

If I understand you correctly, you now have a stack with a substack "revMacCursors". Type the following in the message box

Code: Select all

delete stack "revMacCursors" of stack "Browser Test"
(I assume your mainstack is called "Browser Test") and type return. Immediately thereafter save your mainstack. Now quit Revolution without saving any stacks (press Don't Save if the dialog comes up). Start Rev again and open your stack to check that the substack is gone.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

Re: Error Message

Post by lohill » Fri Jun 04, 2010 11:38 pm

Thanks for being there Mark.
I actually have two main stacks. Can I just type 'delete stack "revMacCursors"?

Larry

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Error Message

Post by Mark » Fri Jun 04, 2010 11:46 pm

Larry,

What is the mainstack that the substack revMacCursors is attached to?

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

Re: Error Message

Post by lohill » Fri Jun 04, 2010 11:56 pm

Mark,
What is the mainstack that the substack revMacCursors is attached to?
revMacCursors is not a substack. It is a main stack and is shown in the application browser at the same level as 'Browser Test'. It does not respond to 'Close and remove from memory' and delete does not seem to be an option for a Main stack.

I can quit REV and start it again and ask to open Browser Test either from recent or open and it opens with the error message and BT is accompanied by revMacCursors.

Larry

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Error Message

Post by Mark » Sat Jun 05, 2010 12:07 am

Larry,

It looks like revMacCursors is a substack of Browser Test, while there is another copy that isn't. Just try to delete it the way I wrote and let me know what happens. If it doesn't work, try it without specifying the mainstack. Nothing bad will happen as long as you only save your own stack.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

Re: Error Message

Post by lohill » Sat Jun 05, 2010 12:11 am

I tried 'close and remove from memory' again. Actually two times. The first was by right click on revMacCursors and take the option. It warned me about closure of revMacBrowsers and I said yes but nothing happened. I tried it again and this time it warned me about closing Browser Test. Then they were both gone. I opened Browser test again and now finally revMacCursors IS a substack to Browser Test. I haven't done it yet but past experience tells me that now a right click on the substack and a delete will get me back to where I want to be.

Now how can I have this not happen again?

Larry

lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

Re: Error Message

Post by lohill » Sat Jun 05, 2010 12:19 am

I did right-click RMC and take delete but nothing visually happened in the application browser. A second right-click on RMC did not give me the option to delete so I saved changes and quit REV. Now I have opened Browser Test in REV and everything looks good. I'm ready to try to make my standalone again. Any advice?

Larry
P.S. I really appreciate your help.

lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

Re: Error Message

Post by lohill » Sat Jun 05, 2010 12:23 am

It didn't compile. I got myself back in the same loop of error messages. I'm going to quit for a while.

Larry

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Error Message

Post by Mark » Sat Jun 05, 2010 12:32 am

Larry,

I wrote message box. I wrote that for a reason. Since you didn't follow the instructions, it is logical that your stack still doesn't compile.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply