Re: Growl fails to launch at startup, etc

172 views
Skip to first unread message

Daniel Siemer

unread,
Jun 29, 2012, 4:19:28 PM6/29/12
to Growl Discuss
Growl 1.4 uses the only known approved method for starting at login
under sandboxing, using a helper which launches the main app. This
helper will not appear in your user's login items in System
Preferences as it is managed by launchd (also, when you launch growl,
and it was set to start at login, we remove the old login item for
Growl.app, since we wont be able to remove it when we are fully
sandboxed). The best way to look and see if it is registering
correctly with launchd is to run this command in Terminal.app:
launchctl list | grep growl
If when the switch is on, you see com.growl.GrowlLauncher listed, it
is working correctly,
If when the switch is on, you dont see it, there is something that has
gone wrong. launchd is a great tool, but it can be buggy as all get
out at times. The basic troubleshooting steps of repairing
permissions with Disk Utility, and repairing the launchd database (You
can use the command line, or a utility such as Cocktail to do so)
sometimes bring positive results.

As for the menu pulse, it flashes when there are items in the rollup
it thinks you have missed, even if from a previous launch. Open the
rollup and clear it, and it will go away. If you have the rollup
disabled entirely, it shouldn't be doing this, but just to test,
enable it, open the rollup and check if there are items in it, clear
them, and then disable it again. If it happens again, there may be a
bug someplace in the rollup/menu pulse logic, and I will look into
it.

