Oct 02, 2009 update: The 64-bit version of Adobe Unit Types.osax is now available, and should be the better solution to the /dev/null solution I originally wrote about below. Thanks to Ron Miller who wrote the following email to alert me about the new file:

Rather than put a link to /dev/null, you can fix the Adobe osascript
problem by updating “Adobe Unit Types.osax” to a 64-bit version. See this
link on Adobe’s website.

http://kb2.adobe.com/cps/516/cpsid_51615.html

After upgrading to Snow Leopard, I get the following error added to the top of my Textmate document when I perform a post to my Wordpress blog using Brad Choate’s Blogging Bundle:

2009-09-13 15:38:10.711 osascript[5261:903] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe
Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image
found. Did find: /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture
in universal wrapper osascript: OpenScripting.framework – scripting addition “/Library/ScriptingAdditions/Adobe Unit Types.osax” declares no loadable handlers.

It turned out that deleting or moving the Adobe Unit Types.osax file that’s found in the /Library/ScriptingAdditions/ folder and re-booting my Mac solved the problem.

I got the idea for removing the file from this Apple Mailing List discussion. However, I’m also keeping a copy of this file someplace safe just in case uninstalling and Adobe application requires the file to be put back into that folder.

Additionally, I noticed that the file was re-created after I ran Photoshop and Lightroom, so I had to resort to creating a link with the name Adobe Unit Types.osax and have it point to /dev/null. This is how I did it:

1. In Finder, make a copy of the Adobe Unit Types.osax file, then delete the original file. You might be prompted to enter your Administrator password.

2. Launch Terminal.

2. cd /Library/ScriptingAdditions

3. sudo ln -s /dev/null "Adobe Unit Types.osax"

Keeping my fingers crossed this doesn’t break my Adobe apps.