Stack save problem in 9.0 - stack dissapeared - cant reload
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Stack save problem in 9.0 - stack dissapeared - cant reload
Hi,
I just saved a stack in LiveCode 9.0. It is a stack that has been modified and saved many time. Everything looked normal. Nothing else was being done on the machine. Then the stack disappeared as the save concluded.
LC saved the stack. I can see the stack in my directory and it is a good size (not a 0 byte file). I can select it to load - but nothing loads. No errors. Nothing.
I saw a thread on use the message box to see if the stack was there. It returns false every time.
I am stuck. I would really like to have that stack because of course it had a bunch of changes in it.
Thanks
Greg
I just saved a stack in LiveCode 9.0. It is a stack that has been modified and saved many time. Everything looked normal. Nothing else was being done on the machine. Then the stack disappeared as the save concluded.
LC saved the stack. I can see the stack in my directory and it is a good size (not a 0 byte file). I can select it to load - but nothing loads. No errors. Nothing.
I saw a thread on use the message box to see if the stack was there. It returns false every time.
I am stuck. I would really like to have that stack because of course it had a bunch of changes in it.
Thanks
Greg
Re: Stack save problem in 9.0 - stack dissapeared - cant reload
Hi Greg,
sounds like the stack is doing something "on pre/openstack/card" which makes it close again immediately?
Try this in the msg: answer file "Where is the stack?";lock messages;go stack it
Maybe it will open now and you can inspect it.
Best
Klaus
sounds like the stack is doing something "on pre/openstack/card" which makes it close again immediately?
Try this in the msg: answer file "Where is the stack?";lock messages;go stack it
Maybe it will open now and you can inspect it.
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 9785
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Stack save problem in 9.0 - stack dissapeared - cant reload
Hi.
Please do try Klaus' suggestion. Locking messages will prevent any unwanted activity from fouling things up.
But I am keen to hear what went awry, especially if you really did not change anything from one session to another.
Craig Newman
Please do try Klaus' suggestion. Locking messages will prevent any unwanted activity from fouling things up.
But I am keen to hear what went awry, especially if you really did not change anything from one session to another.
Craig Newman
Re: Stack save problem in 9.0 - stack dissapeared - cant reload
Hi,
Thanks for the ideas. Regretfully no joy. Here is what I get:
Message execution error:
Error description: Handler: error in statement
Hint: message
More info:
1. I am running on a Windows 10 system.
2. Now when I load "ANY" stack into LC and save the stack (to a new name) LC crashes.
3. The file is saved but is slightly smaller than the original.
4. When I try to reopen the saved stack I get the above error if I use the message box.
5. If I use the regular open options nothing happens
My next plan is to jump over to my MAC system. You never know. If that does not work and no one has any other ideas I will uninstall LC 9.0 and start over. It has to be in LC 9.0. Every stack I have written over the last few years did not become corrupt all at one time today
Greg
Thanks for the ideas. Regretfully no joy. Here is what I get:
Message execution error:
Error description: Handler: error in statement
Hint: message
More info:
1. I am running on a Windows 10 system.
2. Now when I load "ANY" stack into LC and save the stack (to a new name) LC crashes.
3. The file is saved but is slightly smaller than the original.
4. When I try to reopen the saved stack I get the above error if I use the message box.
5. If I use the regular open options nothing happens
My next plan is to jump over to my MAC system. You never know. If that does not work and no one has any other ideas I will uninstall LC 9.0 and start over. It has to be in LC 9.0. Every stack I have written over the last few years did not become corrupt all at one time today
Greg
-
- Livecode Staff Member
- Posts: 821
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Stack save problem in 9.0 - stack dissapeared - cant reload
Hi Greg,
You could try removing your Prefs, as maybe they have been corrupted, and this can cause unexpected behavior.
To remove your prefs:
1. Quit LiveCode
2. Navigate to C:/Users/your_user_name/AppData/Roaming/RunRev/Preferences/ folder
You should see one or two files there:
livecode.rev --> Prefs for LiveCode versions < 7
livecode7.rev --> Prefs for LiveCode 7, 8 and 9
3. Remove those 2 files from this folder. Either trash them, or put them in a different folder. Those files will be re-generated once you start LiveCode again.
4. Open LiveCode again and try to open/save a stack
Please let us know if this fixes the problem.
Kind regards,
Panos
You could try removing your Prefs, as maybe they have been corrupted, and this can cause unexpected behavior.
To remove your prefs:
1. Quit LiveCode
2. Navigate to C:/Users/your_user_name/AppData/Roaming/RunRev/Preferences/ folder
You should see one or two files there:
livecode.rev --> Prefs for LiveCode versions < 7
livecode7.rev --> Prefs for LiveCode 7, 8 and 9
3. Remove those 2 files from this folder. Either trash them, or put them in a different folder. Those files will be re-generated once you start LiveCode again.
4. Open LiveCode again and try to open/save a stack
Please let us know if this fixes the problem.
Kind regards,
Panos
Re: Stack save problem in 9.0 - stack dissapeared - cant reload
Panos,
Thanks for the things to try. I am afraid though that it did not fix the problem.
I did spend more time looking at everything: My findings:
1) My earlier assertion that it was not related to my stack was wrong. Once I rebooted my machine and restarted LiveCode and got everything more stable, I did a more systematic analysis and discovered it was a series of stacks of the same program giving me issues. These stacks worked last week and last month but no longer.
2) Oddly I can save one of the stacks without problems on my Mac. But the same stack when loaded and saved on the Windows box has problems.
I am must return to work. Thanks to everyone for helping.
Thanks for the things to try. I am afraid though that it did not fix the problem.
I did spend more time looking at everything: My findings:
1) My earlier assertion that it was not related to my stack was wrong. Once I rebooted my machine and restarted LiveCode and got everything more stable, I did a more systematic analysis and discovered it was a series of stacks of the same program giving me issues. These stacks worked last week and last month but no longer.
2) Oddly I can save one of the stacks without problems on my Mac. But the same stack when loaded and saved on the Windows box has problems.
I am must return to work. Thanks to everyone for helping.