On Jun 28, 9:45 am, WD Fitz Fitzgerald <papawf...@att.net> wrote:
> I keep telling Growl to launch at startup both from within Growl's
> preferences and in System Preferences>Users & Groups>Login Items.  Also
> once I have manually launched it the Menu Bar icon slowly flashes (fades
> until it disappears and then back to full). Once I have launched it
> manually it works fine.
>
> Fitz
>
> Console message;
> 6/28/12 10:28:19 AM Firewall[96] Growl is listening from 127.0.0.1:23053
> proto=6
> 6/28/12 10:28:19 AM Growl[39336] <GCDAsyncSocket: 0x7fc2294658c0> now
> accepting ((null))
> 6/28/12 10:28:19 AM Growl[39336] Setup timer, this should only happen once
> 6/28/12 10:28:19 AM Growl[39336] Next image check no earlier than 24 hours
> from 2012-06-28 03:59:00 +0000
> 6/28/12 10:28:22 AM 1PasswordAgent[530] <GrowlGNTPRegistrationAttempt:
> 0x1003d3cc0> failed because Error Domain=GCDAsyncSocketErrorDomain Code=4
> "Read operation timed out" UserInfo=0x1003a56e0
> {NSLocalizedDescription=Read operation timed out}
> 6/28/12 10:28:22 AM Firewall[96] Growl is listening from ::1:23053 proto=6
> 6/28/12 10:28:23 AM com.growl.GrowlTunes.GNTPClientService[39349] Got
> disconnected: Error Domain=GCDAsyncSocketErrorDomain Code=4 "Read operation
> timed out" UserInfo=0x400429840 {NSLocalizedDescription=Read operation
> timed out}
> 6/28/12 10:28:23 AM com.growl.GrowlTunes.GNTPClientService[39349]
> 2012-06-28 10:28:23.009 com.growl.GrowlTunes.GNTPClientService[39349:1e03]
> Got disconnected: Error Domain=GCDAsyncSocketErrorDomain Code=4 "Read
> operation timed out" UserInfo=0x400429840 {NSLocalizedDescription=Read
> operation timed out}
> 6/28/12 10:28:23 AM com.growl.GrowlTunes.GNTPClientService[39349]
> <GrowlGNTPRegistrationAttempt: 0x40040d460> failed because Error
> Domain=GCDAsyncSocketErrorDomain Code=4 "Read operation timed out"
> UserInfo=0x400429840 {NSLocalizedDescription=Read operation timed out}
> 6/28/12 10:28:23 AM com.growl.GrowlTunes.GNTPClientService[39349]
> 2012-06-28 10:28:23.011 com.growl.GrowlTunes.GNTPClientService[39349:1e03]
> <GrowlGNTPRegistrationAttempt: 0x40040d460> failed because Error
> Domain=GCDAsyncSocketErrorDomain Code=4 "Read operation timed out"
> UserInfo=0x400429840 {NSLocalizedDescription=Read operation timed out}
> 6/28/12 10:28:23 AM GrowlTunes[627] Failed with code 0, "(null)"
> 6/28/12 10:28:23 AM GrowlTunes[627] Failed all attempts at registering
> 6/28/12 10:28:23 AM Growl[39336] Error occurred: Error domain
> NSPOSIXErrorDomain, code 32 (Broken pipe).
> 6/28/12 10:28:23 AM Growl[39336] Failed reading with error: Error
> Domain=NSPOSIXErrorDomain Code=32 "Broken pipe" UserInfo=0x7fc22a209de0
> {NSLocalizedDescription=Broken pipe, NSLocalizedFailureReason=Error in
> write() function}
> 6/28/12 10:29:37 AM Growl[39336] Unable to simultaneously satisfy
> constraints:
> (
>     "<NSAutoresizingMaskLayoutConstraint:0x7fc22a232150 h=--& v=-&-
> V:|-(1)-[GroupNoteCell]   (Names: GroupNoteCell:0x7fc22a0ead50,
> '|':GrowlNotificationRowView:0x7fc22a0eb2e0 )>",
>     "<NSAutoresizingMaskLayoutConstraint:0x7fc22a282910 h=--& v=-&-
> V:[GroupNoteCell]-(1)-|   (Names: GroupNoteCell:0x7fc22a0ead50,
> '|':GrowlNotificationRowView:0x7fc22a0eb2e0 )>",
>     "<NSAutoresizingMaskLayoutConstraint:0x7fc22a29e3d0 h=--& v=--&
> V:[GrowlNotificationRowView:0x7fc22a0eb2e0(64)]>",
>     "<NSLayoutConstraint:0x7fc22a0f27d0
> V:[NSTextField:0x7fc22a0eb720]-(6)-|   (Names:
> GroupNoteCell:0x7fc22a0ead50, '|':GrowlNotificationCellView:0x7fc22a0ead50
> )>",
>     "<NSLayoutConstraint:0x7fc22a0f1e00
> V:|-(22)-[NSTextField:0x7fc22a0eb720]   (Names:
> GroupNoteCell:0x7fc22a0ead50, '|':GrowlNotificationCellView:0x7fc22a0ead50
> )>",
>     "<NSLayoutConstraint:0x7fc22a069800 V:[NSTextField:0x7fc22a0eb720(39)]>"
> )
>
> Will attempt to recover by breaking constraint
> <NSLayoutConstraint:0x7fc22a069800 V:[NSTextField:0x7fc22a0eb720(39)]>
>
> Set the NSUserDefault
> NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have
> -[NSWindow visualizeConstraints:] automatically called when this happens.
>  And/or, break on objc_exception_throw to catch this in the debugger.
> 6/28/12 10:30:08 AM sandboxd[39756] ([627]) GrowlTunes(627) deny
> authorization-right-obtain
> 6/28/12 10:30:52 AM Growl[39336] Failure registering
> file://localhost/Applications/Growl.app/Contents/Library/LoginItems/GrowlLa uncher.app/
> with Launch Services
> 6/28/12 10:30:52 AM Growl[39336] FAILURE: Job com.growl.GrowlLauncher is
> not loaded in launchd.
> 6/28/12 10:30:52 AM Growl[39336] Failure Setting GrowlLauncher to not start
> at login
> 6/28/12 10:30:52 AM Growl[39336] Failure registering
> file://localhost/Applications/Growl.app/Contents/Library/LoginItems/GrowlLa uncher.app/
> with Launch Services
> 6/28/12 10:30:53 AM GrowlLauncher[39922] Launching Growl at URL:
> file://localhost/Applications/Growl.app/Contents/MacOS/Growl
> 6/28/12 10:31:07 AM Growl[39336] Starting browsing for _gntp._tcp.
> 6/28/12 10:31:09 AM Growl[39336] Stopping browsing for _gntp._tcp.
> 6/28/12 10:34:35 AM Growl[39336] Unable to simultaneously satisfy
> constraints:
> (
>     "<NSAutoresizingMaskLayoutConstraint:0x7fc22b15b120 h=--& v=-&-
> V:|-(1)-[GroupNoteCell]   (Names: GroupNoteCell:0x7fc22a3b32f0,
> '|':GrowlNotificationRowView:0x7fc22a334230 )>",
>     "<NSAutoresizingMaskLayoutConstraint:0x7fc22b15c480 h=--& v=-&-
> V:[GroupNoteCell]-(1)-|   (Names: GroupNoteCell:0x7fc22a3b32f0,
> '|':GrowlNotificationRowView:0x7fc22a334230 )>",
>     "<NSAutoresizingMaskLayoutConstraint:0x7fc22b159f70 h=--& v=--&
> V:[GrowlNotificationRowView:0x7fc22a334230(64)]>",
>     "<NSLayoutConstraint:0x7fc22a3783d0
> V:[NSTextField:0x7fc22a57a860]-(6)-|   (Names:
> GroupNoteCell:0x7fc22a3b32f0, '|':GrowlNotificationCellView:0x7fc22a3b32f0
> )>",
>     "<NSLayoutConstraint:0x7fc22a0760b0
> V:|-(22)-[NSTextField:0x7fc22a57a860]   (Names:
> GroupNoteCell:0x7fc22a3b32f0, '|':GrowlNotificationCellView:0x7fc22a3b32f0
> )>",
>     "<NSLayoutConstraint:0x7fc22a39ee10 V:[NSTextField:0x7fc22a57a860(39)]>"
> )
>
> Will attempt to recover by breaking constraint
> <NSLayoutConstraint:0x7fc22a39ee10 V:[NSTextField:0x7fc22a57a860(39)]>
>
> Set the NSUserDefault
> NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have
> -[NSWindow visualizeConstraints:] automatically called when this happens.
>  And/or, break on objc_exception_throw to catch this in the debugger.
> 6/28/12 10:37:14 AM Growl[39336] Unable to simultaneously satisfy
> constraints:
> (
>     "<NSAutoresizingMaskLayoutConstraint:0x7fc22b21a500 h=--& v=-&-
> V:|-(1)-[GroupNoteCell]   (Names: GroupNoteCell:0x7fc22a57a970,
> '|':GrowlNotificationRowView:0x7fc22a5a4360 )>",
>     "<NSAutoresizingMaskLayoutConstraint:0x7fc22b21a560 h=--& v=-&-
> V:[GroupNoteCell]-(1)-|   (Names: GroupNoteCell:0x7fc22a57a970,
> '|':GrowlNotificationRowView:0x7fc22a5a4360 )>",
>     "<NSAutoresizingMaskLayoutConstraint:0x7fc22b21b6a0 h=--& v=--&
> V:[GrowlNotificationRowView:0x7fc22a5a4360(64)]>",
>     "<NSLayoutConstraint:0x7fc22a57be40
> V:|-(22)-[NSTextField:0x7fc22b18c4e0]   (Names:
> GroupNoteCell:0x7fc22a57a970, '|':GrowlNotificationCellView:0x7fc22a57a970
> )>",
>     "<NSLayoutConstraint:0x7fc22a376ad0
> V:[NSTextField:0x7fc22b18c4e0]-(6)-|   (Names:
> GroupNoteCell:0x7fc22a57a970, '|':GrowlNotificationCellView:0x7fc22a57a970
> )>",
>     "<NSLayoutConstraint:0x7fc22a002be0 V:[NSTextField:0x7fc22b18c4e0(39)]>"
> )
>
> Will attempt to recover by breaking constraint
> <NSLayoutConstraint:0x7fc22a002be0 V:[NSTextField:0x7fc22b18c4e0(39)]>
>
> Set the NSUserDefault
> NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have
> -[NSWindow visualizeConstraints:] automatically called when this happens.
>  And/or, break on objc_exception_throw to catch this in the debugger.
> 6/28/12 10:37:14 AM Growl[39336] Unable to simultaneously satisfy
> constraints:
> (
>     "<NSAutoresizingMaskLayoutConstraint:0x7fc22b21a500 h=--& v=-&-
> V:|-(1)-[GroupNoteCell]   (Names: GroupNoteCell:0x7fc22a57a970,
> '|':GrowlNotificationRowView:0x7fc22a5a4360 )>",
>     "<NSAutoresizingMaskLayoutConstraint:0x7fc22b21a560 h=--& v=-&-
> V:[GroupNoteCell]-(1)-|   (Names: GroupNoteCell:0x7fc22a57a970,
> '|':GrowlNotificationRowView:0x7fc22a5a4360 )>",
>     "<NSAutoresizingMaskLayoutConstraint:0x7fc22b21b6a0 h=--& v=--&
> V:[GrowlNotificationRowView:0x7fc22a5a4360(64)]>",
>     "<NSLayoutConstraint:0x7fc22a57be40
> V:|-(22)-[NSTextField:0x7fc22b18c4e0]   (Names:
> GroupNoteCell:0x7fc22a57a970, '|':GrowlNotificationCellView:0x7fc22a57a970
> )>",
>     "<NSLayoutConstraint:0x7fc22a376ad0
> V:[NSTextField:0x7fc22b18c4e0]-(6)-|   (Names:
> GroupNoteCell:0x7fc22a57a970, '|':GrowlNotificationCellView:0x7fc22a57a970
> )>",
>     "<NSLayoutConstraint:0x7fc22a002be0 V:[NSTextField:0x7fc22b18c4e0(39)]>"
> )
>
> Will attempt to recover by breaking constraint
> <NSLayoutConstraint:0x7fc22a002be0 V:[NSTextField:0x7fc22b18c4e0(39)]>
>
> Set the NSUserDefault
> NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have
> -[NSWindow visualizeConstraints:] automatically called when this happens.
>  And/or, break on objc_exception_throw to catch this in the debugger.

