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.Dismiss alert
With Python 3 and wxpython 4, the program crashes on startup with the error:
raceback (most recent call last):
File "/home/admin/pymapper/./pymapper.py", line 13438, in OnInit
self.init_frame()
File "/home/admin/pymapper/./pymapper.py", line 13674, in init_frame
self.LoadMarkerFiles()
File "/home/admin/pymapper/./pymapper.py", line 15075, in LoadMarkerFiles
bitmap = self.UpdateMarkerImage(marker)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin/pymapper/./pymapper.py", line 15179, in UpdateMarkerImage
bitmap_mask = wx.Mask(wx.Bitmap(bitmapPath, wx.BITMAP_TYPE_PNG))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
wx._core.wxAssertionError: C++ assertion ""bitmap.GetDepth() == 1"" failed at ../src/gtk/bitmap.cpp(258) in InitFromMonoBitmap(): Cannot create mask from colour bitmap
OnInit returned false, exiting...
The text was updated successfully, but these errors were encountered:
With Python 3 and wxpython 4, the program crashes on startup with the error:
raceback (most recent call last):
File "/home/admin/pymapper/./pymapper.py", line 13438, in OnInit
self.init_frame()
File "/home/admin/pymapper/./pymapper.py", line 13674, in init_frame
self.LoadMarkerFiles()
File "/home/admin/pymapper/./pymapper.py", line 15075, in LoadMarkerFiles
bitmap = self.UpdateMarkerImage(marker)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin/pymapper/./pymapper.py", line 15179, in UpdateMarkerImage
bitmap_mask = wx.Mask(wx.Bitmap(bitmapPath, wx.BITMAP_TYPE_PNG))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
wx._core.wxAssertionError: C++ assertion ""bitmap.GetDepth() == 1"" failed at ../src/gtk/bitmap.cpp(258) in InitFromMonoBitmap(): Cannot create mask from colour bitmap
OnInit returned false, exiting...
The text was updated successfully, but these errors were encountered: