Mac Error Type 10810
Contents |
Google Apps QI B.A.S. Information Technology Contact Me The Infamous OS X execution error: An error of type -10810 has occurred. (-10810) This error seems to appear often when I am using osascript for the application cannot be opened 10810 automating things. This error is a bit of a mystery as hundreds of
The Application Finder Can't Be Opened 10810 Fix
users will say. In addition, it is not even listed in the MacErrors.h file found at: /System/Library/Frameworks//CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/MacErrors.h 1 /System/Library/Frameworks//CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/MacErrors.h After a
"10810" "finder" "disown"
lot of searching, I found some possible reasons why this error occurs: there is not a GUI, but one is required-even if being run as root access to assistive devices is not enabled
Failed With Error 10810 For The File
the process table is full (i.e. fork bombs or zombie processes) LaunchServices has some sort of failure Since I mostly deal with scripting and automation, this post will be more about that and not so much about the Finder not being able to open because of this error. There Is Not A GUI, But One Is Required This error sometimes appears when running a script that requires the application finder can't be opened 600 a GUI, but the script is being run as root. The solution here is to get the current user and substitute as them. First, you need to get the current user and store that value in a variable, which can be done a number of ways: currentUser=$(stat -f "%Su" /dev/console) # Alternate ways to get the currently logged in user currentUser=$(who | grep console | awk '{print $1}') currentUser=$(logname) currentUser=$(ls -l /dev/console | cut -d " " -f4) currentUser=$(printf "get State:/Users/ConsoleUser\nd.show" | scutil | awk '/kCGSSessionUserNameKey/ {print $3}') 123456 currentUser=$(stat -f "%Su" /dev/console)# Alternate ways to get the currently logged in usercurrentUser=$(who | grep console | awk '{print $1}')currentUser=$(logname)currentUser=$(ls -l /dev/console | cut -d " " -f4)currentUser=$(printf "get State:/Users/ConsoleUser\nd.show" | scutil | awk '/kCGSSessionUserNameKey/ {print $3}') Then you can run the script under that user's context: su "$currentUser" -c "your commands here" 1 su "$currentUser" -c "your commands here" When running as root, another method is to use bsexec . I found this method useful with terminal-notifier. loggedInUser=$( ls -l /dev/console | awk '{print $3}' ) loggedInPID=$( ps -axj | awk "/^$loggedInUser/ && /Dock.app/ {print \$2;exit}" ) /bin/launchctl bsexec "${loggedInPID}" sudo -iu "${loggedInUser}" "some commands here" 123 loggedInUser=$(
can not post a blank message. Please type your message and try again. nrazel Level 1 (0 points) Q: How to solve error 10810? Error 10810Hello, I have a macbook pro 2009.I got some messages " your startup disk is almost full"Now I got a blue screen with the the application finder can't be opened 10810 snow leopard message "error 10810 has occured"I can't work with my mac.Please help meThanks MacBook Pro, iOS 6 the application finder can't be opened el capitan Posted on Jul 25, 2013 1:29 AM I have this question too Close Q: How to solve error 10810? All replies Helpful answers by an error of type 5014 has occurred sterling r, sterling r Jul 27, 2013 8:45 AM in response to nrazel Community Specialists Jul 27, 2013 8:45 AM in response to nrazel Hello nrazel,I recommend this article named Resolve startup issues and perform disk maintenance with Disk Utility http://jacobsalmela.com/infamous-execution-error-error-type-10810-occurred-10810/ and fsck found herehttp://support.apple.com/kb/TS1417ResolutionTry a Safe BootIf you're using Mac OS X 10.2 or later, you can start up your computer in Safe Mode, which includes an automatic disk check and repair. If you're using Mac OS X 10.1.5 or earlier, skip to the next section. A Safe Boot, which starts up your computer into Safe Mode, may allow you to start up your computer successfully using a reduced version of the system software. To do this, follow these https://discussions.apple.com/thread/5192456?tstart=0 steps:Start up in Safe Mode.After the system has fully started up, restart your computer again normally.If the computer successfully restarts, you do not need to do any more troubleshooting. If the issue persists, try Disk Utility.Try Disk UtilityStart from the Recovery System or Internet Recovery (OS X Lion or Mountain Lion).If your computer shipped with a Mac OS X Install disc, insert the installation disc, and restart the computer while holding the C key.If using a Recovery partition or Internet Recovery (OS X Lion and later): When your computer finishes starting up, choose Disk Utility from the Utilities window.If using an installation disc: Choose Disk Utility from the Installer menu.Important: If you started from an installation disc, do not click Continue in the first screen of the Installer. If you do, you must start from the disc again to access Disk Utility.Click the First Aid tab.Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.Select your OS X volume.Click Repair. Disk Utility checks and repairs the disk.Tip: With Mac OS X v10.6 and earlier, always start up your computer from an Install or Restore disc when using Disk Utility to verify or repair your startup volume. Otherwise, you might see some disk error messages.All the best,Sterling Helpful (0) Reply options Link to this post by Raphael99, Raphael99 Nov 5, 2014 1:49 AM in
here for a quick overview of the site Help Center Detailed answers to any questions you http://stackoverflow.com/questions/28229274/applescript-execution-error-10810-when-launching-certain-applications-from-she might have Meta Discuss the workings and policies of this https://discussions.agilebits.com/discussion/49540/i-keep-getting-execution-error-type-10810-since-loading-os-x-el-capitan site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community the application of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up AppleScript: execution error -10810 when launching certain applications from shebang'ed scripts up vote 2 down vote favorite I'm running OS X 10.10.2. I'm facing a weird issue where AppleScript won't launch applications from shebang'ed scripts the application finder while working fine everywhere else (Script Editor, piping to osascript, etc.). Specifically, consider the following example script named launch-app: #!/usr/bin/osascript launch application "TextEdit" When TextEdit is not running and I do ./launch-app I get ./launch-app:0:29: execution error: An error of type -10810 has occurred. (-10810) When I do iMac I get an error that says."The operation couldn't be completed. /Users/my name/Library/Application Scripts/ 2BUA8C4S2C.comagilebits.onepassword-osx-helper/1PasswordAutosubmit.scpt:36:52:execution error: An error of type10810 has occurred. (10810) 1Password Version: 5.3 Extension Version: chrome extension 4.4.3.90 OS Version: OS X El Capitan 10.11 Sync Type: iCloud via wifi Referrer: forum-search:I keep getting execution error type 10810 since loading OS X El Capitan Screen Shot 2015-10-11 at 12.29.33 PM.png 36.5K Comments Drew_AG AgileBits Team Member October 2015 Hi @tbsdca, I'm sorry you're getting that error message. Thanks for the screenshot of the error - it's really helpful! Although I don't know exactly why that error is appearing, it seems to be referring to the auto-submit script which is installed by the Mac App Store version of 1Password. It's a very simple script which simulates pressing the Enter key when the 1Password extension fills your login information on a website. You can try deleting the auto-submit script to see if that solve the problem. Even without that script, 1Password should still be able to automatically submit login forms on many (if not all) of the sites where you have logins. Here are the steps to remove that script: Close all browsers and 1Password. In the Finder, go to the following folder: ~/Library/Application Scripts/2BUA8C4S2C.com.agilebits.onepassword-osx-helper Delete the 1Password_Autosubmit.scpt file. Reboot your Mac. Does that help? Let us know how it goes and if you have any questions about that. Thanks! tbsdca ✭ October 2015 Thanks Drew. I followed the instructions you laid out and it worked! Drew_AG AgileBits Team Member October 2015 Awesome! Thanks for letting us know that worked, @tbsdca. If you run into more problems or need anything else, we