julienXX / terminal-notifier

Send User Notifications on macOS from the command-line.
Other
6.38k stars 330 forks source link

Installing Gem version crashes Notification Center #140

Closed herrbischoff closed 8 years ago

herrbischoff commented 9 years ago

Environment

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.10.5
BuildVersion:   14F27
$ ruby -v
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
$ irssi -v
irssi 0.8.17 (20141011 1044)

Problem

I tried to run terminal-notifier along with irssi and this script, which resulted in an instant lockup of Notification Center. CPU usage immediately spikes to 100% and Notification Center becomes unresponsive.

killall NotificationCenter does nothing to help, restarting or cache clearing or deleting of preferences does not work as well. I found out that unchecking the following checkbox in the Notifications preference pane, followed by a killall NotificationCenter stops the CPU usage and NC becomes responsive again. When checking the box, the previous behavior immediately reappears.

screen shot 2015-08-25 at 01 58 31

When uninstalling the Gem and installing via Homebrew everything works fine.

julienXX commented 9 years ago

That's really weird. Have you noticed other issues not related to your usage with irssi?

julienXX commented 9 years ago

Is it possible that you installed the gem version sudo like sudo gem install terminal-notifier?

herrbischoff commented 9 years ago

No, just installed without sudo, as it should be.

herrbischoff commented 8 years ago

Since there hasn't been any update regarding this for a long time, I'm closing this.