Comments (7)
Hmmm. Seems to be working for me.
$ gntp -vv -m foobar --image "http://www.givedomainnames.com/images/success_icon.png"
INFO:gntp.notifier:Sending registration to localhost:23053
DEBUG:gntp.notifier:To : localhost:23053 <<class 'gntp.GNTPRegister'>>
GNTP/1.0 REGISTER NONE MD5:248DB0DA854D4870B85DDC47355BD567.04B48E821D7C893951E2E0AAAA7150B6
Application-Name: Python GNTP Test Client
Origin-Platform-Version: Darwin-12.2.0-x86_64-i386-64bit
Origin-Software-Version: 0.9
Origin-Machine-Name: hitagi.att.net
Origin-Software-Name: gntp.py
Origin-Platform-Name: Darwin
Notifications-Count: 1
Notification-Enabled: True
Notification-Name: Notification
DEBUG:gntp.notifier:From : localhost:23053 <<class 'gntp.GNTPOK'>>
GNTP/1.0 -OK NONE
Response-Action: REGISTER
INFO:gntp.notifier:Sending notification [Notification] to localhost:23053
INFO:gntp.notifier:Checking icon
DEBUG:gntp.notifier:To : localhost:23053 <<class 'gntp.GNTPNotice'>>
GNTP/1.0 NOTIFY NONE MD5:248DB0DA854D4870B85DDC47355BD567.04B48E821D7C893951E2E0AAAA7150B6
Application-Name: Python GNTP Test Client
Origin-Software-Name: gntp.py
Notification-Name: Notification
Notification-Text: foobar
Origin-Platform-Version: Darwin-12.2.0-x86_64-i386-64bit
Origin-Software-Version: 0.9
Origin-Machine-Name: hitagi.att.net
Notification-Icon: http://www.givedomainnames.com/images/success_icon.png
Notification-Title: foobar
Origin-Platform-Name: Darwin
DEBUG:gntp.notifier:From : localhost:23053 <<class 'gntp.GNTPOK'>>
GNTP/1.0 -OK NONE
Response-Action: NOTIFY
How did you install things?
from gntp.
Growl from app store, gntp by pip install gntp
.
I can see notification, however icon is a default one. Also, --v
doesn't print anything for that matter.
Oh, and a GrowlNotify 2.0 from http://growl.info/downloads.php
from gntp.
hmm, strange. I also now see it not showing debug output when installed from pip. Will need to look into it some more.
from gntp.
I figured out the error with why logging is not showing up. For a workaround, try this and then re-run with -vv
echo '[gntp]' > ~/.gntp
gntp -vv -m foobar --image "http://www.givedomainnames.com/images/success_icon.png"
from gntp.
Oh, ok, icon is actually being displayed properly with growl. It is not however shown properly when I configure growl to pass it's alerts to OS X notification center:
Not sure if it's related with gntp then. Feel free to close this issue if it's not.
from gntp.
I suppose I misunderstood when you said "default icon" as in the icon that shows if you haven't set an icon. As far as I know, if you forward to notification center, you can only get the growl icon, since notification center only shows the icon of the application it receives a notification from.
from gntp.
Yep, makes sense. Thanks for quick reply!
from gntp.
Related Issues (20)
- Disable captured logging HOT 1
- simple one liner example error HOT 4
- Logging for the gntp script is confused if ~/.gntp does not exist
- Tests failing HOT 3
- Notifying to Growl for Linux fails HOT 3
- Internal logging is invisible: suggestion to fix
- ERROR:gntp.notifier:Invalid response
- Icons on local filesystem HOT 7
- Support incoming password hashing other than MD5 HOT 3
- Timeout while loading icon HOT 3
- Some intermittent connection errors on 10.9 Mavericks (multiple errors) HOT 2
- gntp fails intermittently on OS X 10.9.0 HOT 2
- gntp fails on OS X 10.9.1 HOT 3
- ImportError: No module named gntp.notifier HOT 9
- problem when running growlnotifier HOT 3
- Test gntp.notifier fails HOT 15
- Seemingly unable to install with pipsi
- gntp.errors.NetworkError: [Errno 61] Connection refused HOT 1
- The message Prowl received just show one line and the newline part is gone HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gntp.