Closed sujdovicluka closed 1 year ago
Hi @sujdovicluka Can you tell me what operating system are you running Pronterface and what version is used? In addition what language is used.
Windows 10 Pro, 20H2, 2021. , Windows Feature Experience Pack 120.2212.2020.0,
What version of Pronterface did you try to run? What is the language setting of your computer?
Edit: I'm quite sure you are not running the latest version (what would explain the wxpython error). Please download the latest version here: https://github.com/kliment/Printrun/releases/tag/printrun-2.0.0
https://github.com/kliment/Printrun/releases/tag/printrun-2.0.0 this is the latest, I have no access to the older version.
Language - English?
Thanks for this additional information. I'm running as well Windows 10 Pro, but with latest version 22H2. I'm just fishing and try to understand what is different to my system as I can't force this error here.
Maybe a additional question, is English meant en-US or similar or something else?
Background: We had an user a couple weeks ago on a macOS who was using a language setting like en-AT, what is not a supported combination for pronterface, but possible to set up. He needed to switch to a common combination like de-AT or en-GB, en-US etc. Peoples choose those kind of settings usually if they have a different keyboard layout like for example a French system language with an English keyboard layout.
It may actually be a similar but not the same problem.
In this case it could be that wx.Local doesn't recognise a language it supports. Unfortunately, there is no safeguard to check if GetSystemLanguage was actually successful.
wx.LANGUAGE_UNKNOWN | Unknown language, returned if wx.Locale.GetSystemLanguage fails. Source: https://docs.wxpython.org/wx.Language.enumeration.html#wx-language
@neofelis2X, thanks for pointing to this.
Same issue as #1348. Reproduced. Not platform specific.
When I run pronterface/ printrun, error occures:
I have no clue on how to solve this but this is what console says:
Traceback (most recent call last): File "pronterface.py", line 62, in
File "printrun\pronterface.py", line 2581, in init
wx._core.wxAssertionError: C++ assertion ""lang != wxLANGUAGE_UNKNOWN"" failed at ....\src\common\intl.cpp(425) in wxLocale::Init(): Initializing unknown locale doesn't make sense, did you mean to use wxLANGUAGE_DEFAULT perhaps?
Can you help me with this? /- my email is > sujdovic21@gmail.com Thanks.