newbie: standalone application problem

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
MAatHome
Posts: 8
Joined: Sat May 12, 2007 4:00 am

newbie: standalone application problem

Post by MAatHome » Sun May 13, 2007 3:14 pm

Trial Install of Revolution Studion Version 2.8.0, Build 370 on Mac OS X, Version 10.4.9 G4 PPC TiBook.

I've created a stack that is (so far) just a window with some input fields and text. No code (written by me). I then 'Save as Standalone Application'. On my machine, when I execute the OS/X generated app, it all works.

I send it to a friend to see if it is truly standalone and he gets nothing. From his report, absolutely nothing, no menu, no error, no window ... nothing. He has a PPC and Intel Mac, Revolution not installed .. nothing on either one.

So, he installs Revolution (not sure which product), in case 'standalone' isn't 100%, still no go. Then, he creates a similar stack, saves as a standalone app, sends it to me and it works! (sigh)

Any ideas?
Mike.

malte
Posts: 1098
Joined: Thu Feb 23, 2006 8:34 pm
Contact:

Post by malte » Sun May 13, 2007 4:23 pm

Hi Mike,

how did youtransfere the app from one computer to the other? Try zipping the standalone that works on your machine and send it over. It might be that permissions in the app folder broke during the transfere.

Hope that helps,

malte

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Sun May 13, 2007 4:32 pm

Mike,

Did your friend try the standalone on the PPC Mac? I suspect you build a standlone for PPC, which doesn't run on Intel Mac. Have a look at the standalone settings, where you can make sure that the standalones run on any Mac with Mac OS X installed.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

malte
Posts: 1098
Joined: Thu Feb 23, 2006 8:34 pm
Contact:

Post by malte » Sun May 13, 2007 6:00 pm

That might also be a cause, right. But the other way round :-). If you build for INTEL and the fellow uses a PPC it wont launch. The INTEL machine would launch the PPC one under Rosetta.

All the best,

Malte

MAatHome
Posts: 8
Joined: Sat May 12, 2007 4:00 am

newbie: standalone application problem

Post by MAatHome » Sun May 13, 2007 6:51 pm

Thanks for the replies.

In 'Standalone Application Settings'->'OS X', "Build for: Mac OS X (Universal)" is checked. _And_ he tried it on both a PPC and Intel box.

I sent the file via email and also suspected some interference from his email client (he sent his example to me as zip ... except his email client did the zipping automagically. I use Eudora)

As far as permissions per se, I'll ask him, but I did send a second time as a tar file ... I would think this would have preserved the permissions. It still didn't work.

I'll email and make sure the permissions sync up ... silly friend isn't on AIM all day Sunday ... like he has a life :-) (just kidding!)

thanks,
Mike.

MAatHome
Posts: 8
Joined: Sat May 12, 2007 4:00 am

newbie: standalone application problem

Post by MAatHome » Mon May 14, 2007 12:47 am

Friend reports that permissions are the same as mine.

Still no joy.

Sending him my .rev file to see if it is something specific to my installation.

thanks for your help,
Mike.

MAatHome
Posts: 8
Joined: Sat May 12, 2007 4:00 am

newbie: standalone application problem

Post by MAatHome » Tue May 15, 2007 1:08 pm

Good news/Bad News - I sent my friend my .rev file. He made a standalone application and sent it back, and it works. So, this is starting to look more like a bug (imo).

Mike.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Tue May 15, 2007 1:15 pm

Hi Mike,

What are the differences between the standalones? (scripts, file size, file icon, standalone settings, files in application package, additional info?)

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

MAatHome
Posts: 8
Joined: Sat May 12, 2007 4:00 am

newbie: standalone application problem

Post by MAatHome » Tue May 15, 2007 4:36 pm

Mark,

Excellent question.

A quick comparison of the files shows that my generated version (the bad one) has an empty directory /Contents/Plugins Disabled. (his does not)

Perhaps this is a flag that all Plugins are disabled?

The files and the sizes of all the other files are identical. I haven't diff'd the files yet.

thanks,
Mike.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Tue May 15, 2007 8:26 pm

Hi Mike,

The folder Plugins Disabled contains plugins that may have been disabled afterwards and not before creating the standalone. As far as I know, this folder is rather unimportant for Rev, although you might want to write plugins for your standalone application and offer an option to enable and disable them.

I dont' think you need to diff files, checking file sizes should be sufficient.

Have you tried re-installing Revolution? You might want to try the new 2.8.1.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

MAatHome
Posts: 8
Joined: Sat May 12, 2007 4:00 am

newbie: standalone application problem

Post by MAatHome » Fri May 25, 2007 1:53 pm

Thanks for the suggestion. I did the upgrade to 2.8.1, but still no joy ... the stand-alone application will run on my machine, but not my buddy's. I am not discounting the fact that this could be a user error in the transmit/receive process, but without access to his machine, I really can't debug.

I'll see if I can run it on my wife's powerbook.

Mike.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Fri May 25, 2007 2:04 pm

Mike,

I am 99% sure that you are doing something wrong. You could make a screenshot of every screen in the standalone settings and send the pictures to me. See my profile for contact info.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

dvcronan
Posts: 1
Joined: Fri Jun 01, 2007 2:00 am

standalone application problem

Post by dvcronan » Sat Jun 02, 2007 6:08 pm

I just upgraded to Studio 2.8.1 to make my own standalones. I got a test stack to work on windows, but not on other Mac OSX machines. The app fails to launch. Why?

It would be nice for some documentation on this (like what goes into the standalone settings window). It would be nice for this feature to work since it is why I paid for an upgrade.

Thanks,
David

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Sat Jun 02, 2007 8:00 pm

David and others,

For a start, you really should make a few screenshots of the standalone settings window and post them here or send them by e-mail. Without seeing the standalone settings, there is no way to tell whether the problem is caused by a bug or not.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Post by BvG » Tue Jun 05, 2007 9:07 pm

2.8.1 has a bug that prevents it to run on older versions of mac os x, even though it's supposed to. If i remember correctly everything below 10.3.0 won't work.

If your friend has a version older then that, then that might be the problem.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Post Reply