Re: LSOpenURLsWithRole failure

2012-12-13 Thread Vojtěch Meluzín
Thank you folks. The customer actually found the cause - permissions. The
installers are distributed as ZIP files, and some extractors don't set the
x permission on the extracted executables and Mac OS X stupidly reacts by
doing, well, nothing... So that was it, but at least I now know what causes
it.

Cheers!
Vojtech


2012/12/11 Ken Thomases k...@codeweavers.com

 On Dec 11, 2012, at 11:12 AM, Vojtěch Meluzín wrote:

  one of the customers reported that on his 10.8.2 our installer failed to
  even run and in the terminal there was this message:
 
  LSOpenURLsWithRole() failed with error -10810 for the file
  /Users/visa/Downloads/mxxx_7_05_setupmac/mxxx_7_05_setupmac.app.
 
  I have checked that there is no call to the god damn LSOpenURLsWithRole,
  whatever it is. Any ideas what's wrong?

 My first guess is simply that their download was corrupted.  You can have
 them check it with md5sum or the like.  Or you can have them trash what
 they downloaded and download it again.

 Regards,
 Ken


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

LSOpenURLsWithRole failure

2012-12-11 Thread Vojtěch Meluzín
Hi,

one of the customers reported that on his 10.8.2 our installer failed to
even run and in the terminal there was this message:

LSOpenURLsWithRole() failed with error -10810 for the file
/Users/visa/Downloads/mxxx_7_05_setupmac/mxxx_7_05_setupmac.app.

I have checked that there is no call to the god damn LSOpenURLsWithRole,
whatever it is. Any ideas what's wrong?

Cheers!
Vojtech
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: LSOpenURLsWithRole failure

2012-12-11 Thread Charles Srstka
On Dec 11, 2012, at 11:12 AM, Vojtěch Meluzín meldaproduct...@gmail.com wrote:

 Hi,
 
 one of the customers reported that on his 10.8.2 our installer failed to
 even run and in the terminal there was this message:
 
 LSOpenURLsWithRole() failed with error -10810 for the file
 /Users/visa/Downloads/mxxx_7_05_setupmac/mxxx_7_05_setupmac.app.
 
 I have checked that there is no call to the god damn LSOpenURLsWithRole,
 whatever it is. Any ideas what's wrong?

Is mxxx_7_05_setupmac.app part of your installation process? What does it do?

Charles

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: LSOpenURLsWithRole failure

2012-12-11 Thread Jean-Daniel Dupas
Le 11 déc. 2012 à 18:12, Vojtěch Meluzín meldaproduct...@gmail.com a écrit :

 Hi,
 
 one of the customers reported that on his 10.8.2 our installer failed to
 even run and in the terminal there was this message:
 
 LSOpenURLsWithRole() failed with error -10810 for the file
 /Users/visa/Downloads/mxxx_7_05_setupmac/mxxx_7_05_setupmac.app.
 
 I have checked that there is no call to the god damn LSOpenURLsWithRole,
 whatever it is. Any ideas what's wrong?


Unfortunately error -10810 means kLSUnknownErr (Unexpected internal error), so 
it does not give much information. 
You may have a look in the Console Utility, sometimes it contains more useful 
message (especially launchd error as it is responsible of launching an app when 
you double clic on it).

Look for something like: 
com.apple.launchd.peruser.501[217]: ([0x0-0x732732].you.bundle.id[10908]) Job 
failed to exec(3) for weird reason: errno code

It may happen when the executable file (Contents/MacOS/exec) in the bundle 
has wrong permission and is not executable.
I sometime see this kind of error when an application archive is uncompress on 
a PC and then copied on the Mac, or when something goes wrong with the download.


-- Jean-Daniel





___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: LSOpenURLsWithRole failure

2012-12-11 Thread Ken Thomases
On Dec 11, 2012, at 11:12 AM, Vojtěch Meluzín wrote:

 one of the customers reported that on his 10.8.2 our installer failed to
 even run and in the terminal there was this message:
 
 LSOpenURLsWithRole() failed with error -10810 for the file
 /Users/visa/Downloads/mxxx_7_05_setupmac/mxxx_7_05_setupmac.app.
 
 I have checked that there is no call to the god damn LSOpenURLsWithRole,
 whatever it is. Any ideas what's wrong?

My first guess is simply that their download was corrupted.  You can have them 
check it with md5sum or the like.  Or you can have them trash what they 
downloaded and download it again.

Regards,
Ken


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com