Corrupted Script on Load: Recovery Possible?

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

Post Reply
Cromage
Posts: 5
Joined: Fri Mar 15, 2013 3:00 pm

Corrupted Script on Load: Recovery Possible?

Post by Cromage » Mon Jun 10, 2013 9:24 pm

Hello,

I recently saved a small project in a local directory right before shutting down the computer. Now I can no longer open it.

Error message is: "There was a problem opening that stack: stack is corrupted, check for ~ backup file"

I read a similar topic but caused by something different -- I didn't do any manual editing of the file at all.

Instead, I saved on closing the program and immediately restarted my computer. I don't know if that contributed to it.

I don't really care about the project (it was only a few buttons with special geometry properties) but I would like to know:

a) is there a special location LC saves its backups?

b) does LC back up automatically or do you just need to make manual backups frequently? If the former, is there a way you can change backup frequency?

Thanks for any answers you have.

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

Re: Corrupted Script on Load: Recovery Possible?

Post by FourthWorld » Mon Jun 10, 2013 10:27 pm

The backup file is in the same directory as the original, merely renamed with a preceding tidle. The backup file is deleted once the save is completed and verified, however, so it's not like the engine makes innumerable copies of your file as you go.

As we discussed at length in the other thread, file corruption is extremely rare with LC. If you can find a recipe for reproducing it please submit a bug report.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Cromage
Posts: 5
Joined: Fri Mar 15, 2013 3:00 pm

Re: Corrupted Script on Load: Recovery Possible?

Post by Cromage » Tue Jun 11, 2013 4:27 pm

Ok, thanks for the info.

I'm not sure if it can be reproduced, but I'll try.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Corrupted Script on Load: Recovery Possible?

Post by jacque » Tue Jun 11, 2013 6:23 pm

What version of LiveCode are you using? There was a script corruption issue that was fixed in 6.0.2.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply