Page 1 of 3
A stack "revCursors" is already in memory
Posted: Tue Jul 28, 2020 10:23 pm
by DavJans
I get this every time I open my stack. I tried rebooting, I tried copying the stack to another computer with a fresh never before installed livecode. When I try to Save as a stand alone I get this same error. 'A stack "revCursors" is already in memory. The LiveCode UI does not distinguish stacks which have identical names, so editing these stack files while both are in memory could result in data loss.' then the same error but "revCopiedIcons" then a third error:
There was an error while saving the standalone application
257,1532,77,200276
449,1532,19
535,1532,77
253,1532,77
490,1532,77
490,1532,77
490,1532,77
253,1532,77
241,1506,1,revCopyIcons
353,0,0,stack "C:/Program Files
(x86)/RunRev/LiveCode Indy
9.6/Toolset/libraries/revsavesstandalone.livecodescrip
573,1407,1,revCopyIcons
353,0,0,stack "C:/Program Files
(x86)/RunRev/LiveCode Indy
9.6/Toolset/libraries/revsavesstandalone.livecodescrip
573,546,1,revCopyResources
241,546,1,revStandaloneCopyInclusions
353,0,0,stack "C:/Program Files
(x86)/RunRev/LiveCode Indy
9.6/Toolset/libraries/revsavesstandalone.livecodescrip
573,857,1,revStandaloneCopyInclusions
490,857,1
241,812,revSaveAsWindowsStandalone
353,0,0,stack "C:/Program Files
(x86)/RunRev/LiveCode Indy
9.6/Toolset/libraries/revsavesstandalone.livecodescrip
573,375,1,revSaveAsWindowsStandalone
587,375,1
490,375,1
Re: A stack "revCursors" is already in memory
Posted: Wed Jul 29, 2020 1:58 am
by dunbarx
Every time you open?
I only get this every time I try to make a standalone. it is harmless, but annoying.
Craig
Re: A stack "revCursors" is already in memory
Posted: Wed Jul 29, 2020 7:32 am
by SparkOut
That used to happen to me "every time off and on" in some versions, but I have not had it happen for a while now. (I think not since last year maybe.) If on Windows, try removing all plugins. Close LC completely and check for any "invisible" instances in the task manager, including any updater instances. Delete the preferences file. Maybe reboot for good measure, just out of habit. Try again.
Re: A stack "revCursors" is already in memory
Posted: Wed Jul 29, 2020 10:21 am
by FourthWorld
Do you have a stack named "revCursors" in your stack file? The Project Browser can show you. If so, delete it.
Bonus points if you can figure it how it got there. I've heard of this circumstance, but have not been able to reproduce it.
Re: A stack "revCursors" is already in memory
Posted: Wed Jul 29, 2020 11:09 am
by Thierry
Bonus points if you can figure it how it got there. I've heard of this circumstance,
but have not been able to reproduce it.
Out of memory and a while ago, this seems to be one way:
Select the pattern box,right side. ( I've done it by mistake)
Select "Cancel"
and that was it... revCursors was there.
Regards,
Thierry
Re: A stack "revCursors" is already in memory
Posted: Wed Jul 29, 2020 2:04 pm
by Lagi Pittas
Hi All,
I used to get it every so often but I think I worked out what it was but can't remember if it happened every time. It seemed to happen 99% of the time when I "SAVED" with a different name (for safety/backup/milestone) and then decide to create a standalone straight after.
What I always do now is if I want to save with a new name I then exit and load up the latest version named. Don't think it has happened since.
It makes sense I think. Should be an easy bug to fix
Stack is called AAA you save it as BBB and create a standalone but now the IDE has AAA and BBB referenced somehow.
I just did a test with a simple stack of 2 cards and 100 lines of code - no problem.
I loaded my main program where I have had the problem from version 6 onward (and only once (i think) on an early version of 9) and not once on the current version. And I had no problem at all.
I'm still 99.5% sure that is the major problem but there maybe others to do we the script editor having dangling references after "SAVING" with a new name.
Regards lagi
Re: A stack "revCursors" is already in memory
Posted: Wed Jul 29, 2020 7:45 pm
by FourthWorld
Thierry wrote: ↑Wed Jul 29, 2020 11:09 am
Bonus points if you can figure it how it got there. I've heard of this circumstance,
but have not been able to reproduce it.
Out of memory and a while ago, this seems to be one way:
Select the pattern box,right side. ( I've done it by mistake)
sunnYscreenshot 2020-07-29 à 12.03.21.jpg
Select "Cancel"
sunnYscreenshot 2020-07-29 à 12.03.49.jpg
and that was it... revCursors was there.
Regards,
Thierry
Thanks, Thierry. I just tried that recipe in v9.6.1rc1 and it didn't copy "revCursors" into the mainstack. Maybe they fixed it, or maybe another step is needed to reproduce it.
Re: A stack "revCursors" is already in memory
Posted: Wed Jul 29, 2020 8:41 pm
by Thierry
FourthWorld wrote: ↑Wed Jul 29, 2020 7:45 pm
Thanks, Thierry. I just tried that recipe in v9.6.1rc1 and it didn't copy "revCursors" into the mainstack.
Maybe they fixed it, or maybe another step is needed to reproduce it.
As I said; out of memory.. So I might have been wrong,
which is not the first and certainly not the last time
Regards,
Thierry
Re: A stack "revCursors" is already in memory
Posted: Wed Jul 29, 2020 8:55 pm
by FourthWorld
Thierry wrote: ↑Wed Jul 29, 2020 8:41 pm
FourthWorld wrote: ↑Wed Jul 29, 2020 7:45 pm
Thanks, Thierry. I just tried that recipe in v9.6.1rc1 and it didn't copy "revCursors" into the mainstack.
Maybe they fixed it, or maybe another step is needed to reproduce it.
As I said; out of memory.. So I might have been wrong,
which is not the first and certainly not the last time
No worries. It's the closest thing to a recipe I've seen on this yet. I'm hoping it'll spark someone else's memory so we can pin this down.
Re: A stack "revCursors" is already in memory
Posted: Mon Aug 03, 2020 6:21 pm
by DavJans
FourthWorld wrote: ↑Wed Jul 29, 2020 10:21 am
Do you have a stack named "revCursors" in your stack file? The Project Browser can show you. If so, delete it.
This fixed it, but now it takes almost 20 minutes to safe as a stand alone. I can deal with that. Thank you all.
Re: A stack "revCursors" is already in memory
Posted: Mon Aug 03, 2020 6:49 pm
by dunbarx
In all my projects, I set inclusions manually. I always include "cursors". I am not sure this is the same thing, but it seems so.
Anyway, I always get the dialog when making a standalone, but never when simply saving a stack. This dialog appeared out of nowhere a couple of years ago, likely with an LC update.
This fixed it, but now it takes almost 20 minutes to safe as a stand alone
Making my largest standalone (one mainStack with 16 cards, five subStacks of one card each, 9,000 lines of actual working code) never takes more than one minute.
Craig
Re: A stack "revCursors" is already in memory
Posted: Mon Aug 03, 2020 7:00 pm
by dunbarx
I just checked the PB for the "splash" stack from which I make my main standalone. It includes "revCursors" and "revMacCursors". Always has.
Craig
Re: A stack "revCursors" is already in memory
Posted: Mon Aug 03, 2020 10:04 pm
by FourthWorld
dunbarx wrote: ↑Mon Aug 03, 2020 7:00 pm
I just checked the PB for the "splash" stack from which I make my main standalone. It includes "revCursors" and "revMacCursors". Always has.
Do you get an error when building a standalone?
Re: A stack "revCursors" is already in memory
Posted: Tue Aug 04, 2020 3:39 am
by dunbarx
Richard.
Never an error. I simply dismiss the dialog, which I expect each build, and the process continues just fine. I believe I have to dismiss twice, in fact. I will check that tomorrow.
Craig
Re: A stack "revCursors" is already in memory
Posted: Tue Aug 04, 2020 4:31 am
by FourthWorld
dunbarx wrote: ↑Tue Aug 04, 2020 3:39 am
Never an error. I simply dismiss the dialog...
My bad, I meant warning.
Do you recall how those got there? Are they useful to you in your development stack file?