revCursors magically attaches to my stacks
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
revCursors magically attaches to my stacks
Hello,
Twice now I've had the Revolution stack revCursors suddenly appear in my stack. I get the warning message "A stack revCursors is already in memory".
Probably something I've done, but how do I get rid of it?
Thanks,
Simon
Twice now I've had the Revolution stack revCursors suddenly appear in my stack. I get the warning message "A stack revCursors is already in memory".
Probably something I've done, but how do I get rid of it?
Thanks,
Simon
Simon,
When exactly do you get this error messages?
If you type the following in the message box and press enter
put the substacks of stack <the name of your mainstack>
what exactly do you get? Are you sure there is a duplicate of revCursors?
If there appears to be a duplicate, you can remove it with
delete stack revCursors of stack <the name of your mainstack>
Best,
Mark
When exactly do you get this error messages?
If you type the following in the message box and press enter
put the substacks of stack <the name of your mainstack>
what exactly do you get? Are you sure there is a duplicate of revCursors?
If there appears to be a duplicate, you can remove it with
delete stack revCursors of stack <the name of your mainstack>
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
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Hello Mark,
I get the warning message on opening of the stack. You know "two stacks with identical names".
put the substacks of stack myStack gives me:
Message execution error:
Error description: Chunk: can't find stack
But I can see the stack in the application browser. I'll wait till I hear from you again before I run the delete.
Thanks again,
Simon
I get the warning message on opening of the stack. You know "two stacks with identical names".
put the substacks of stack myStack gives me:
Message execution error:
Error description: Chunk: can't find stack
But I can see the stack in the application browser. I'll wait till I hear from you again before I run the delete.
Thanks again,
Simon
Simon,
Why myStack? You can't get that error in return if your mainstack exists and is loaded in memory.
Best,
Mark
Why myStack? You can't get that error in return if your mainstack exists and is loaded in memory.
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
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Hi Mark,
Not sure I follow you.
put the substacks of stack <the name of your mainstack>
My mainstack is called myStack
And the stack is up and running so it is in memory.
And the full text of the warning is:
"A stack "revCursors" 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."
Other thoughts?
Regards,
Simon[/quote]
Not sure I follow you.
put the substacks of stack <the name of your mainstack>
My mainstack is called myStack
And the stack is up and running so it is in memory.
And the full text of the warning is:
"A stack "revCursors" 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."
Other thoughts?
Regards,
Simon[/quote]
Simon,
Something is wrong, but you know that already. If you enter in the message box
put the substacks of stack "myStack"
then you can't get the error
Message execution error:
Error description: Chunk: can't find stack
What do you get if you type in the message box
put (there is a stack "myStack")
You must always put quotes around object names. Maybe, this is the source of your problem.
Best,
Mark
Something is wrong, but you know that already. If you enter in the message box
put the substacks of stack "myStack"
then you can't get the error
Message execution error:
Error description: Chunk: can't find stack
What do you get if you type in the message box
put (there is a stack "myStack")
You must always put quotes around object names. Maybe, this is the source of your problem.
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
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Hi Simon,
Why do you have a stack called AltBrowser? That sounds confusing, because there is also an external called AltBrowser.
I think you can safely delete that stack using the syntax
I'd lock messages, just to be sure that nothing happens between deleting and saving.
If you happen to lose your cursors after this, simply quit and restart Revolution and check again if the stack is there or not.
Best,
Mark
Why do you have a stack called AltBrowser? That sounds confusing, because there is also an external called AltBrowser.
I think you can safely delete that stack using the syntax
Code: Select all
lock messages
delete stack "revCursors" of stack "myStack"
save stack "myStack"
unlock messages
If you happen to lose your cursors after this, simply quit and restart Revolution and check again if the stack is there or not.
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
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: revCursors magically attaches to my stacks
i see this thrread is from over 10 years ago but i am getting it now. when i load my stack it says "revCursors already in memory". any idea why and how do i get rid of it? thanks. Mike
Re: revCursors magically attaches to my stacks
Hi Mike,
didn't you read the whole thread?
Marks solution is still working, give it a try!
Best
Klaus
didn't you read the whole thread?
Marks solution is still working, give it a try!
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 9802
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: revCursors magically attaches to my stacks
More interesting than resolving the issue would be finding out how it occurs. That stack should normally only be copied into a stack file when building a standalone. This should never happen with your work copies. A recipe would be helpful.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: revCursors magically attaches to my stacks
It happen to me too.
I was using more than 100 queries with revDatabaseColumnNamed and I didn't close the cursors.
Maybe this is the issue.
I was using more than 100 queries with revDatabaseColumnNamed and I didn't close the cursors.
Maybe this is the issue.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Re: revCursors magically attaches to my stacks
Oh no, the solution proposed doesn't work anymore, I got:
Both stacks exists (mainstack to save and revCursors)
Code: Select all
Message execution error:
Error description: Chunk: can't find stack
Hint:
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Re: revCursors magically attaches to my stacks
I also just received a complimentary revCursors stack.
Marks 16 Sep 2007 solution worked fine for me.
Marks 16 Sep 2007 solution worked fine for me.