-
Notifications
You must be signed in to change notification settings - Fork 19
Test gntp.notifier fails #58
Comments
I'm not certain about Growl on Linux but do you have a copy of Growl running? This library by itself does not create the messages on your desktop, but it talks to a Growl application to display those messages. |
Actually I do not have a copy of Growl running. My first attempt to get growl notification was following the tutorial at http://masnun.com/2013/08/18/python-sending-growl-notifications.html. Do you think that having Grow installed is a prerequisite to make gntp work? I would like to use growl notification triggered from my ubuntu localhost targeting a windows virtual machine. |
To send a Growl message to a different computer, you need to specify the I've tested sending Growl messages going the other way (sending a message from Linux virtual machine to Windows host), and it works:
The Windows growl settings under the Security tab need to have "Allow network notifications" on, and if the "require password" options are enabled, a password needs to be assigned in the growl "password manager", and |
I think onionradish covered most of it. The default "run as a module" is meant as a simple check to see if it's installed correctly, but perhaps I should make the error messages more clear and add a bit of a better note in the documentation. This library ships with a "gntp" command that you can use to send a message and check to see if it is hitting your VM correctly. |
@onionradish and @kfdm Thank you for your support, that helps. However I am still fighting to make it work. I guess the problem is I am not able to install growl on my windows VM, i.e. when I run the GrowlInstaller.exe it asks me for .NET version 2.0.50727 which is weird because .NET is already installed on my VM. Thus, if I try to run the example suggested by @onionradish at first seems to work but then I get a growl error:
|
So I managed to install Growl on windows10 VM. The .NET required was problematic because I had updates disabled. After re-enable them I could install .NET and Growl. Now, I get a growl icon on my desktop and if I click on it a desktop message shows up saying: "Growl is running". However no Growl Screen appears...Is this normal? Is there another way I can access the Growl screen in order to "Allow network notifications" and "password" options? I will keep trying |
You should address these questions to the GfW Google group - make sure that Growl for windows is running as it should first! https://groups.google.com/forum/#!forum/growl-for-windows (try double-click on the Growl icon in the try to get settings, and then test it using the installed growlnotify tool on the windows machine... !) |
I navigate to the folder GrowlforWindows in my cmd and then run the growlnotify.exe. After that I can write messages that appear on my desktop. So the growlnotify works. I addressed my original question the GrowlGooglegroup. |
If you have Growl working on your Windows VM, then I suppose the next step is to make sure you can send a message from Linux. Make sure the Windows firewall is allowing messages on the Growl port (default is 23053) and that Growl is listening. |
I managed to send desktop notification from my linux host through Ansible executing a Powershell script. But when using python I have again an error:
I changed the advanced setting for the Windows Firewall allowing port 23053 to be opened but that does not improve the situation. The main problem is that I cannot access to the Growl Screen where I can change the settings. For example I would like also to set Growl to start automatically when I log into Windows VM but I am unable to do that. Is there an alternative way to change settings (so that I can follow the tutorial at http://www.growlforwindows.com/gfw/help/#notifications) when you do not have access to Growl Screen? |
You may be able to manipulate the growl settings directly Something like this
|
On my windows 10 VM the file you are referring to is called
I restarted the VM but I still need to click on Growl icon to start growl, and still gntp from linux host does not work...something else to change that you are aware of? |
I'm not sure. At this point you may need to wait for a response on the GfW forum. I don't use Windows as my primary environment (and I'm still running Win7) so I'm not aware of all the nuances of Windows 10. |
Thanks for your help.. |
If it's alright with you, I'm going to close this ticket for now while you wait to hear back from the GfW forum. If they get back to you and think it's a problem with this library, please feel free to re-open this thread :) |
Hi, I installed gntp with pip on my machine running ubuntu 15.10. The installation looks ok, but when I type:
I get the following error:
Do you have an idea what is going on and how to fix it? Thank you
The text was updated successfully, but these errors were encountered: