question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Notification not working on Windows

See original GitHub issue

Currently I am using the plyer API to send notifications to windows/linux/etc, however on windows this will not work due to an error. I have not tested this on other OS’s, however I’d like a multiplatform solution since I might use my program elsewhere.

I am currently using windows 10 and the latest plyer installed by pip (python 3.6.1), and use the following code plus relevant stack trace:

plyer.notification.notify("Removed {} from downloads".format(path), "Hash: " + data[self.directory][path]["hash"])

  File "C:\Users\NotRelevant\AppData\Local\Programs\Python\Python36\lib\site-packages\plyer\platforms\win\libs\balloontip.py", line 145, in balloon_tip
    WindowsBalloonTip(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'ticker'

As you can see I am not using the ticker argument, so something went wrong in the internal API.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

8reactions
KeyWeeUsrcommented, Apr 17, 2017

I wrote since X commit, which means your installation has to have that commit. PyPI wouldn’t, because that’s the stable version of plyer. You can install it with:

pip install -I https://github.com/kivy/plyer/zipball/master

About the arguments, I put there **kwargs because I have no knowledge about ticker being available on Windows, therefore only the explicitly required args will be used and whatever else will be collected into kwargs dictionary.

1reaction
Swarducommented, Jan 6, 2018

I’m having the same issue, using the pip version. Windows 10, Python 3.6.2.

from plyer import notification as n
n.notify(title='title', message='m', ticker='r')
from plyer import notification as n
n.notify(title='title', message='m')
Read more comments on GitHub >

github_iconTop Results From Across the Web

Notification Banners Not Working in Windows 10? Here Are 8 ...
1. Turn On the Notification Banner · Click Start > Settings. Or you can use the Windows key + I keyboard shortcut to...
Read more >
Windows 10 Notifications Not Working? Here Are Fixes
Windows 10 Notifications Not Working? Here Are Fixes [Partition Manager] · Method 1. Let App Run in the Background · Method 2. Enable ......
Read more >
How to Fix Notifications Not Working on Windows 10
How to Fix Notifications Not Working on Windows 10 · Method 1: Restart Windows Explorer · Method 2: Enable Let Apps run in...
Read more >
Top 8 Fixes for Notifications Banners Not Showing on ...
Top 8 Fixes for Notifications Banners Not Showing on Windows 10 · 1. Restart PC · 2. Enable Notification Banner · 3. Allow...
Read more >
How to Fix Windows 10 Notifications Not Working|SoftwareKeep
Choose quick actions. · Turn notifications, banners, and sounds on or off for some or all notification. · Choose whether to see notifications...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found