notify not working in cocoaDialog beta 3.0.0 beta6 #45

Closed
gregwjacobs opened this Issue May 17, 2012 · 9 comments

Comments

Projects
None yet
2 participants

I can't seem to get notify (formerly known as bubbles) working in latest beta.

cocoaDialog.app/Contents/MacOS/cocoaDialog --help

Usage: cocoaDialog [options]
Available run-modes:
checkbox, dropdown, filesave, fileselect, inputbox, msgbox,
notify, ok-msgbox, progressbar, radio, secure-inputbox, secure-standard-inputbox,
slider, standard-dropdown, standard-inputbox, textbox, yesno-msgbox
Global Options:
--help, --debug, --title, --width, --height,
--string-output, --no-newline

Lists the notify feature.

Running

cocoaDialog.app/Contents/MacOS/cocoaDialog notify --help

or

cocoaDialog.app/Contents/MacOS/cocoaDialog notify --debug

Produces no output to stdout/stderr.

Running

cocoaDialog.app/Contents/MacOS/cocoaDialog beer --debug

Produces expected errors and help output.

Using growl or direct not giving any errors or results on screen

I can't get any of these examples to work..

#24

And none of the prior 'bubble' commands error or work, or provide feedback (I'm assuming they are aliased to notify for legacy support)

sw_vers

ProductName: Mac OS X
ProductVersion: 10.6.8
BuildVersion: 10K549

Collaborator

markcarver commented May 17, 2012

They work form me.... what version of Growl are you using?

I have 1.2.2 installed. It also does not show up as a registered app in growl. Growl is running and other apps are using it. Puzzling.

Can't get it to work without growl switch either
------Original Message------
From: Mark Carver
To: Greg Jacobs
Subject: Re: [cocoadialog] notify not working in cocoaDialog beta 3.0.0 beta6 (#45)
Sent: May 17, 2012 10:56 AM

They work form me.... what version of Growl are you using?


Reply to this email directly or view it on GitHub:
#45 (comment)

-G

Collaborator

markcarver commented May 17, 2012

Perhaps you should restart growl? I was able to run the scripts using 1.2.2 as well. It shows up in the list (as the one selected):
image

I was also able to remove it from the Applications list (above). As soon as I ran one of the example scripts, it showed back up.

No change even after restarting growl. I'm really interested in using it without growl, does the --no-growl stuff work in 3.0.0 beta 6? You trying this with 3.0.0 b6 or b7?

Any logging switches I can turn on that help collect more data?

Seems like its broken somewhere if it can't even echo back --help or --debug checking feedback ?

I ran a quick scan with Growl Version Detective... just as a sanity check... it lists cocoaDialog having Grown Framework 1.3. Anything else I can do?

I can pass onto you my gtalk details if you want to take this real-time..

Collaborator

markcarver commented May 17, 2012

There is only beta6 at the moment, I haven't released beta7. I think I found the bug. There's an exclamation, change the double quotes to single quotes:

./cocoaDialog notify --debug --no-growl --title 'cocoaDialog' --description 'New Growl notifcation support!'

Collaborator

markcarver commented May 17, 2012

Sure, you can email me them.

Removing the ! and using " it does not work same results
Using your exact example also does not work. I runs, produces no display on screen, and no stderr or stdout. Also the result code is 0.

./cocoaDialog notify --debug --no-growl --title "cocoaDialog" --description "New Growl notifcation support"
echo $?
0

Very odd. I'll msg you my contact details in a minute!

Collaborator

markcarver commented May 17, 2012

Thanks @gregwjacobs for helping me debug this issue very quickly! Determined that the -32 and -64 parameters were added to /usr/bin/arch in 10.7. Also refactored the relaunch tool to not wait on parent cocoaDialog to quit before launching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment