Corrupted stack
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 641
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
Corrupted stack
Hi, a project in which I've working for several months suddenly doesn't allow me to open with the following message
nothing has gone wrong with my Mac since last time I opened the stack and needless to say I have no backup (never needed one since starting working with LC in a Mac with no HD, just solid state memory..., shame on me)
This is my preference configuration
I remember having seen a message saying something about "Your LC needs to do something in order to work better with your mac".
Don't recall exactly one was it, but probably was after the last time I closed the troubled stack. I also don't recall how I answered the message. (shame on me again...)
All my other projects open OK.
Anyone has any idea of what could be happening and/or has a suggestion as how to fix it?
Many thanks
nothing has gone wrong with my Mac since last time I opened the stack and needless to say I have no backup (never needed one since starting working with LC in a Mac with no HD, just solid state memory..., shame on me)
This is my preference configuration
I remember having seen a message saying something about "Your LC needs to do something in order to work better with your mac".
Don't recall exactly one was it, but probably was after the last time I closed the troubled stack. I also don't recall how I answered the message. (shame on me again...)
All my other projects open OK.
Anyone has any idea of what could be happening and/or has a suggestion as how to fix it?
Many thanks
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
-
- Livecode Opensource Backer
- Posts: 9385
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Corrupted stack
At the risk of being a pain in the bum did you look for a file called
"~CamClient V4.livecode" rather than one called "~backup"?
If a LiveCode stack goes "wonky" there is USUALLY a file with the same name
prefixed with a tilde "~" in the same place as where you previously saved the stack.
This has got NOTHING to do with whether you have a backup you have made or not.
Admittedly it is a good idea to make backups of one's work, generally to an external hard disk.
"~CamClient V4.livecode" rather than one called "~backup"?
If a LiveCode stack goes "wonky" there is USUALLY a file with the same name
prefixed with a tilde "~" in the same place as where you previously saved the stack.
This has got NOTHING to do with whether you have a backup you have made or not.
Admittedly it is a good idea to make backups of one's work, generally to an external hard disk.
-
- Posts: 641
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
Re: Corrupted stack
Thanks richmond for your suggestion, answer is no, no such file ~CamClient exists (even with no file extension defined).
My mother always said to me "Don't speak with strangers and always make backups" but I decided to live dangerously
My mother always said to me "Don't speak with strangers and always make backups" but I decided to live dangerously
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
Re: Corrupted stack
No backup, no mercy!
Hey, you are on a Mac, so get an external hd and turn on "TimeMachine",
which saved my life a couple of times in the past!
Hey, you are on a Mac, so get an external hd and turn on "TimeMachine",
which saved my life a couple of times in the past!
-
- VIP Livecode Opensource Backer
- Posts: 9660
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Corrupted stack
Ugh.
I don't suppose you can, from msg, say, edit the script of the stack?
Craig Newman
I don't suppose you can, from msg, say, edit the script of the stack?
Craig Newman
Re: Corrupted stack
You can try to open that stack with a text editor and see if you can read and copy the scripts.
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: Corrupted stack
You could try
1. delete the LC-preferences and restart
(usually /Users/<yourUserName>/Library/Preferences/RunRev/livecode7.rev for LC > 6)
2. As a last resort (to extract the scripts of the controls only):
Have a a look at the corrupted stack with "Nuzzler".
viewtopic.php?p=112416#p112416
1. delete the LC-preferences and restart
(usually /Users/<yourUserName>/Library/Preferences/RunRev/livecode7.rev for LC > 6)
2. As a last resort (to extract the scripts of the controls only):
Have a a look at the corrupted stack with "Nuzzler".
viewtopic.php?p=112416#p112416
shiftLock happens
Re: Corrupted stack
Hi,
That dialog message is as bit misleading. It says look for the ~ backup file. But the ~ is actually added to the very end of the extension part of the file name, not at the front. And that trailing ~ can be easy to miss, especially since the file will probably no longer show the LC icon.
So, take another look for "CamClient V4.livecode~" If you find that, just remove the ~ and see if you can open the stack.
Good luck!
Tom Bodine
That dialog message is as bit misleading. It says look for the ~ backup file. But the ~ is actually added to the very end of the extension part of the file name, not at the front. And that trailing ~ can be easy to miss, especially since the file will probably no longer show the LC icon.
So, take another look for "CamClient V4.livecode~" If you find that, just remove the ~ and see if you can open the stack.
Good luck!
Tom Bodine
-
- VIP Livecode Opensource Backer
- Posts: 7233
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Corrupted stack
It seems unlikely, but make sure that the version of LiveCode that fails is the same copy that opened the stack previously. If you double clicked the stack to launch LiveCode it's possible an older version opened. Some older versions incorrectly reported corruption when they couldn't recognize a newer file format.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 641
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
Re: Corrupted stack
Hi guys, many thanks for all of you who came to the rescue.
Unfortunately none of the suggestions worked, I'm following the "text editor" path. I was able to open the file with the text editor and since the Stack is not so big I shouldn't need too much time to bring it back to life.
Price to pay for having no backup!
Cheers
Unfortunately none of the suggestions worked, I'm following the "text editor" path. I was able to open the file with the text editor and since the Stack is not so big I shouldn't need too much time to bring it back to life.
Price to pay for having no backup!
Cheers
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
-
- VIP Livecode Opensource Backer
- Posts: 9660
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Corrupted stack
Might it be prudent to send the corrupted stack to the team?
I do not know how interested they might be in such a thing, but it is rare to find one, and perhaps they might get some insight into how it happened.
Anyone else ever sent one? Anyone have a folder full of corrupted stacks? Anyone know how to make one?
Craig
I do not know how interested they might be in such a thing, but it is rare to find one, and perhaps they might get some insight into how it happened.
Anyone else ever sent one? Anyone have a folder full of corrupted stacks? Anyone know how to make one?
Craig
-
- Posts: 641
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
Re: Corrupted stack
Hi Craig, I guess this is a very good idea.
I'm going to approach Panos by mail and will report back his feedback.
I'm going to approach Panos by mail and will report back his feedback.
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
-
- Posts: 641
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
Re: Corrupted stack
Hi, please find below the answer I got from LC
Best!
I did as suggested and the post is here https://quality.livecode.com/show_bug.cgi?id=21814I have read the forum thread, and I suspect the issue is just "one of those
things". It's probably not reproducible, however it might be worth reporting it
in our Quality Center just as a data point, and so that we have all the
relevant information such as OS and LiveCode version used. If other users also
experience this they can then add to the report, which increases the chance of
a successful diagnosis/fix of the issue:
Best!
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question