I'm using GRASS GIS 7.8, an application created using wxPython.
Every time I try to open a dataset using this application, I get the following error:
...
File "C:\Program Files\GRASS GIS 7.8\gui\wxpython\icons\icon.py", line 96, in GetBitmap
image = wx.Image(name=self.imagepath)
wx._core.wxAssertionError: C++ assertion "strcmp(setlocale(0, 0), "C") == 0" failed at D:\src\osgeo4w\src\wxwidgets\wxwidgets-3.1.5-0df1d81acd6f1be8624022f8eecb51679008ca40\src\common\intl.cpp(1694) in wxLocale::GetInfo(): You probably called setlocale() directly instead of using wxLocale and now there is a mismatch between C/C++ and Windows locale.
Things are going to break, please only change locale by creating wxLocale objects to avoid this!
OnInit returned false, exiting...
You will need to contact the GRASS GIS people about this. They
have a Python installation embedded in their release. All the
pieces should be playing well together. Perhaps you're using a
code page they haven't encountered before. They have their own
mailing lists, and a Twitter feed. This shouldn't be a hard fix
(just one line), but I don't want to advise you without getting a
comment from the authors.
https://grass.osgeo.org/about/community/
-- Tim Roberts, ti...@probo.com Providenza & Boekelheide, Inc.
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/180959e2-05d1-9091-01e9-5eff9280da08%40probo.com.
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/c4e68628-42b6-4429-9ca2-4f6a149f6b2cn%40googlegroups.com.