a stack is already in memory , problem

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Pistris
Posts: 148
Joined: Mon Jul 20, 2015 2:40 am

a stack is already in memory , problem

Post by Pistris » Sat Mar 02, 2019 3:08 am

today the following message started appearing when I open stacks
I tried restarting the computer several times and it keeps happening
what do you guys think?
error.png

ValiantCuriosity
Posts: 128
Joined: Thu Jun 30, 2016 3:08 am

Re: a stack is already in memory , problem

Post by ValiantCuriosity » Sat Mar 02, 2019 7:49 am

It could be that you have another stack of the same name that is still in memory. Try going to the file menu. Select "Close and remove from memory". Now find the .livecode file in your file directory. Double click on it to open it in LiveCode.

If that doesn't work, closing LC entirely might. Open LC again and try loading your program. Closing will clear out any apps from memory.

Just noticed that you've rebooted your computer so the above is probably not the answer. I'm new to LIveCode. I'm probably WAY off base. LiveCode apparently doesn't remove previous programs that you created from its memory unless you tell it to do so. I've been tricked by this many times as I try out separate stacks/programs that I've created.

Did you check your LC files to be sure that there aren't two that are named the same?

If the file is just something you are using to learn LC, I'd be tempted to delete it from the computer and start over again. Hmmm.

The project explorer is a great resource. It will show you what is actually in LC memory.

Good Luck,
-Rachel
May I never be cured of my curiosity! :D

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: a stack is already in memory , problem

Post by bogs » Sat Mar 02, 2019 8:41 am

ValiantCuriosity wrote:
Sat Mar 02, 2019 7:49 am
I'm new to LIveCode. I'm probably WAY off base.
You might be new, but your assumptions and explanation are accurate Rachel :wink:

@Pistris,
Does this issue happen only when you open a certain stack, or is it happening for all stacks that you have previously created? I am assuming from your statement that the message doesn't occur when you start Lc itself, is that correct?

revMacCursors is a stack in the IDE group of stacks, so that gets loaded when you open the IDE itself (depending on OS). In my case, on a 'nix system, the IDE loads 'nix cursors -
Selection_004.png
The curse(ors)...
Selection_004.png (10.17 KiB) Viewed 3874 times
The message indicates you have (somehow) included this stack in the project(s) you are trying to open.
Image

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9663
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: a stack is already in memory , problem

Post by dunbarx » Sat Mar 02, 2019 3:14 pm

I get the "revMacCursors" thing each and every time I open a splash stack I use to create new versions of a standalone we use in our office. I am not sure this appears in a new session, the very first time I open the splash stack.

I will check on Monday. If it appears in a new session, that would be a mystery. If only after it has been opened at least once, then maybe not.

Craig Newman

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7237
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: a stack is already in memory , problem

Post by jacque » Sat Mar 02, 2019 5:14 pm

It does mean the stack has the revcursors included in the stack file. I got this the other day when updating a stack originally created in MC, where you had to manually include those. Deleting the revcursors stack from the main stack file fixes it.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Simon Knight
Posts: 854
Joined: Wed Nov 04, 2009 11:41 am
Location: Gunthorpe, North Lincs, UK

Re: a stack is already in memory , problem

Post by Simon Knight » Thu Oct 31, 2019 4:39 pm

Just had this problem. I followed some instructions from 2010 and used the message box :

delete stack "revMacCursors" of stack "Browser Test"

obviously change "Browser Test" to the name of your problem stack.
best wishes
Skids

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”