Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

wlow3

macrumors regular
Original poster
Sep 9, 2008
246
46
Periodically, I get a script alert that says "sh: :No such file or directory." When I click Edit on the alert, it says:

* An AppleScript application to run the Google Earth installer package.
This is an app instead of a simple AppleScript (or shell script for that matter)
because we need to use the built-in system authentication dialog to elevate to
root safely. If this were a simple script, the application name reported in the
dialog would be wrong (probably "osascript"), so it must be a full-fledged app. *)

And in continues on. I finally realized by clicking a button in the Script Editor, I could reveal the Bundle Info and then right click on the file to get to Reveal in Finder. This shows the "location" of a Google Earth Pro installer at the same level as if I had clicked on my iMac in Finder (where is shows Macintosh HD, Network, etc.) If I click on the iMac though directly in Finder, the installer does not appear.

What I've tried:

Before I found the installer location, I deleted Google Earth Pro (it was the version with auto update) and I hit Delete immediately in Trash. I downloaded and installed the manual update version. This did not work. I still received the original alert periodically.

After I found the location of the installer, I ejected it. This did not work. It did eject, but eventually I started getting the original alert that once again pointed back to an installer.

Question: Any ideas on how to get rid of this thing so I stop getting the alert? What process is leading to the installer coming back after I have ejected it? Thanks.
 
It sounds like there are some remnants of the Google Earth Pro application lingering around on your Mac that you may need to remove in order to stop this script from running and replacing the installer at regular intervals. The culprit should be lurking around in ~/Library somewhere, so that's the place you need to rummage around in search of Google-related things to delete (side note: deleting anything Google-related is immensely satisfying). ~/Library/Application Support/Google Earth & ~/Library/Caches/Google Earth are where most/all of the Google Earth Pro stuff is probably hiding. Happy hunting!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.