GitHub30 / win11toast

Toast notifications for Windows 10 and 11 based on WinRT
https://pypi.org/project/win11toast/
MIT License
245 stars 16 forks source link

Winsdk error #10

Open gtorino opened 2 years ago

gtorino commented 2 years ago

Hi, I installed win11toast as usual, but if a even run a very simple script like this:

from win11toast import toast toast( 'Hello from Python')

I got the following error: _<_winsdk_WindowsFoundation.HResult object at 0x****8470>

Win11toast is the last one, 0.31. On my PC I have windows 10 rel. 22H2. Thanks in advance, Giuseppe

GitHub30 commented 2 years ago

Thank you for your comment. I tried it on windows 10 rel. 22H2 and was unable to reproduce the issue.

https://user-images.githubusercontent.com/12811398/204174949-d53df5c1-a5b1-439d-add4-c4e33cc4fd8e.mp4

dragonskyhydra commented 1 year ago

I have the same problem,on windows11 22H2

(<_winsdk_Windows_Foundation.HResult object at 0x0000019F557B6990>,) image

BrandenLY commented 1 year ago

I’m running into the same error, all was working fine until I selected to “hide all notifications from this application” on the notification settings. Unfortunately cannot seem to re-enable on the windows registry as there are no records with “show notifications” disabled.

Selezzzx commented 1 year ago

enable notifications: https://support.microsoft.com/en-us/windows/change-notification-and-quick-settings-in-windows-ddcbbcd4-0a02-f6e4-fe14-6766d850f294