Stack allready in memory

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

oldummy
Posts: 78
Joined: Mon Jun 13, 2016 3:21 pm

Stack allready in memory

Post by oldummy » Fri Jan 05, 2024 7:37 pm

I'm having an issue when going from one stack to another. I am getting the message that the 2nd stack is all ready in memory. I have closed and removed from memory with both stacks, restarted and had the same problem. Is there a way to get rid of this or do I just start all over? They are 2 separate stacks, none being a substack.

SparkOut
Posts: 2852
Joined: Sun Sep 23, 2007 4:58 pm

Re: Stack allready in memory

Post by SparkOut » Fri Jan 05, 2024 8:08 pm

Make sure you have given each stack an individual name (not just the filename on disk, ie don't leave the default name in the Property Inspector)

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

Re: Stack allready in memory

Post by dunbarx » Fri Jan 05, 2024 8:11 pm

Hi.

Are saying that in a new session, starting with a certain stack, you get this message by simply opening this other stack?

Craig

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

Re: Stack allready in memory

Post by dunbarx » Fri Jan 05, 2024 8:13 pm

@Sparkout

Likely the names of these two stacks are not both "untitled 1" or something similar.

@oldDummy. But he makes a point, I assume that each stack is uniquely named?

Craig

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

Re: Stack allready in memory

Post by dunbarx » Fri Jan 05, 2024 8:18 pm

Sparkout.

Just thinking here. He mentioned that the two stacks are just stacks, that is, neither is a subStack. That means that, assuming they are both saved, they must reside in two separate stackFiles.

Craig

oldummy
Posts: 78
Joined: Mon Jun 13, 2016 3:21 pm

Re: Stack allready in memory

Post by oldummy » Fri Jan 05, 2024 9:12 pm

I'm not sure how to name a stack other thank in the stack inspector. They are name "Thekey" and "hold2". And yes, I get the message when I go from the sirs to the second stack. I have ran into this before and never found out why it happens.
My little project is just now complete and working well. I really am just to trying to head this off in the future.
Thanks for any alms.

oldummy
Posts: 78
Joined: Mon Jun 13, 2016 3:21 pm

Re: Stack allready in memory

Post by oldummy » Fri Jan 05, 2024 9:19 pm

I have been too absorbed in this little project. I didn't mention that one of my first obstacles was not being able to set the stack password to encrypt it.
My workaround (if you want to call it that) was to dig out an old Rev Studio 4.0 installer I still have, so I could encrypt it.
I've been too absorbed in it and I did not think to mention that. I am sorry to have bothered anyone. I only just thought about it.

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

Re: Stack allready in memory

Post by dunbarx » Fri Jan 05, 2024 9:41 pm

Hi.

The inspector is the most common place to do things like naming a stack. You can do it in other ways as well, from the message box or from any script for example.

Craig

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Stack allready in memory

Post by Klaus » Sat Jan 06, 2024 1:53 pm

oldummy wrote:
Fri Jan 05, 2024 9:19 pm
... I didn't mention that one of my first obstacles was not being able to set the stack password to encrypt it...
Is your LC dictionary broken? 8)
It leaves no doubt about how to use and set a password, and it is, no surprise, as simple as:

Code: Select all

...
set the password of stack "your stack here" to "iwillookintothedcitionarymoreoften,promised!"
...
:D

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Stack allready in memory

Post by richmond62 » Sat Jan 06, 2024 3:02 pm

What does 'Indy' mean?
-
Screenshot 2024-01-06 at 16.00.38.png

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Stack allready in memory

Post by Klaus » Sat Jan 06, 2024 3:31 pm

That was one of the license models for LC before the new pricing.
Community - Indy - Business

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Stack allready in memory

Post by richmond62 » Sat Jan 06, 2024 3:58 pm

Really? No? Surely not?

I thought it meant that the Dictionary had not been updated for a long time.

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Stack allready in memory

Post by Klaus » Sat Jan 06, 2024 4:11 pm

Really! :D

Your screenshot is from the community edition, right?
That would explain it.
lc_password.png

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Stack allready in memory

Post by richmond62 » Sat Jan 06, 2024 5:03 pm

OK, Klaus, you got me: this time. 8)

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

Re: Stack allready in memory

Post by jacque » Sat Jan 06, 2024 6:47 pm

Just curious, what was the name of the duplicate stack in the error dialog?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”