DEBUG:wxWidgets locale () system: ('English_India', '1252') (kicost - kicost_gui.py:1172) DEBUG:LibreOffice not found. (kicost - kicost_gui.py:421) Traceback (most recent call last): File "c:\program files\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\program files\python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\Sujith\AppData\Roaming\Python\Python38\Scripts\kicost.exe\__main__.py", line 7, in File "C:\Users\Sujith\AppData\Roaming\Python\Python38\site-packages\kicost\__main__.py", line 394, in main main_real() File "C:\Users\Sujith\AppData\Roaming\Python\Python38\site-packages\kicost\__main__.py", line 319, in main_real kicost_gui([os.path.abspath(fileName) for fileName in args.gui]) File "C:\Users\Sujith\AppData\Roaming\Python\Python38\site-packages\kicost\kicost_gui.py", line 1173, in kicost_gui frame = formKiCost(None) File "C:\Users\Sujith\AppData\Roaming\Python\Python38\site-packages\kicost\kicost_gui.py", line 587, in __init__ self.m_bitmap_icon.SetIcon(wx.Icon(os.path.join(kicostPath, 'kitspace.png'), wx.BITMAP_TYPE_PNG)) wx._core.wxAssertionError: C++ assertion "strcmp(setlocale(LC_ALL, NULL), "C") == 0" failed at ..\..\src\common\intl.cpp(1579) 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!