-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing notification after 1.8 upgrade #222
Comments
Only log I see in the console when I ran terminal-notifier is this: $ terminal-notifier -message xxxx -title xxxxx
|
I appear to have the same behavior with 1.8.0 on OSX 10.12.4. I downgraded to 1.7.2 using |
I should also note that I had originally installed via homebrew |
This is happening for me as well. Downgrading to 1.7.2 per @dchenbecker works again. |
Interesting observation: today I restarted my mac and upon reboot I've received hundreds of missed notifications. Since then all notifications seems to be working. I have suggestion to check if you have running instance of the terminal-notifier and kill it if you do. Why, you'd ask -- because I've received crash email from one of the crontab job, which suggests that terminal-notifier was running for about 35 days... |
I had temporary success when adding I still have the v1.7 application in my /Applications folder, and all my shell scripts that use the app's executable are working fine. The scripts that use the new 1.8 binary in /usr/local/bin directly, don't work at all. This needs a fix. OS X 10.11.6, homebrew installation |
This might not have been a terminal-notifier bug, but one of the Notification Center. Because since yesterday everything has been working again, and the interesting thing is that when it first started working again, all of a sudden the 20 previous notifications that had not been displayed before, all popped up at once. I tested it manually with the other |
Aaaaaaaand… now it stopped working again. |
Hahaha I really love this kind of bugs 😭 |
You think I should just reset the whole Notification Center settings in |
@JayBrown well you could try maybe it will solve the issue but I guess it rooted elsewhere. |
Found a solution: use the above I'll monitor this in the next weeks, because I'm running the latest terminal-notifier from /usr/local/bin, but also still have some scripts that call the executable in the original .app bundle of previous terminal-notifier versions. Currently, they're working fine side by side, but maybe that's only temporary. |
Followed @JayBrown's instructions above and now it works again. Small correction -
Btw. after running
is back in DB. Maybe row
was the only offender. |
Could you please try the updated 2.0.0 release? |
Need to rewrite my scripts for use 2.0.0 release. That explains why this stopped working again. 😠 |
Really? Rewrite? It's not yet on homebrew, but I'll test it soon. |
Get rid of all the actions, I've configured and got used to.
It's pending PR -- Homebrew/homebrew-core#20149, FYI. |
I've now tested v2.0.0 with my default notify function by simply running the script, and it seems to look good. No weird inline app icons anymore (see below; it's just the Terminal icon again). What's interesting, though, is that calling /usr/local/bin/terminal-notifier directly also works from within a script, not only the standard method of calling the .app executable: the upper notification is /usr/local/bin/, the lower is executable in /usr/local/Cellar/terminal-notifier. Was this behavior planned? I thought that v2.0.0 would return to the exlusive .app method. (?) Now I have to go through my dozens of scripts to see if they need tweaking. Oh crap. :D |
@JayBrown maybe homebrew changed the way they package bundle apps. Glad to know it's working :) |
Tested it again, this time with a self-contained script running via Automator (macOS Services), and calling the binary did not work. So I assume that the .app executable should be called. If however you run a script directly on the command line, e.g. in iTerm, then calling the binary seems to work. |
I'm closing this issue for now, feel free to re-open if needed. |
Please check everything that applies to your issue:
To help us debug your issue please include:
I call it through the script, which is started via crontab. It calls terminal-notifier with following function. Calling it from Terminal has no differences -- message doesn't appear. It used to work, but around 1.8 time it was gone...
Thanks!
The text was updated successfully, but these errors were encountered: