[v0.17.0] Crashes on startup on Windows 11 Pro ver: 21H2 - 22000.348
vsantolo opened this issue · 6 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!
I just installed subsync 0.17 in archlinux(with python 3.10) from aur. I comment here because one of the errors seems the same I had:
File "subsync_main_.py", line 73, in gui
I had some more info about this though and the problem was that the window size had unexpected type float. I solve it by change it to int.
So maybe this help you too and also inform the developer about the issue(at least this one) which seems to be on linux too.
EDIT:
After I tried to use the app I also get error when tried to load a subtitle or a video and also the problem is the float type. So there are more problems of this type which need to be fixed.
Same issue here in Windows 11 for 0.17.0.
0.16.0 works fine.
Same here. I hope this is being worked on.
Same for me.
Hi everyone,
This looks like it still needs to be solved.
After updating to Windows 11, I started having the same issue:
`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!`
Did anyone have success fixing it?
This is really a nice software.
FYI, 0.17 portable is hopeless
the MSI (extract via powertools or maybe lessmsi works too) has an apparently working subsync-cmd.exe (although I have other problems making it work)