Today i started using 2.8.10.1 after developing under 2.8.9.1
My application uses TaskBarIcon, until now without problems.
On the first startup after the upgrade to 2.8.10 I got this
PyAssertionError when the TaskBarIcon calls SetIcon:
Traceback (most recent call last):
...
...
self.SetIcon(self.icon, _("Connected"))
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/
_windows.py", line 2169, in SetIcon
return _windows_.TaskBarIcon_SetIcon(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "image.HasMask()" failed
at ../src/common/rgncmn.cpp(134) in Union(): wxBitmap::ConvertToImage
doesn't preserve mask?
I tried several images, image formats, and images with and without
mask. However, the error remains.
My application works as it should, so it is not a show stopper, but I
would really like to see the error go away.
Any thoughts on this one?
Has anyone had a similar problem?
Which platform? From the path names in the traceback I'm guessing some *nix, but it's always good to mention it specifically. Please send a sample image that is causing this problem for you, and a small sample application would be helpful too.
···
On 11/20/09 8:45 AM, maarten.stol wrote:
Hello All,
Today i started using 2.8.10.1 after developing under 2.8.9.1
My application uses TaskBarIcon, until now without problems.
On the first startup after the upgrade to 2.8.10 I got this
PyAssertionError when the TaskBarIcon calls SetIcon:
Traceback (most recent call last):
...
...
self.SetIcon(self.icon, _("Connected"))
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/
_windows.py", line 2169, in SetIcon
return _windows_.TaskBarIcon_SetIcon(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "image.HasMask()" failed
at ../src/common/rgncmn.cpp(134) in Union(): wxBitmap::ConvertToImage
doesn't preserve mask?
I tried several images, image formats, and images with and without
mask. However, the error remains.
My application works as it should, so it is not a show stopper, but I
would really like to see the error go away.
Any thoughts on this one?
Has anyone had a similar problem?