Page 1 of 1
I've got an awful feeling ...
Posted: Thu Jun 26, 2008 5:28 am
by dalkin
I've been building this one for a while and decided to look at a few of the sample stacks in the rev online viewer. I looked at several, and after saving and closing my standalone project, suddenly encountered the following error on clicking a button that previously simply loaded a simple stack:
The only trouble is, my entire project is not predicated on any sort of database whatsoever. It looks as though just by looking at sample stacks, including a couple of sample DB stacks, my project has somehow "inherited" some of the properties. I've checked all the script buttons and they're all clean. This only happens on one button but it happens on that button throughout the whole project.
Any thoughts?
Posted: Thu Jun 26, 2008 8:11 am
by keyless
post the buttons script, it just sounds like a conflict.
Are any of the stacks you looked at still in memory? Are you using any reserved names?
Posted: Thu Jun 26, 2008 8:45 am
by dalkin
Well ... that's the thing. The script that opens the stack is simply:
on mouseUp
go to stack "Ideas for Jokes"
end mouseUp
The other strange thing is that when I click the error box away, the stack then opens but I'm then unable to drag it by the menu bar on the 1st attempt - the 2nd attempt drags it as it should.
The result is the same whenever I call the script in the build. I also used the "Close and remove from memory" command
Posted: Thu Jun 26, 2008 9:08 am
by malte
Did you accidently make any of the stacks you were looking at a substack?
in the messagebox try
put the substacks of stack "yourStackName"
Also, what is in the card and stack script of the stack you are going to?
Posted: Thu Jun 26, 2008 9:13 am
by Mark
Hi Dalkin,
What happens if you quit Revolution, re-open it without opening any stacks, and then open the stack "Ideas for Jokes.rev" (or whatever the filename is) directly?
If Ideas for Jokes is a substack of another stack, you might want to type
clone stack "Ideas for Jokes"
in the message box and type enter and save the stack as "Ideas for Jokes.rev" before quitting and re-opening Revolution.
How much time is there between the first and the second attempt to drag your stack around?
Best,
Mark
Posted: Thu Jun 26, 2008 9:49 am
by dalkin
Thanks everyone.
Message watcher shows the following up to the point the button is clicked:
Quit/reopen/open "IFJ" reproduces the error
Clone stack also reproduces the error then proceeds with cloning the stack.
The cloned stack also reproduces the error and if anyone wants to take a look, I've loaded it to:
http://www.cartooningschool.com.au/websnap/jokes.rev
If it reproduces on your machine, the bug is in the stack, if not, it's in my rev build I guess.
Posted: Thu Jun 26, 2008 10:20 am
by Mark
Hi Dalkin,
Open your stack and then open the Database Query Builder from the Tools menu. Delete query 1. This should fix it.
Best,
Mark
Posted: Thu Jun 26, 2008 10:46 am
by dalkin
Many thanks Mark, any ideas as to how it got there? I swear on a stack of Rev manuals I didn't make any entries there!
Posted: Thu Jun 26, 2008 5:06 pm
by Mark
I have no idea, Dalkin.