We own:
WAPT version: 2.6.1.1.7765 enterprise edition
Server OS: Dedian 13
Console Machine OS: Windows 11 Pro 25H2 64Bits (build 26200.8246)
Authentication Method: without authentication
Since the last WAPT update, we have noticed disconnections between workstations and the server, and problems with information retrieval (IP, description, etc.)
Despite the agent settling in properly at the workstation (GPO)
However, when we run the command "wapt-get update", we get this:
Code: Select all
C:\Windows\System32>wapt-get update debug
[DEBUG] Logging TSynLog with level=debug to C:\Program Files (x86)\wapt\log\wapt-get.log
Traceback (most recent call last):
File "<string>", line 228, in <module>
File "C:\Program Files (x86)\wapt\setuphelpers.py", line 572, in get_language
lang = locale.windows_locale[ctypes.windll.kernel32.GetUserDefaultUILanguage()]
KeyError: 18416652
KeyError: 18416652
20260416 06093423 ! rotat wapt-get 2.6.1.17765 TSynLog 2.4.13434 {12 17.86 16.15 8.5GB/15.7GB 66581b01}
20260416 06093423 ! info SetThreadName 1 4190 16784=Main
20260416 06093423 ! EXC EPyKeyError {Message:"KeyError: 18416652"} [Main] at afd1ed {12 17.86 16.15 8.5GB/15.7GB 66581b01}
20260416 06093423 ! ERROR KeyError: 18416652
20260416 06093423 ! info wapt-get terminateCode: Select all
def get_language(full_locale=False, separator='_'):
"""Get the os default locale (example: fr, en, pl, etc.)
>>> get_language()
'fr'
>>> get_language(full_locale=True)
'fr_FR'
>>> get_language(full_locale=True, separator='-').lower()
'fr-fr'
"""
if sys.platform == 'win32':
lang = locale.windows_locale[ctypes.windll.kernel32.GetUserDefaultUILanguage()]
else:
lang = locale.getdefaultlocale()[0]
if lang==None:
lang='en_US'
if full_locale:
return lang.replace('_', separator)
return lang.split('_')[0]I don't know if it's a bug or a problem with our environment (the same problem is repeated on many workstations and even on new ones)
Thank you for your feedback and have a good day
