revlinuxcursors saved with stack

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
seaniepie
Posts: 154
Joined: Wed Sep 07, 2011 10:56 am

revlinuxcursors saved with stack

Post by seaniepie » Tue Feb 04, 2020 4:23 am

Hi all,

Ever since I opened up my stack from within Linux and saved it, opening it up in Mac or Windows brings up an error that "revlinuxcursors" is already loaded into memory. It seems to have attached a reference to revlinuxcursors as a substack to my stack. If I try to remove it by either making it a mainstack or renaming it or just using delete I get no joy.

Does anyone have any clue how to remove it from my stack?

Sean

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: revlinuxcursors saved with stack

Post by FourthWorld » Tue Feb 04, 2020 5:56 am

You can use the delete command, but be sure to reference the long name of the stack.

How old is the stack? Did you once you an old version of LiveCode with it?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

seaniepie
Posts: 154
Joined: Wed Sep 07, 2011 10:56 am

Re: revlinuxcursors saved with stack

Post by seaniepie » Wed Feb 05, 2020 12:30 am

Hi Richard,

Thank you for your response. It turned out, after running a 'put the substacks of...', there were several instances of the rev stack but project browser was only showing one, even after deleting one of them. However, following your instructions and just repeating till I got an error saying there was no such object solved it.

The reason so many where being added was because when building a standalone for HTML5 deployment from Linux the build code says to add it. But I think it gets added to the wrong area, unfortunately. My big mistake was to be trying this on a live project and not a backup or something. But now I know.

Thanks again.
Sean

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: revlinuxcursors saved with stack

Post by FourthWorld » Wed Feb 05, 2020 12:59 am

seaniepie wrote:
Wed Feb 05, 2020 12:30 am
The reason so many where being added was because when building a standalone for HTML5 deployment from Linux the build code says to add it. But I think it gets added to the wrong area, unfortunately. My big mistake was to be trying this on a live project and not a backup or something. But now I know.
And now I do too. Thanks for that explanation. I've been seeing a few posts about revCursors winding up in people's stacks, but since the Standalone Builder doesn't normally do that I've been curious how that's happening. Thanks to your explanation it seems we may have found it: a bug in the HTML deployment routines that work on the source stack file rather than the copy to be deployed.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply