【发布时间】:2017-10-25 14:59:11
【问题描述】:
我按照this SO post 中的说明安装了 brew 和 gitk。我在 macOS 10.12.6 上运行。 git 仍然可以正常工作,但是当我尝试从终端运行 gitk 时,我得到:
Error in startup script: osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" cannot be used with the current OS because it has no OSAXHandlers entry in its Info.plist.
while executing
"exec osascript -e [format {
tell application "System Events"
set frontmost of processes whose unix id is %d to true
end te..."
invoked from within
"if {[tk windowingsystem] eq "aqua"} {
exec osascript -e [format {
tell application "System Events"
set frontmost of processes ..."
(file "/usr/local/bin/gitk" line 12212)
我确实尝试重新启动终端会话并使用 brew 重新安装 git。
我该如何解决这个问题?
【问题讨论】:
-
同样的问题在这里运行 mac 10.13.4