Getting error from grovepi.py in firmware_version_check[SOLVED]


#1

Hi , when I run python firmware_version_check.py , I’m getting :

File “grove_firmware_version_check.py”, line 40, in
print(“GrovePi has firmware version: %s” %grovepi.version())
File “/home/pi/Dexter/GrovePi/Software/Python/grovepi.py”, line 265, in version
return “%s.%s.%s” % (number[1], number[2], number[3])
TypeError: ‘int’ object has no attribute ‘getitem


#2

Hi @shacharl,

It looks like your firmware isn’t repsonding, can you do a firmware update by running this file. To run this file run the following command on your terminal
sudo bash /home/pi/Desktop/GrovePi/Firmware/firmware_update.sh.

Please let us know if this helps,
-Shoban


#3

Thanks, the script helped.


#4

Hi @shacharl,

Glad that we were able to help you. Thanks for your feedback.

-Shoban


#5

This topic was automatically closed after 24 hours. New replies are no longer allowed.