Python 3.5.3 (default, Jan 19 2017, 14:11:04) [GCC 6.3.0 20170124] on linux Type "copyright", "credits" or "license()" for more information. >>> ==== RESTART: /home/pi/Dexter/GrovePi/Software/Python/grove_ultrasonic.py ==== TypeError TypeError TypeError TypeError TypeError TypeError TypeError TypeError TypeError TypeError TypeError TypeError TypeError TypeError TypeError TypeError TypeError TypeError TypeError TypeError TypeErrorTraceback (most recent call last): File "/home/pi/Dexter/GrovePi/Software/Python/grove_ultrasonic.py", line 45, in print(grovepi.ultrasonicRead(ultrasonic_ranger)) File "/home/pi/Dexter/GrovePi/Software/Python/grovepi.py", line 257, in ultrasonicRead return (number[1] * 256 + number[2]) TypeError: 'int' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/Dexter/GrovePi/Software/Python/grove_ultrasonic.py", line 48, in print ("TypeError") File "/usr/lib/python3.5/idlelib/PyShell.py", line 1344, in write return self.shell.write(s, self.tags) KeyboardInterrupt >>>