Closed scoace closed 2 years ago
missing the version you are using e.g.
decode-config.py v12.1.1.1 [083fb72] by Norbert Richter nr@prsolution.eu
that's the very first line of decode-config.py -V
I can't reproduce it using v12.1.1.1 [083fb72]
, not even with a shutter device. I suspect the error is due to some string settings of your device. Pls can you provide the binary config (e.g. per mail).
decode-config.py v12.1.1.1 [87254b6] by Norbert Richter nr@prsolution.eu
Script: decode-config.py Python: 3.7.3 Platform: Linux-5.10.63-v7+-armv7l-with-debian-10.12 - armv7l OS: Linux 5.10.63-v7+ #1496 SMP Wed Dec 1 15:58:11 GMT 2021 Time: 2022-09-01 10:29:43
binary file is on the way
thx, can't still reproduce using
./decode-config.py -s Config_RL_AZ_11.0.0.3.dmp
Does the error already occur on your env using send dmp?
Thanks for your help. I checked it on a another Linux and it worked. It turned out that the $LANG variable on the failing device has to be set to "export LANG=de_DE.UTF-8". Than it worked.
Describe the bug
Command "./decode-config.py -s 192.168.11.138" raises the following error: Traceback (most recent call last): File "./decode-config.py", line 6470, in
print(get_jsonstr(CONFIG['groupmapping'], ARGS.jsonsort, ARGS.jsonindent, ARGS.jsoncompact))
UnicodeEncodeError: 'latin-1' codec can't encode character '\u25a0' in position 583: ordinal not in range(256)
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior: 1. Program parameter: ./decode-config.py -s 192.168.11.138 2. Result: File "./decode-config.py", line 6470, in
print(get_jsonstr(CONFIG['groupmapping'], ARGS.jsonsort, ARGS.jsonindent, ARGS.jsoncompact))
UnicodeEncodeError: 'latin-1' codec can't encode character '\u25a0' in position 583: ordinal not in range(256)
Expected behavior
A clear and concise description of what you expected to happen.
Version Information
Please complete the following information
use
decode-config.py -V
to retrieve the infoSystem' information of your Tasmota data
Append
-g System
to your decode-config parameter, e. g.decode-config.py -s myconfig.dmp -g System
Additional context
That happens only on a tasmota device with shutter configuration