Livecode not opening my stack with no errors :(

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
Opaquer
Posts: 247
Joined: Wed Aug 14, 2013 8:24 am

Livecode not opening my stack with no errors :(

Post by Opaquer » Mon Mar 21, 2016 1:08 am

Hey everyone! So, bit of bad news :(. The other day I was helping a friend, and he needed to unplug my monitor to plug in his laptop. I decided to save my stack before he did, in case he unplugged the wrong cable. Once it was saved, he unplugged the computer instead of the monitor (lucky I saved - or so I thought). However, I came in today ready to start working, and the stack won't open now :(. It doesn't come up with any errors, or anything, it just doesn't open. I go File->Open and nothing happens (it may be worth noting that there wasn't anything in Livecode's recent file list at this point either). I close Livecode and open the actual .livecode file from Windows Explorer, and it just opens Livecode and not the stack :(. I just got LC 8 DP 16 (I was using DP 14 until just now) in the hopes that would fix it, but it's still doing the same thing. I've got a backup from a couple of days ago that opens fine and everything, but it's missing some stuff that I've added since then. I've tried Googling, but have only come up with corrupted files from people opening their .livecode file in a text editor and things along those lines

Does anyone have any ideas on how I can get my stack back? Any ideas would be absolutely welcome :)

Thanks in advanced

Michael

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

Re: Livecode not opening my stack with no errors :(

Post by FourthWorld » Mon Mar 21, 2016 3:07 am

So it's not reporting corruption - could it be opening invisibly or offscreen?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Opaquer
Posts: 247
Joined: Wed Aug 14, 2013 8:24 am

Re: Livecode not opening my stack with no errors :(

Post by Opaquer » Mon Mar 21, 2016 3:08 am

I doubt it - there's nothing to cause it in the code. Also, when I go to open it, it doesn't do anything. It's exactly as if the stack wasn't even opened. When I go to the file menu, there's nothing there that needs to be there - the Standalone Settings, add new substack, all of that is greyed out. And there's no windows open in the Window menu :(. I just don't understand what it could be :(

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

Re: Livecode not opening my stack with no errors :(

Post by FourthWorld » Mon Mar 21, 2016 4:12 am

Weird. You might send that to Support and see what they can find.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Opaquer
Posts: 247
Joined: Wed Aug 14, 2013 8:24 am

Re: Livecode not opening my stack with no errors :(

Post by Opaquer » Mon Mar 21, 2016 4:53 am

I might have to give it a try. It's just annoying because I want to get started on it and get this project over sooner rather than later is all :(.

I just don't understand what could even cause something like this though - no error, no messages, nothing! It's weird!

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

Re: Livecode not opening my stack with no errors :(

Post by jacque » Mon Mar 21, 2016 4:04 pm

In the message box, type:

there is a stack "<name of your stack>"

If it says "true", which I'm thinking it will, then:

show stack <name>
toplevel <name>

And if you still don't see it, and the above gives no errors:

set the loc of stack <name> to the screenloc
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

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

Re: Livecode not opening my stack with no errors :(

Post by FourthWorld » Mon Mar 21, 2016 4:21 pm

Opaquer wrote:I just don't understand what could even cause something like this though - no error, no messages, nothing! It's weird!
You mentioned having a monitor attached to your system which you'd disconnected. If that was a second monitor and the stack was last saved at a location within it, it may be that it's opening outside the bounds of the monitor you're currently using.

You can check "the working screenrects" on preOpenStack to account for that going forward.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm

Re: Livecode not opening my stack with no errors :(

Post by quailcreek » Mon Mar 21, 2016 6:46 pm

What other versions of LC do you have installed? This sound like what happens when you try to open a stack using a previous version of LC. Like when you try to open a version 7 stack with version 6. What is the default version of LC on your machine?
Tom
MacBook Pro OS Mojave 10.14

Opaquer
Posts: 247
Joined: Wed Aug 14, 2013 8:24 am

Re: Livecode not opening my stack with no errors :(

Post by Opaquer » Tue Mar 22, 2016 12:10 am

jacque wrote:In the message box, type:

there is a stack "<name of your stack>"

If it says "true", which I'm thinking it will, then:

show stack <name>
toplevel <name>

And if you still don't see it, and the above gives no errors:

set the loc of stack <name> to the screenloc
Hey jacque. Again :P. So I haven't used the message box before, so I might have done something wrong, but typing that in just came back with a "double binary expression" error, so I changed it to just say exists(stack "Stack name"), and it came back with "Can't find stack" error :(.

Also FourthWorld, I've only got the one monitor, and nothing is hidden somewhere else - as I mentioned, Livecode doesn't even pick up that I've opened a stack when I try open it. Also Tom, I've only got LC 8 DP 13, 14 and I just got 16, though I didn't get 16 until after all this happened, and was using DP 14 for ages :)

I just got an email back from support, and the best guess so far is that the stack got corrupted during the saving process and when my computer's plug got pulled out. They've asked me to send the stack to them, which I have, but they'll let me know once they know I guess?

Opaquer
Posts: 247
Joined: Wed Aug 14, 2013 8:24 am

Re: Livecode not opening my stack with no errors :(

Post by Opaquer » Tue Mar 22, 2016 2:53 am

LC 8 DP 14 when it happened. After the shutdown, I tried on DP 14 again, but it still didn't work, so I got DP 16 just in case it fixed it, but that didn't work either

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

Re: Livecode not opening my stack with no errors :(

Post by jacque » Tue Mar 22, 2016 4:18 am

Support would know best, so it probably is corruption. All the LC8 DP versions warn that they made a change to how stacks are saved and you should keep good backups. The good news is that there's a fair chance the engineers can unravel and restore your stack.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Opaquer
Posts: 247
Joined: Wed Aug 14, 2013 8:24 am

Re: Livecode not opening my stack with no errors :(

Post by Opaquer » Tue Mar 22, 2016 6:07 am

I suppose so. We'll just have to wait and see what happens :). Thanks everyone for all your help :)

Michael

Post Reply