[Pythonmac-SIG] Problems with /Library/ScriptingAdditions/Adobe Unit Types.osax

William R. Wing (Bill Wing) wrw at mac.com
Wed Jun 6 02:43:59 CEST 2012


Hope someone here can help with a work-around.

Context:  OS-X 10.7.4 (Lion), Python 2.7.3 (downloaded from Python.org and installed in /Library/Frameworks... (not /System/Library), and seems to work just file.

However, when I attempt to run any sort of GUI code (either a Tk demo from the Python docs page or a wxPython demo), I get the following error msg:

StraylightPro:Python wrw$ python tk_test.py
2012-06-05 20:28:35.442 Python[51697:f07] 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
Python: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.

When I first hit this, I was running wxPython2.8 which is based on the Carbon widgets and thus has to run in 32-bit mode.  I assumed I was seeing an architecture collision, so downloaded wxPython2.9 Cocoa, which should be 64-bit compatible.  Same error.  After scratching my head and checking with Google (which knows about this error in conjunction with Adobe CS products but knows nothing about Python), I decided to try a Tk demo, assuming that since the Tk library is bundled with Python, it would be good to go.  I got the same identical error again, and in fact (as you can see) the fragment of the terminal session pasted in above was from the Tk test.

Color me frustrated.  Any help appreciated.

Thanks,
-Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20120605/464c5aa3/attachment.html>


More information about the Pythonmac-SIG mailing list