git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Gitk doesn't work on macOS Mojave

From
ECEvgeny Cherpak <cherpake@me.com>
Date
Jul 19, 2018, 18:05 UTC
Message-ID
<D295145E-7596-4409-9681-D8ADBB9EBB0C@me.com>
Hi

You have probably heard this by now already, but gitk doesn’t work on macOS 10.14 - because it uses Apple Events, And apps on 10.14 require user to give them permissions to control other apps with Apple Events.

Here is what I get when I try running it on my machine with beta 4 installed:
Error in startup script: 58:102: execution error: Not authorized to send Apple events to System Events. (-1743)
    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)
And Apple doesn’t allow to add apps to “Automation” :( 

Best regards. And thanks for git :)

Next: Eric Sunshine
Message 1 of 7 in “Gitk doesn't work on macOS Mojave”
  1. Evgeny CherpakJul 19, 2018
  2. Eric SunshineJul 19, 2018
  3. Evgeny CherpakJul 19, 2018
  4. Eric SunshineJul 19, 2018
  5. Eric SunshineJul 20, 2018
  6. Evgeny CherpakJul 20, 2018
  7. gitk: fix MacOS 10.14 "Mojave" crash on launchEric Sunshine, Jul 24, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.