Corrupted Stack LC7.1.2

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
RossG
Posts: 247
Joined: Thu Jan 08, 2015 7:38 am

Corrupted Stack LC7.1.2

Post by RossG » Thu May 26, 2016 3:01 am

My stack seemed OK until I tried to inspect
a field when the message was "Too many objects to display".
(A large number, far more than the true figure)

I'm not sure if these "ghost" objects all appeared in the
Project Browser but I did see some dubious entries
which I tried (and failed) to delete.

When I opened a backup in the archive it was likewise
corrupted.

What to do?

Open the corrupted stack and show hidden objects.

Open a new main stack and name it appropriate
but not the same as the old.

Select all the objects on the old stack and copy
and paste to the new stack.

Open the old stack code and copy and paste into
the new stack.

And by some miracle the "ghost" objects have been
banished to the nether world or where-ever from
whence they came.

Do you know of an easier way?
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.

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

Re: Corrupted Stack LC7.1.2

Post by FourthWorld » Thu May 26, 2016 4:52 am

A corrupted stack cannot be opened. If you can open it it's something else. Perhaps you had objects in groups that have been removed from cards but not deleted?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

RossG
Posts: 247
Joined: Thu Jan 08, 2015 7:38 am

Re: Corrupted Stack LC7.1.2

Post by RossG » Thu May 26, 2016 6:08 am

Richard

OK not corrupted but certainly messed up.

The number of objects indicated in the Inspector
was far more than the true number.

What's your fix?
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.

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

Re: Corrupted Stack LC7.1.2

Post by FourthWorld » Thu May 26, 2016 2:12 pm

Hard to say without seeing the stack. Perhaps you had objects in groups that have been removed from cards but not deleted?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

RossG
Posts: 247
Joined: Thu Jan 08, 2015 7:38 am

Re: Corrupted Stack LC7.1.2

Post by RossG » Thu May 26, 2016 4:55 pm

Richard

Did you have a look at the test stack I posted
under trouble with groups in beginners?

For some reason two or three groups out of 20
identical groups are causing problems - even
after I deleted them and replaced the with copies
of a "good" one.

I still think my stack is corrupted according to this definition.
"To change or debase by making errors or unintentional alterations."
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.

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

Re: Corrupted Stack LC7.1.2

Post by FourthWorld » Thu May 26, 2016 5:10 pm

RossG wrote:Did you have a look at the test stack I posted
under trouble with groups in beginners?
URL?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

RossG
Posts: 247
Joined: Thu Jan 08, 2015 7:38 am

Re: Corrupted Stack LC7.1.2

Post by RossG » Thu May 26, 2016 8:50 pm

I didn't know I could do that!

http://forums.livecode.com/viewtopic.ph ... 24#p142889

If I learn a little something every day how long will it take me to
be an expert?
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.

Post Reply