dhoer / chef-safari

Chef cookbook to configure Safari browser
https://www.apple.com/safari/
MIT License
0 stars 0 forks source link

AppleScript fails with -10810 on "System Events" on the first execution. The second execution works fine, if execution runs again immediately. #1

Closed dhoer closed 9 years ago

dhoer commented 9 years ago

See http://stackoverflow.com/q/31058362/4548096

dhoer commented 9 years ago

URLs worth noting:

dhoer commented 9 years ago

It seems the issue is "System Events" is not starting until after the chef run completes. An approach I want to try is to fork the applescript using /bin/sh -c and see if that changes the behavior a bit.

dhoer commented 9 years ago

Not able to resolve. A work around is to use retries in the execute resource.