我按照这个SO帖子的指示安装了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。
我该如何解决这个问题?