Closed Gidgidonihah closed 5 years ago
Hmm, this very well could be something of which terminal-notifier is showing a symptom, rather than the cause.
I've found that I can, for example, cause the same output by running:
osascript -e 'display notification "Lorem ipsum dolor sit amet" with title "Title"'
Regardless without knowing what triggers it, be that some permission issue or something else, terminal-notifier is rendered unusable for me.
Hmm. I should have tried this earlier, it does appear to have been a symptom of a bad plist on my system. A quick removal of the plist mentioned in the log (/Users/jason/Library/Preferences/com.apple.HIToolbox.plist
) and all was well. I verified that after correctly regenerating the plist, things still worked correctly.
I freshly installed High Sierra, installed all my apps and had things running well. I did not notice this issue while in High Sierra, but didn't do much that might have caused it.
I then upgraded to Mojave. Immediately upon opening terminal I began seeing output after every command regardless of terminal (terminal.app or iTerm.app) or shell (bash or zsh).
Googling the output didn't show much that related, but the output did seem to correlate to some other segfault or some unrelated issue. (see bugzilla for example). Here is the output in my case:
My bash/zshrc cause terminal-notifier to execute after certain commands, and after tracking it back to this, I found that this output will appear ANY time terminal-notifier is called. For for me:
Will show a notification, but also print the above output.
likewise
results in:
Please check everything that applies to your issue:
To help us debug your issue please include:
terminal-notifier -title foo -subtitle bar -message baz