Re: Strange error -10810 when running applets
Re: Strange error -10810 when running applets
- Subject: Re: Strange error -10810 when running applets
- From: Steve Mills <email@hidden>
- Date: Tue, 10 Jan 2017 14:20:23 -0600
On Jan 9, 2017, at 08:47:45, Steve Mills <email@hidden> wrote:
>
> Something has just started happening. Any time I try to run an AppleScript that's saved as an app by launching it from Finder or from the system Scripts menu, it fails with:
>
> An error occurred. OSErr -10810
>
> I can't find that error mentioned anywhere. Finder says:
>
> The application “Parse from Script Editor” can’t be opened.
>
> The app has never been signed, but they all worked before. As a test, I tried signing them with all of the various certificates or whatever they are that show up in the Code Signing popup in Script Debugger. Nothing there works.
Not sure what about 10.12.2 has broken this, but the problem is that when Script Editor or Script Debugger save a script as an app in any folder other than /Applications, they don't correctly set the executable bits on blah.app/Contents/MacOS/applet. This causes the cryptic error messages.
If you first save the app into /Applications/, then it works. If you then move it to another folder, it still works. But if you then edit and save the script, it will go back to not working.
Writing up a bug now.
--
Steve Mills
Drummer, Mac geek
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden