Closed bwims closed 3 years ago
The error occurs 'cause the program try to tell you you are using incompatible data:
either
-w
to ignore warning:
decode-config_win64 -T command -f Config_Zbridge_04C9EB_2539_9.2.0.2.dmp -w
(the -f parameter is still supported, but you should use -s, works with all variants)
Describe the bug decode-config crashes with the Sonoff Zbridge
To Reproduce Steps to reproduce the behavior: 1. Program parameter: decode-config_win64 -T command -f Config_Zbridge_04C9EB_2539_9.2.0.2.dmp 2. Result:
'stty' is not recognized as an internal or external command, operable program or batch file. Traceback (most recent call last): File "decode-config.py", line 4940, in
IndexError: list index out of range
[12600] Failed to execute script decode-config
Expected behavior A clear and concise description of what you expected to happen.
Normal output as per any other kind of sonoff/tasmota device.
Version Information (please complete the following information):
decode-config -VV
to retrieve the info]:-g System
to your decode-config parameter, e. g.decode-config -f myconfig.dmp -g System
):Same crash dump as before.
However, since this data generates info about my PC, I have created something similar. NB This is from a DIFFERENT .dmp file (of an RF Bridge)
{"bootcount": 36, "cfg_crc": "0x5814", "cfg_holder": 4617, "cfg_size": 3584, "header": {"data": {"crc": "0x5814", "size": 3584, "template": {"crc": "0x5814", "size": 3584, "version": "0x6040112"}, "version": "0x6050000"}, "env": {"platform": "Windows-10-10.0.18362-SP0", "python": "3.6.8", "script": "decode-config.py v9.2.0 [f54a77a]", "system": "Windows AMD64 10 10.0.18362"}, "timestamp": "2021-01-05 17:02:22"}, "version": "0x6050000"}