Giter VIP home page Giter VIP logo

Comments (7)

kfdm avatar kfdm commented on July 18, 2024

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.

lukaszb avatar lukaszb commented on July 18, 2024

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.

kfdm avatar kfdm commented on July 18, 2024

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.

kfdm avatar kfdm commented on July 18, 2024

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.

lukaszb avatar lukaszb commented on July 18, 2024

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:

growl

Not sure if it's related with gntp then. Feel free to close this issue if it's not.

from gntp.

kfdm avatar kfdm commented on July 18, 2024

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.

lukaszb avatar lukaszb commented on July 18, 2024

Yep, makes sense. Thanks for quick reply!

from gntp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.