Stack closing before it opens

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

Stack closing before it opens

Post by Opaquer » Sat Feb 27, 2016 2:22 am

Hey all! So, I did a bit of a bad :(. I'm working on an app at the moment that used the Dropbox library. So far, it's all been good, but I was trying to test it as a standalone, and noticed that the Dropbox stack wasn't being copied, so I went to standalone settings and added the Dropbox stack to my app. I already had the Dropbox stack open and in use (as it does that on the openStack), and Livecode gave me an error saying that because there was already a stack with the same name open it could cause data loss (or something like that). I closed Livecode and re-opened it, and it didn't load the stack for some reason. So, I thought it was trying to open Dropbox (when I have it in my openStack code) and from the standalone setting I changed. So (and here's the stupid part :P), I decided to comment out the part of the code that says to start using the Dropbox library in openStack, and closed it.

Now here's the issue. Just after the part where it should start using the Dropbox library, I've got code I that says if the Dropbox library stack isn't being used, to quit. I thought it was a pretty good idea at the time, but the problem now is that it tries to open, is unable to use the Dropbox library, tells me it can't connect, and then closes Livecode, which is a slight issue :P. Is there any way I can interrupt the program before it closes, so I can un-comment the troublesome code? The backup I have is a couple of days old unfortunately, so I'd rather not use it if I can avoid it, though I did make an .exe just before I made it stop working if that helps at all

Any help to get my app working again would be appreciated :P

Many thanks

Michael

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Stack closing before it opens

Post by Simon » Sat Feb 27, 2016 2:32 am

Hi Michael,
The the main menu bar there is an icon of an envelope (Messages), click it (gets a circle with red line through it) before opening your stack and all messages will be canceled.
Problem solved :)

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

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

Re: Stack closing before it opens

Post by Opaquer » Sat Feb 27, 2016 5:43 am

Thank you so much Simon! That did the trick! Now I'll fix the code so this never happens again :D!

Post Reply