Error message 'int' object has no attribute '__getitem__' use Ultrasonic_And_Relay

Computer: Raspberrpi P3
Map: GrovePi +
Component: UltraSonnic Ranger
Language: Python
Conditions: at the execution
Error Message: ‘int’ object has no attribute 'getitem
Origin program: Comes with the kit
Program name: Ultrasonic_And_Relay
Os: Original Raspian version for Raspberry P3 and DexterOs version
Notes: Same behavior with both OS
Question: Do you have a solution to deal with the problem
Note: That the other components work correctly.
Thanks for your feedback.

Hi @kahloun.albert,

Normally, flashing the firmware onto the GrovePi should fix it.
Can you do that and then tell us if it worked?

You’ve got to use this script here:

Thank you!