- Saved searches
- Use saved searches to filter your results more quickly
- I have a valid ICO but it wont load #82
- I have a valid ICO but it wont load #82
- Comments
- Saved searches
- Use saved searches to filter your results more quickly
- Error in Python 3.11 #112
- Error in Python 3.11 #112
- Comments
- Saved searches
- Use saved searches to filter your results more quickly
- | Windows Build: 19045 #10
- | Windows Build: 19045 #10
- Comments
- Saved searches
- Use saved searches to filter your results more quickly
- Windows10 Build Fails: colcon build TypeError #2768
- Windows10 Build Fails: colcon build TypeError #2768
- Comments
- Error in Python 3.11 #112
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a valid ICO but it wont load #82
I have a valid ICO but it wont load #82
Comments
ERROR:root:Some trouble with the icon (E:\SilverAlerts\icon.ico): (0, ‘LoadImage’, ‘No error message is available’)
As stated above, that is the error message i get
toaster.show_toast(«No Mans Sky», «Silver Deposit Ready», icon_path=r»icon.ico»)
Thats the line
The text was updated successfully, but these errors were encountered:
Mine is inside assets folder, not in root , so my path is assets\notify.ico
def notify(title, msg): toaster = ToastNotifier() toaster.show_toast(title, msg, icon_path='assets/notify.ico', duration=2, threaded=True )
this doesn’t work for me 🙁 here’s what i get :
ERROR:root:Some trouble with the icon (C:\Users\osty2\Documents\python\pyproj\mains\doing\atendance-app\notification-test\assets\1.ico): (0, ‘LoadImage’, ‘No error message is available’)
Could you share the code in here or in pastebin or the link to your github repo if it’s public? ☺️
from win10toast import ToastNotifier def notify(title, msg): toaster = ToastNotifier() toaster.show_toast(title, msg, icon_path='assets/1.ico', duration=2, threaded=True) notify(title='hi',msg='msg')
import win10toast toast = win10toast.ToastNotifier() toast.show_toast("BiliBili Live Danmaku Notify", "test", "test.ico")``` Error: ```ERROR:root:Some trouble with the icon (D:\home\Desktop\wg\temp.ico): (0, 'LoadImage', 'No error message is available') WNDPROC return value cannot be converted to LRESULT TypeError: WPARAM is simple, so must be an int object (got NoneType)```
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in Python 3.11 #112
Error in Python 3.11 #112
Comments
A somewhat arcane error message after showing a toast in Python 3.11:
from win10toast import ToastNotifier t = ToastNotifier() >>> t.show_toast("hello") WNDPROC return value cannot be converted to LRESULT TypeError: WPARAM is simple, so must be an int object (got NoneType)
The text was updated successfully, but these errors were encountered:
I’m also getting the same error.
Same here.
Can be reproduced using the «official test program» at [..]\Python311\Lib\site-packages\win10toast\_main__.py_.
I’ve also tested this example which produces the same error message.
It looks like the TypeError is handled somewhere inside the win32api module with the printed message and not propagated further, hence placing the call to .show_toast() in a try-except block doesn’t change the finding.
f3ndot added a commit to f3ndot/Windows-10-Toast-Notifications that referenced this issue Jan 22, 2023
Same here on Win11 22H2 22621.1825 on Python 3.11.1.
from win10toast import ToastNotifier . t.show_toast(title=_title, msg=_msg, duration=15)
Same here
Is there any solution for this issue?
Hi there,
I found a wonderful module to solve this problem. Use the following command to install it:
pip install win11toast
It seems to be OK to use win11toast instead of win10toast .
For more information, go to
https://pypi.org/project/win11toast/ .
You can also view it on GitHub: https://github.com/GitHub30/win11toast
Or you can also handle the TypeError of win10toast with a try-except block.
(I’m sorry but I’m a 16-year-old student from a secondary school in China. There may be some grammatical errors in my reply.)
Hope this can help you all.
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
| Windows Build: 19045 #10
| Windows Build: 19045 #10
Comments
I copied the example from the README.md, but my console gets spammed with:
. TypeError: WPARAM is simple, so must be an int object (got NoneType) WNDPROC return value cannot be converted to LRESULT TypeError: WPARAM is simple, so must be an int object (got NoneType) WNDPROC return value cannot be converted to LRESULT TypeError: WPARAM is simple, so must be an int object (got NoneType) WNDPROC return value cannot be converted to LRESULTWNDPROC return value cannot be converted to LRESULT TypeError: WPARAM is simple, so must be an int object (got NoneType) WNDPROC return value cannot be converted to LRESULT TypeError: WPARAM is simple, so must be an int object (got NoneType) WNDPROC return value cannot be converted to LRESULT TypeError: WPARAM is simple, so must be an int object (got NoneType) .
The text was updated successfully, but these errors were encountered:
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows10 Build Fails: colcon build TypeError #2768
Windows10 Build Fails: colcon build TypeError #2768
Comments
Hi, I am here to seek some help for ROS2 colcon error in Windows 10. I was trying to run the tutorial in ROS2 «Using colcon to build packages» , while I input the command «colcon build —symlink-install —merge-install», the command window shows the error:
«Summary: 16 packages finished [5min 45s] 7 packages had stderr output: examples_rclpy_executors examples_rclpy_minimal_action_client examples_rclpy_minimal_action_server examples_rclpy_minimal_client examples_rclpy_minimal_publisher examples_rclpy_minimal_service examples_rclpy_minimal_subscriber WNDPROC return value cannot be converted to LRESULT TypeError: WPARAM is simple, so must be an int object (got NoneType)»
I was trying to solve this «WNDPROC return value cannot be converted to LRESULT TypeError: WPARAM is simple, so must be an int object (got NoneType)», but didn’t find a way out, can you please give me some resolution or hints to fix this?
The text was updated successfully, but these errors were encountered:
Error in Python 3.11 #112
A somewhat arcane error message after showing a toast in Python 3.11:
from win10toast import ToastNotifier t = ToastNotifier() >>> t.show_toast("hello") WNDPROC return value cannot be converted to LRESULT TypeError: WPARAM is simple, so must be an int object (got NoneType)
It doesn’t seem to break anything. It shows up for me after the duration ends, and the toast goes away.
def notify(): toaster = ToastNotifier() try: toaster.show_toast("Screenshot", "Screenshot saved to images folder", duration=5) except TypeError: pass print("Screenshot saved!")
I’m also getting the same error.
Same here. Can be reproduced using the «official test program» at [..]\Python311\Lib\site-packages\win10toast\_main__.py_. I’ve also tested this example which produces the same error message. It looks like the TypeError is handled somewhere inside the win32api module with the printed message and not propagated further, hence placing the call to .show_toast() in a try-except block doesn’t change the finding.
Same here on Win11 22H2 22621.1825 on Python 3.11.1.
from win10toast import ToastNotifier . t.show_toast(title=_title, msg=_msg, duration=15)
Same here Is there any solution for this issue?
Hi there, I found a wonderful module to solve this problem. Use the following command to install it:
pip install win11toast
It seems to be OK to use win11toast instead of win10toast .
For more information, go to https://pypi.org/project/win11toast/ .
You can also view it on GitHub: https://github.com/GitHub30/win11toast
Or you can also handle the TypeError of win10toast with a try-except block.
(I’m sorry but I’m a 16-year-old student from a secondary school in China. There may be some grammatical errors in my reply.)
Hope this can help you all.