在macOS 10.12.6上运行gitk时出错

Mik*_*ike 5 macos homebrew gitk

我按照本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)
Run Code Online (Sandbox Code Playgroud)

我确实尝试过重新启动终端会话并使用brew重新安装git。

我该如何解决这个问题?

Dan*_*iel 2

原来这可能是由旧的夸克脚本添加引起的?

https://github.com/svg/svgo-osx-folder-action/issues/5

删除所述文件夹对我有用。

sudo rm -rf QXPScriptingAdditions.osax/ 
Run Code Online (Sandbox Code Playgroud)