growlnotify not working on Leopard

The Growl forums have moved to Google Groups, this forum is read only.
Locked
Malesca
Harmless
Posts: 4
Joined: Fri Oct 26, 2007 6:54 pm

growlnotify not working on Leopard

Post by Malesca »

Code: Select all

growlnotify -m "foo"
has no apparent effect for me on Leopard.

Console.app says

Code: Select all

10/26/07 20:43:49  GrowlHelperApp[1051] *** -[NSMachPort handlePortMessage:]: dropping incoming DO message because the connection or ports are invalid
I also tried getting growlnotify from SVN and compiling, but no difference.

EDIT: Tried reinstalling Growl. It's now intermittent – sometimes it works, sometimes not with that console error. Don't see a system to it.
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

Is any of this nonworkingness from crontab, or is it all from an interactive shell?
Malesca
Harmless
Posts: 4
Joined: Fri Oct 26, 2007 6:54 pm

Post by Malesca »

The_Tick wrote:Is any of this nonworkingness from crontab, or is it all from an interactive shell?
It's from the shell. Example session (just now):

Code: Select all

henrik@Atlas ~% growlnotify -m "foo"  # works
henrik@Atlas ~% growlnotify -m "foo"  # no notif, console error
henrik@Atlas ~% growlnotify -m "foo"  # works
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

Wow, that's just... weird. I'll have to try it when I get 10.5 installed next week or the week after.

Maybe someone else with 10.5 can try this before then.

Are you seeing anything else going on? This is with 1.1.1 right?
Malesca
Harmless
Posts: 4
Joined: Fri Oct 26, 2007 6:54 pm

Post by Malesca »

The_Tick wrote:Wow, that's just... weird. I'll have to try it when I get 10.5 installed next week or the week after.

Maybe someone else with 10.5 can try this before then.

Are you seeing anything else going on? This is with 1.1.1 right?
Yup, Growl 1.1.1. No other issues that I can think of. Thanks!
cneth
Harmless
Posts: 2
Joined: Sat Oct 27, 2007 4:32 pm

Every third time for me...

Post by cneth »

I see something similar, except it's every third notification that shows up. This is from an interactive shell.

Funky!
shakma
Harmless
Posts: 2
Joined: Sat Oct 27, 2007 7:47 pm

Post by shakma »

hmm, even weirder. growlnotify DOES work on my Leopard install (1.1.1 Growl). Trying to get Growl to notify via AppleScript does, however, not work here.
As is Adium not able to display any growl notifications.

edit: I'll have to retract the above. It did work yesterday, but as to Growl not working in AScript or Adium, I didn't have much use for Growl at that time, so I deinstalled it. Now, to try it out some more, I installed it again and it's the same behavior here as well. Every third time of growlnotify gives an actual notification...
Malesca
Harmless
Posts: 4
Joined: Fri Oct 26, 2007 6:54 pm

Post by Malesca »

cneth and shakma, do you see the error message I described in the console (/Applications/Utilities/Console.app)?
shakma
Harmless
Posts: 2
Joined: Sat Oct 27, 2007 7:47 pm

Post by shakma »

Malesca wrote: shakma, do you see the error message I described in the console (/Applications/Utilities/Console.app)?
yup same one.

tip:
Might be interesting for people, Growl version 0.7.3, which I found laying around on some backup disk, works flawlessly on Leopard :) Go figure ;)
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

Thank you for your patience and testing. :)
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
exie
Harmless
Posts: 1
Joined: Sun Oct 28, 2007 4:22 am

Post by exie »

Adium 1.1.3 works fine for me in 10.5, although I have not as yet had any of my MSN Messenger contacts actually come on line so can't speak to compatibility there.
cneth
Harmless
Posts: 2
Joined: Sat Oct 27, 2007 4:32 pm

Post by cneth »

Yes, I get the same console message about "connection or ports are invalid".
hasseg
Harmless
Posts: 2
Joined: Mon Nov 05, 2007 2:13 pm

Growl & growlnotify problem on Leopard

Post by hasseg »

I'm having the same exact problem - growlnotify messages not working intermittently, with the described error message.

Just updated to 1.1.2 (also remembered to replace my growlnotify binary to the one distributed with 1.1.2), but to no avail - the problem prevails.
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

You'll know this has been fixed when the status on the compatibility page changes or the release notes for a new version indicate it.
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
hasseg
Harmless
Posts: 2
Joined: Mon Nov 05, 2007 2:13 pm

Temporary workaround

Post by hasseg »

In the meantime, it seems that there is a temporary workaround for this: simply make growlnotify send the messages through the network interface. I Made a wrapper shell script to accomplish this transparently.
NeedInput
Harmless
Posts: 1
Joined: Sat Feb 16, 2008 3:36 pm

Leopard's dock conflicts with growlnotify.

Post by NeedInput »

I spent quite a few hours attempting to get growlnotify working on Leopard last night. It turns out that I didn't need any of the fixes listed online: applescript replacements or any of the various growlnotify.wrappers using the --host param. In fact, the only result I got from any use of --host was: 2/16/08 3:04:09 AM growlnotify[2687] Exception: NSPortTimeoutException.

growlnotify began working fine after I selected a "default starting position" that did not overlap a portion of the dock. For example, if my dock was on the bottom, I can NOT select the bottom left or bottom right as a starting point for messages. If the dock is on the left, I can not select top left or bottom left. And so on. When they do overlap, console messages indicates:
2/16/08 3:05:43 AM GrowlHelperApp[2533] *** -[NSMachPort handlePortMessage:]: dropping incoming DO message because the connection or ports are invalid.

I hope this helps others.

Leopard 10.5.1
growlnotify 1.1.2
Locked