Mino260806 / miwtool

A tool for manipulating Redmi Watch 2 Lite watchface files
GNU General Public License v3.0
36 stars 8 forks source link

RuntimeError: component_index > len(offsets[offset_type]) #16

Open Domenick90 opened 1 year ago

Domenick90 commented 1 year ago

Traceback (most recent call last): File "main.py", line 53, in decoder = WatchFaceDecoder(input_file) File "C:\Temp\RedmiWatch2SOFT\miwtool-main\decoder\watch_face_decoder.py", line 19, in init self.parse_file() File "C:\Temp\RedmiWatch2SOFT\miwtool-main\decoder\watch_face_decoder.py", line 40, in parse_file self.offsets_decoder = ComponentOffsetDecoder(f, components_offsets_end) File "C:\Temp\RedmiWatch2SOFT\miwtool-main\decoder\offsets_decoder.py", line 32, in init self.parse_file() File "C:\Temp\RedmiWatch2SOFT\miwtool-main\decoder\offsets_decoder.py", line 51, in parse_file raise RuntimeError("component_index > len(offsets[offset_type])") RuntimeError: component_index > len(offsets[offset_type])

Cruise.zip