Skip navigation

LSOpenURLsWithRole() failed with error -10810

3481 Views 1 Reply Latest reply: May 27, 2013 2:35 PM by Kailas RSS
Kailas Level 1 Level 1 (0 points)
Currently Being Moderated
Apr 19, 2013 8:17 PM

I recently got a new 15" MacBook Pro and which came with a clean in stall of Mountain Lion. I set up the new user and migrated my files over manually.

 

I use LiveCode for building apps and these apps will try to open a folder in the finder by passing a shell command to the OS. Oddly, this app/handler is failing on my machine but not on others.  Testing is really simple: if it works in the terminal it will work in LiveCode... so typically you go test all your shell calls in the terminal... so... the open command is failing as you can see in this terminal attempt to open my Documents folder.

 

Brahmanathaswami:~ Brahmanathaswami$ open "/Users/Brahmanathaswami/Documents"

LSOpenURLsWithRole() failed with error -10810 for the file /Users/Brahmanathaswami/Documents.

 

Another symptom I believe is related: I can option click on a dock icon for a folder e.g. downloads and the menu item pops up

 

Open "Downloads"

 

but if I choose that,  it fails, silently, folder does not open and no error msg reported. I suspect if I were to tail some system log, I would see the same error. 

 

I downloaded and ran the 10.8.3 combo update.I was told by our enterprise tech support which is currently stumped by this problem... that the combo update this "touches more files" and repaired permissions (no wrong permissions were found after the update) But I still get that error.

 

If I act as the super user

 

Brahmanathaswami:~ Brahmanathaswami$ sudo open "/Users/Brahmanathaswami/Documents"

Password: ******

 

then it works!

 

But I need this to work without having to use sudo.

MacBook Pro, OS X Mountain Lion (10.8.3)

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.