python-maxcube-api icon indicating copy to clipboard operation
python-maxcube-api copied to clipboard

IndexError: list index out of range

Open schniggie opened this issue 1 year ago • 1 comments

python3 prog.py --host=192.168.178.15 dump
Error processing response message M:
Traceback (most recent call last):
  File "/home/cd/.local/lib/python3.11/site-packages/maxcube/cube.py", line 126, in __parse_responses
    self.parse_m_message(msg.arg)
  File "/home/cd/.local/lib/python3.11/site-packages/maxcube/cube.py", line 167, in parse_m_message
    data = bytearray(base64.b64decode(message.split(",")[2]))
                                      ~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
[]

any idea?

schniggie avatar Jun 18 '24 08:06 schniggie

Yes, like me your message is empty... But I don't know what that implies...

H: ldkf sjldkf jsldkfj sldkfj
M:
C:0cda82,fldksfjg lkdjfg lsdkjfg ldskfjg ldskfgj lsdfkjg sfdklj///////////////////////////dsfgs dfsd fs ///////////////////////////sdlm sldf smdlf smdlf smdlmsdfl ...==                                                       
L:  

Tzaphkiel avatar Sep 25 '25 16:09 Tzaphkiel