Chirimen 5 Posted April 21, 2018 (edited) In current version, XVM-7.5.6, clock in hangar is error on japanese locale (maybe on other multibyte chars locales). "LookupError: unknown encoding: cp932" encoding cp932 is used for japanese window, but it's not included in python module with WoT client. this problems similar to the topic: Clock in hangar: error with Japanese Windows error log: Цитата 2018-04-14 12:47:24: [ERROR] Traceback (most recent call last): File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 157, in process_python_macro return (func(), deterministic) File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 150, in <lambda> return (lambda: func(*args), deterministic) File "res_mods/configs/xvm/py_macro\xvm.py", line 61, in xvm_formatDate formatDate = formatDate.decode('utf8').encode(_defaultlocale) LookupError: unknown encoding: cp932 arg='xvm.formatDate('%Y-%m-%d')' Edited May 1, 2018 by Mixaill Quote Share this post Link to post Short link Share on other sites
Chirimen 5 #428385 Posted April 22, 2018 I tried import "scripts/common/Lib/encodings/cp932.py" with mod replserver. "cp932.py" is included in WoT client. the result is "ImportError: No module named _multibytecodec" maybe cannot import "_multibytecodec.pyd" in com.modxvm.xfw.native_1.0.9.00039.wotmod for some reason. Цитата > from encodings import cp932 Traceback (most recent call last): File "scripts/client/gui/mods/replserver/tcprepl.py", line 117, in __repl File "<string>", line 1, in <module> File "scripts/common/Lib/encodings/cp932.py", line 8, in <module> ImportError: No module named _multibytecodec Quote Share this post Link to post Short link Share on other sites
Mixaill 1,740 #428978 Posted May 1, 2018 Should be fixed in build 8308 for WoT 1.0.1 Quote Share this post Link to post Short link Share on other sites
Chirimen 5 #429274 Posted May 3, 2018 working on WoT 1.0.1.0 with nightly 8326. thanks. Quote Share this post Link to post Short link Share on other sites