subsync icon indicating copy to clipboard operation
subsync copied to clipboard

[v0.17.0] Crashes on startup on Windows 10

Open zigzag312 opened this issue 3 years ago • 5 comments

I get this error on startup:

C++ assertion "strcmp(setlocale(0, 0), "C") == 0" failed at ....\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!

Traceback (most recent call last): File "subsync_main_.py", line 73, in gui File "subsync\gui\mainwin.py", line 56, in init File "subsync\gui\layout\mainwin.py", line 45, in init File "subsync\gui\subpanel.py", line 63, in init File "subsync\gui\subpanel.py", line 15, in init File "subsync\gui\layout\subpanel.py", line 42, in init wx._core.wxAssertionError: C++ assertion "strcmp(setlocale(0, 0), "C") == 0" failed at ....\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!

zigzag312 avatar Nov 18 '21 18:11 zigzag312

Sorry for the tag @sc0ty , but this is a major breaking bug. It would be appreciated if you can look into it. :)

GingerAdonis avatar Dec 23 '21 14:12 GingerAdonis

Same issue here.

mimmiechan avatar Jan 17 '22 18:01 mimmiechan

You can use an earlier version that works(0.16.0) from the releases page here and choose the required installer based on the OS under the Assets section. Just don't update the software till a fix has been released. I tried this for windows and it works

jiteshm17 avatar Jan 29 '22 10:01 jiteshm17

same here (Win 21H2 OS Build 19044.1706)

aka-charos avatar May 30 '22 17:05 aka-charos

This is still an issue. It used to work on my computer. I havent used subsync for months but when I needed it today it showed me this error. Probably due to some windows updates I guess.

21H1 OS Build 19043.1766

I will try the previous version now as suggested here Edit: Previous version is working

pyto00 avatar Jul 01 '22 08:07 pyto00