22

I'm trying to install OS X Yosemite through 'Install OS X Yosemite.app' downloaded from the Internet. When I try to open it by double clicking it, nothing happens. When I use the terminal I get the following message:

$ open /Applications/Install\ OS\ X\ Yosemite.app/
LSOpenURLsWithRole() failed with error -10810 for the file /Applications/Install OS X Yosemite.app.
  • Install on to what ? – Ruskes Apr 15 '15 at 15:15
19

That would seem to imply the executable within the package isn't actually executable.

Where did you get it from?
If not Apple, I'd leave it well alone. If it was from Apple, try this in Terminal

chmod +x /Applications/Install\ OS\ X\ Yosemite.app/Contents/MacOS/InstallAssistant

  • Glad it worked for you - please feel free to mark my answer as correct ;) – Tetsujin Apr 16 '15 at 7:58
  • 1
    This helped me, but I just wanted to add that I fixed my problem (running Kettle Pentaho 4.4 on OS X Yosemite) by making the same permissions change to Contents/MacOS/JavaApplicationStub in my .app directory. – Matt Vukas Aug 26 '15 at 18:46
  • Add that as another answer - it may be helpful for future Googlers – Tetsujin Aug 26 '15 at 18:56
11

I had this error with Pentaho 8. This command solved it for me: xattr -dr com.apple.quarantine '/Applications/Pentaho/design-tools/data-integration/Data Integration.app'

OSX will "quarantine" files that are downloaded from untrusted sources.

You can see if this is your problem by listing the xattrs. cd /path/to/your/ApplicationName.app xattr -l Contents/MacOS/*

If you see "com.apple.quarantine" then that's your problem.

  • 1
    Thanks, this fixed my issue with Pentaho Data Integration not starting on macOS as well. – Tharabas Jan 31 at 12:03
  • 1
    I thought this might solve my problem with Wings3D 2.1.7, because it did indeed have a "com.apple.quarantine" xattr attribute set, but even after removing the attribute, while the actual executable file can be run, running "open" on the .app package still gives the "-10810" error (similar to what @tripleee describes in their answer). – Jacob C. supports GoFundMonica Apr 2 at 21:39
3

I mysteriously got this on Yosemite for the Calendar app. Launching the actual binary worked for me.

bash$ /Applications/Calendar.app/Contents/MacOS/Calendar &

There did not seem to be a permissions issue that could be fixed with chmod.

The symptom I got originally was "The application "Calendar.app" is not open anymore" when attempting to click calendar reservations in Mail.app.

  • I had this problem with Pentaho and had to run "xattr -d com.apple.quarantine JavaApplicationStub" on the internal binary to get it to work. – HVS Dec 13 '17 at 20:26
  • You mean the path I show in the answer? Mine doesn't have any xattr but it's still misbehaving (now worse than when I posted this answer). – tripleee Dec 14 '17 at 4:23
  • FWIW some update along the way revived my Calendar and it's now back to normal, I think after 10.13.3 or 10.13.4 High Sierra update. – tripleee Apr 11 '18 at 7:43
1

I had this error when attempting to run an application from an ssh terminal while the screen was locked. The app complained that the user did not have permission to open a GCWindow.

Unlock the screen by logging in, and my app now launches fine.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .