Comments (15)
Closing this as I don't have to waste my "time" reading your problem.
from windows-10-toast-notifications.
Sorry, the wording was kinda bad, but i'm not a native english speaker so please forgive me. I just had the experience a few times that i've spent > an hour to explain my problem to a dead repo/account
from windows-10-toast-notifications.
So i'm actually trying to use your lib in https://github.com/pathmann/pyTSon which is a custom C->python wrapper. the problem is that i can't get the toasts to work even tho i installed pypiwin32
.
2/18/2018 03:22:38 pyTSon.PluginHost.reload Error Error loading python plugin from C:/Users/blusc/AppData/Roaming/TS3Client/plugins/pyTSon\scripts\friendNotifications\: Traceback (most recent call last):
File "C:/Users/blusc/AppData/Roaming/TS3Client/plugins/pyTSon/scripts\pluginhost.py", line 322, in reload
cls.modules[base] = importlib.__import__(base)
File "<frozen importlib._bootstrap>", line 1055, in __import__
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 665, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "C:/Users/blusc/AppData/Roaming/TS3Client/plugins/pyTSon/scripts\friendNotifications\__init__.py", line 4, in <module>
from win10toast import ToastNotifier
File "C:/Users/blusc/AppData/Roaming/TS3Client/plugins/pyTSon/include\win10toast\__init__.py", line 19, in <module>
from win32api import GetModuleHandle
ImportError: No module named 'win32api'
If you require more infos to understand it please tell me :)
from windows-10-toast-notifications.
Are you able to import win32api separately?
from windows-10-toast-notifications.
by just adding an import win32api
to which file?
here's a overview of the installed packages after installing win10toast
from windows-10-toast-notifications.
I'm not familiar with PyTSon. Can you please open a new python cli in shell/cmd and try "import win32api"
from windows-10-toast-notifications.
Like this?
or this?
from windows-10-toast-notifications.
Second way.
Can you please try "pip install pypiwin32"
from windows-10-toast-notifications.
from windows-10-toast-notifications.
Is PyTSon using different Python installation?
Please open a new cmd and try the sample code given readme.
from windows-10-toast-notifications.
Your readme or pywin32's ?
from windows-10-toast-notifications.
Mine
from windows-10-toast-notifications.
Notification is appearing like this .not showing content. clicking on it does nothing.
(I have Win10)
from windows-10-toast-notifications.
Sorry for not trying thus so far. Gonna do it today
from windows-10-toast-notifications.
@harmanvishnoi I had the same issue, but it was solved by allowing 'Notifications' under 'System->Notifications & actions'
Should this be added to the readme as prerequisite?
from windows-10-toast-notifications.
Related Issues (20)
- Does this still work with Windows 11? HOT 4
- Toast-Notifications do not appear while chrome is on full screen mode. HOT 1
- How do I change the author of a notification?
- Cannot install pypiwin32 dependency on Linux HOT 1
- .show_toast() breaks PySimpleGUI and PyMsgBox
- Error in Python 3.11 HOT 16
- Maintain Notification
- Cannot install this module on python 3.12.0a2 HOT 3
- ERROR + FIX: WNDPROC return value cannot be converted to LRESULT TypeError: WPARAM is simple, so must be an int object (got NoneType)
- Is it possible to change the sound effect used, or silence it?
- Error when explorer.exe is not working
- Exception: 'ToastNotifier' object has no attribute 'classAtom'
- arabic text
- Arabic text HOT 1
- I have a valid ICO but it wont load HOT 6
- Keep notification after excecution HOT 4
- Tkinter crash after use Toast HOT 2
- Windows 10 - Toasts stopped working HOT 8
- win10toast Breaks with pyinstaller
- Notification closing other python-based systray applications
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 windows-10-toast-notifications.