在macOS 10.12.6上运行gitk时出错

我按照
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.

我该如何解决这个问题?

最佳答案 事实证明这可能是由旧的Quark脚本添加造成的?

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

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

sudo rm -rf QXPScriptingAdditions.osax/ 
点赞