Closed tsmoneta closed 1 year ago
can not reproduce, latin-1 might not be a common solution pls provide the error message provide also if possible (e.g. by mail) a dmp file of a related device
Full error:
Traceback (most recent call last):
File "/home/mmoneta/decode-config/decode-config.py", line 6541, in
dmp file sent to norbert.richter@prsolution.eu
try latest dev v13.1.0.1 [ec8f0ef]
Confirmed fixed.
Describe the bug
Running:
Getting an invalid continuation character error on some devices.
To Reproduce
decode-config.py -d TASMOTADEVICE -p PW --json-indent 3 -o ${t}@v.json -o ${t}@v.dmp --ignore-warnings
Expected behavior
No error, just the backups
Version Information
decode-config.py v13.1.0.1 [5f3b6d4] by Norbert Richter nr@prsolution.eu
Script: decode-config.py Version: 13.1.0.1 [5f3b6d4] Python: 3.11.4 Platform: Linux-6.4.11-200.fc38.x86_64-x86_64-with-glibc2.37 - x86_64 OS: Linux 6.4.11-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 16 17:42:12 UTC 2023 Time: 2023-08-23 16:32:28
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
Changing utf-8 to latin-1 prevents the error.