Finally I could fix this problem:
========================================
GrovePi has firmware version:
Traceback (most recent call last):
File “grove_script.py”, line 3, in <module>
print “GrovePi has firmware version:”, grovepi.version()
File “/home/pi/Desktop/FIRMWARE/grovepi.py”, line 218, in version
return “%s.%s.%s” % (number[1], number[2], number[3])
TypeError: ‘int’ object has no attribute ‘getitem’
After spending the whole day trying to fix the GrovePi+, as soon as I ran the file grove_setup1.txt attached the card showed the version again:
pi@raspberrypi ~ $ sudo python ~/Desktop/GrovePi/Software/Python/grove_firmware_version_check.py
(‘GrovePi has firmware version:’, ‘1.2.3’)
My GrovePi+ worked yesterday but there was some errors reading sensors so I followed you suggestion to burn your own image in a new SD but it didn’t work and when I returned to my initial image the card reported the above mentioned error. I tried everything I had done before but it didn’t work until I upgraded the firmware with the new version.
Enough for today. Tomorrow I’ll check the sensors.
Toni