This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Antigravity prints osascript errors in OS X Yosemite
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.4
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: ezio.melotti, hynek, jkubicek, ned.deily, ronaldoussoren
Priority: normal Keywords:

Created on 2015-01-08 18:52 by jkubicek, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (8)
msg233676 - (view) Author: Jim Kubicek (jkubicek) Date: 2015-01-08 18:52
Python 3.4.2 (default, Dec 29 2014, 14:03:16) 
    [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import antigravity
    2015-01-08 10:45:03.771 osascript[47250:12135049] 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.

The import command appears to work correctly (the proper XKCD opens), so I think this issue is just cosmetic.
msg233677 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2015-01-08 18:54
Do you see the same messages if you use the webbrowser module directly?
msg233678 - (view) Author: Jim Kubicek (jkubicek) Date: 2015-01-08 18:57
I do. I was just coming back here to post that very thing.
msg233679 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2015-01-08 19:00
Does anything change if you use open/open_new/open_new_tab, and/or use different urls (http and https)?
msg233680 - (view) Author: Jim Kubicek (jkubicek) Date: 2015-01-08 19:02
No, the behavior is the same in all cases
msg233681 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2015-01-08 19:03
My guess is that you have an older 32-bit-only Scripting Addition from Adobe installed.  This has nothing to do with Python.
msg233682 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2015-01-08 19:05
The solution is to either remove or update /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit.
msg233683 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2015-01-08 19:10
P.S. See https://discussions.apple.com/thread/4355847?start=0&tstart=0
History
Date User Action Args
2022-04-11 14:58:11adminsetgithub: 67383
2015-01-08 19:10:58ned.deilysetmessages: + msg233683
2015-01-08 19:05:42ned.deilysetstatus: open -> closed
resolution: third party
messages: + msg233682

stage: resolved
2015-01-08 19:03:51ned.deilysetmessages: + msg233681
2015-01-08 19:02:26jkubiceksetmessages: + msg233680
2015-01-08 19:00:55ezio.melottisetnosy: + ronaldoussoren, ned.deily, hynek
messages: + msg233679
2015-01-08 18:57:23jkubiceksetmessages: + msg233678
2015-01-08 18:54:13ezio.melottisetnosy: + ezio.melotti
messages: + msg233677
components: + Library (Lib), - Extension Modules
2015-01-08 18:52:03jkubicekcreate