Skip to content
This repository was archived by the owner on Apr 14, 2018. It is now read-only.
This repository was archived by the owner on Apr 14, 2018. It is now read-only.

IndexError: list index out of range #30

Description

@benallard

Running fitbit.py:

Start _check_burst_response
received: ['a4', '09', '4f', '00', '3d', '81', '00', '00', '00', '00', '00', '00', '5e']
End _check_burst_response
['0xda', '0xfe', '0xe6', '0x4f', '0xbc', '0x24', '0xd9', '0x00', '0x00', '0x00', '0x33', '0x79', '0x02']
Time: 2012-06-24 13:49:46 Daily Steps: 217
['0x00', '0x00']
Traceback (most recent call last):
  File "./fitbit.py", line 360, in <module>
    sys.exit(main())
  File "./fitbit.py", line 352, in main
    device.parse_bank1_data(device.run_data_bank_opcode(0x01))
  File "./fitbit.py", line 319, in parse_bank1_data
    daily_steps = data[i+7] << 8 | data[i+6]
IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions