You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Windows, I get this error in Python 3
calibrationArray = struct.unpack('BBBBIffffffffffffffffffffffffffffffffffffI', bytes(calibrationBytes))
ValueError: bytes must be in range(0, 256)
And this error in Python 2
calibrationArray = struct.unpack('BBBBIffffffffffffffffffffffffffffffffffffI', bytes(calibrationBytes))
struct.error: unpack requires a string argument of length 156
any suggestion? Thanks.
The text was updated successfully, but these errors were encountered:
in line 168 of leapuvc.py change to the following: calibrationArray = struct.unpack('BBBBIffffffffffffffffffffffffffffffffffffI', bytes(calibrationBytes)[0:156])
In Windows, I get this error in Python 3
calibrationArray = struct.unpack('BBBBIffffffffffffffffffffffffffffffffffffI', bytes(calibrationBytes))
ValueError: bytes must be in range(0, 256)
And this error in Python 2
calibrationArray = struct.unpack('BBBBIffffffffffffffffffffffffffffffffffffI', bytes(calibrationBytes))
struct.error: unpack requires a string argument of length 156
any suggestion? Thanks.
The text was updated successfully, but these errors were encountered: