macos - 在 macOS 10.12.6 上运行 gitk 时出错

标签 macos homebrew 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)

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

我该如何解决这个问题?

最佳答案

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

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

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

sudo rm -rf QXPScriptingAdditions.osax/ 

关于macos - 在 macOS 10.12.6 上运行 gitk 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46935771/

相关文章:

multithreading - 如何利用 Apple Silicon 上的高性能内核

bash - 捕获 "rm: fts_read: No such file or directory"错误并继续

c++ - gcc:体系结构 x86_64 的 undefined symbol ,缺少 vtable

macos - 无法加载 Xdebug,因为 PHP 是使用 API NTS debug 构建的

gitk:如何告诉它 "stop, don' t 加载更多提交”?

macos - Emacs 上的 Elixir : exec erl not found

c++ - Homebrew 中没有用于 opencv 安装的选项

wsl-2 - 如何在 WSL 2 上运行 Gitk?

gitk "package require Tk"

macos - Mac OS X 上多个管理员用户的 Brew + Zsh + Oh My Zsh 的正确设置是什么?