Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

notify not working in cocoaDialog beta 3.0.0 beta6 #45

Closed
gregwjacobs opened this Issue · 9 comments

2 participants

@gregwjacobs

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

@markcarver
Collaborator

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

@gregwjacobs
@markcarver
Collaborator

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.

@gregwjacobs

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 ?

@gregwjacobs

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..

@markcarver
Collaborator

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!'

@markcarver
Collaborator

Sure, you can email me them.

@gregwjacobs

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!

@markcarver markcarver closed this issue from a commit
@markcarver markcarver Fixed #45 - notify not working in cocoaDialog beta 3.0.0 beta6 [on 10.6]
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.
f0bf3a7
@markcarver
Collaborator

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
Something went wrong with that request. Please try again.