WahooCharley

unread,
Jun 30, 2012, 9:37:00 AM6/30/12
to growld...@googlegroups.com


On Friday, June 29, 2012 4:19:28 PM UTC-4, Daniel Siemer wrote:
Growl 1.4 uses the only known approved method for starting at login
under sandboxing, using a helper which launches the main app.  This
helper will not appear in your user's login items in System
Preferences as it is managed by launchd (also, when you launch growl,
and it was set to start at login, we remove the old login item for
Growl.app, since we wont be able to remove it when we are fully
sandboxed).  The best way to look and see if it is registering
correctly with launchd is to run this command in Terminal.app:
launchctl list | grep growl
 
If when the switch is on,

Please clarify the position of the slider toggle (which IMHO is not user-friendly). If you can "see" the word ON exposed, does that mean it's ON or that it needs to be selected?

It would have been simple to provide a green check mark or the like if startup at login was enabled.

Daniel Siemer

unread,
Jun 30, 2012, 9:46:54 AM6/30/12
to Growl Discuss
Its just like on iOS, what is showing is what is selected.

WahooCharley

unread,
Jun 30, 2012, 10:04:45 AM6/30/12
to growld...@googlegroups.com
OK. I've tried it both ways. But before I did, I changed the privileges on the app to included administrators read/write. Before doing this I couldn't get the launcher to show up in launchd. Now it does, but it when I went to reboot launchd lost the launcher pref.

This used to be so simple. Why does everyone always have to tinker with something that's not broke?

I don't see any way to get this to work anymore without manually starting the app each time I log in. What a PITA!
Reply all
Reply to author
Forward
0 new messages