Skip to content
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

10.10 yosemite doesn't work at all #106

Closed
patrickkettner opened this issue Sep 4, 2014 · 34 comments
Closed

10.10 yosemite doesn't work at all #106

patrickkettner opened this issue Sep 4, 2014 · 34 comments
Labels

Comments

@patrickkettner
Copy link

running terminal-notifier -message 'test' just hangs, nothing is logged to the terminal or to the system console

@julienXX
Copy link
Owner

julienXX commented Sep 4, 2014

@patrickkettner Which version are you running? Did you install it via homebrew or via gem?

@patrickkettner
Copy link
Author

ack, sorry for the shit bug description.

I tried version is 1.6.1 installed via homebrew, as well as 1.6.1 installed via gem

@julienXX
Copy link
Owner

julienXX commented Sep 4, 2014

no worries :)
You're on 10.10 latest beta?

@patrickkettner
Copy link
Author

correct a mundo

@julienXX
Copy link
Owner

julienXX commented Sep 4, 2014

If you open Console.app do you see anything related to terminal-notifier when trying to send a notification?

@patrickkettner
Copy link
Author

No sir (thats the one thing I did remember to mention in the original bug report :p)

Nothing is output in the terminal or console.app, it just hangs. More than happy to compile a debug build of the app if it will help at all

@julienXX
Copy link
Owner

julienXX commented Sep 4, 2014

Ok I'll try it later when I'll get back home (no 10.10 at work).

@julienXX
Copy link
Owner

julienXX commented Sep 4, 2014

Ok it works on my 10.10 machine. Your Notification Center isn't in "do no disturb" mode?

@patrickkettner
Copy link
Author

well thats strange :[

No, it isn't in do not disturb. would it hang if it was? Which build are you on?

@julienXX
Copy link
Owner

julienXX commented Sep 4, 2014

Apparently yes #104

@julienXX
Copy link
Owner

julienXX commented Sep 4, 2014

On 1.6.1 too

@brndnblck
Copy link

Having this issue as well, running latest beta. I've double checked that DND isn't enabled, and I'm running v1.6.1.

screen shot 2014-09-04 at 3 09 38 pm

Is there a specific xcode dependency that we need for Yosemite?

@julienXX julienXX added the 10.10 label Sep 9, 2014
@albinoz
Copy link

albinoz commented Sep 12, 2014

Hello, Same here,
I cannot made it run with Last DP7.
not in not disturb Mode
I see it in Notifications Preferences so.

@firedev
Copy link

firedev commented Sep 16, 2014

For me it is working fine from the command line but not in guard.

@albinoz
Copy link

albinoz commented Sep 16, 2014

My Sorry,
One mistake from myself.
It's working :)
terminal-notifier-notify -message
Thanks

@whatcould
Copy link

Not sure if my issue is the same as others, but I had an issue with terminal notifier in Yosemite, running with Bundler. At some point I must have switched to the github gem version (pointing bundler to gem 'terminal-notifier', github: 'alloy/terminal-notifier'.

I dug in and noticed that when bundler installed the Github version instead of the gem version (to bundle/bundler/gems/ where the other git gems are installed), the terminal-notifier.app was not compiled — it doesn't even seem to have tried and failed. I switched back to the gem version (eg just specifying gem 'terminal-notifier') and everything worked fine.

I don't remember why I originally switched away from the gem version to the git version — I may have not had the correct build tools installed on Yosemite, so it wasn't building? Or maybe some XCode beta wasn't building it correctly? At any rate it seems to work fine now. Except for Bundler not building the Github version, which is probably a Bundler issue.

@aral
Copy link

aral commented Sep 21, 2014

Just a quick note that it is working for me under Preview 8 (built from source).

@carldavis
Copy link

I am on 10.10 with brew installed terminal-notifier 1.6.1 and terminal-notifier just hangs when I try to use it. DND is not enabled.

I am trying to execute it like:
/Applications ./terminal-notifier.app/Contents/MacOS/terminal-notifier -message test

@jeffbyrnes
Copy link

One of our devs (@haizhou) reported this as well.

@julienXX
Copy link
Owner

@carldavis @jeffbyrnes @brandonblack @patrickkettner @albinoz I'll try to give you a custom build to try in the next few days if you have some time to test it.

@patrickkettner
Copy link
Author

happy to test whatever whenver

@jeffbyrnes
Copy link

@julienXX happy to help.

@albinoz
Copy link

albinoz commented Oct 18, 2014

I use terminal notifier in applescript what check os x version.
"10.10" was Know < "10.9" because it see 10 like 1.
Here, all Work by fixing this.

@lucascaton
Copy link

Worked fine with 1.6.1 version! Thanks.

@Apsu
Copy link

Apsu commented Oct 23, 2014

For anyone who's having trouble with terminal-notifier from inside tmux, I had the exact same issue inside, but not outside (using 1.6.1). Diffing the environment variables, I couldn't find anything of any relevance, but I recalled that some issues with tmux talking to OSX require using the reattach-to-user-namespace helper, which can be installed with homebrew.

Reconfiguring tmux to use reattach-to-user-namespace $shell as the default-command fixed the hanging issue for me entirely.

@patrickkettner
Copy link
Author

I am using tmux, however I was already using the reattach-to-user-namespace wrapper. Thought we figured it out for a sec :[

@smackesey
Copy link

+1 for hanging when running from tmux, but not a non-tmux shell. My tmux is configured with this line:

set-option -g default-command "reattach-to-user-namespace -l zsh"

Which was taken from the instructions from this page.

@julienXX
Copy link
Owner

@smackesey @patrickkettner @Apsu could one of you open a new issue regarding the tux stuff so that we can all track better the progress? Thanks.

@smackesey
Copy link

@julienXX done

@patrickkettner
Copy link
Author

@julienXX - for what its worth, I think that may be this issue

@julienXX
Copy link
Owner

@patrickkettner do you mean that when you opened the issue originally you were using terminal-notifier from tmux?

@patrickkettner
Copy link
Author

yesir. I never checked outside of it until @Apsu mentioned it. It worked perfectly fine in mavericks and tmux

@julienXX
Copy link
Owner

Closing this issue, please see #115 for tmux users.
If someone still can't run 1.6.1 under Yosemite and isn't using tmux, please open a new issue as this one has become difficult to manage.

@mattiasarro
Copy link

I had an issue with jruby: terminal_notifier.rb:9 checks for /darwin/ =~ RUBY_PLATFORM, but RUBY_PLATFORM for jruby is just "java".

So I modified TerminalNotifier.available? to always return true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests