I have completed assembly of PiDog, and run the software as required to zero servos. However, now when I run any of the example or test programs, the program fails with a Type Error message. Here is photo of screen:

I have reloaded the software, but get the same answer. Would appreciate help
Hi, you seem to have not uploaded the screen photo correctly to the forum. Theres nothing to view.
Thank you for response. I will try again. (I seem to get a different error each time)
Screen image has now appeared in new window next to this one, so hopefully will be visible to you. oldjohn
Yes, that photo is fine.
I don’t see an error message, just the start of a traceback towards some possible error. I.e at first glance it looks like it wants to run further but was stopped by ctrl-c
Just a few questions to try to establish some context..
Was the code just hanging? Did you hit ctrl-c or similar to stop the hanging, or did it stop of it’s own accord?
If there are issues uploading photos, it’s probably better just to directly copy (SHIFT ctrl-c) the terminal content directly into the forum web page (ctrl-v)
Hello again ! In the previous screen shot, when I ran the program, it locked up, just showing a single character white block. I pressed C to escape.
I have tried again, first running servo_zeroing.py, which ran with no problem, then 9_howling.py, which gave the error message ending in ‘TypeError: ‘bool’ object is not subscriptable. This or similar is what I get if I run any of the example progs, apart from servo_zeroing.py
Assuming your i2c is enabled in raspi-config, then your i2c cables may not be correcly connected through to the imu Just jiggle them to ensure they’re fully home at all 3 connection points (rpi, led thingy and then through to the imu.
Does the led on the imu illuminate?
Careful though, the connectors are quite fragile
Sorry if this doesn’t help, Sunfounder wiil be back from vacation in a couple of days. They will be more helpful than I
Hello, yes, i2c is enabled, and the four tiny 4 pin connectors have been put in the right way round and fully engaged, I believe. I agree about the fragility, having pulled off the connector on the robot HAT while trying to make sure the plug was fully home (Sunflower provided me with a replacement board, superb service).
The red light on the IMU is on, the board is mounted the right way up, the cable goes to the connector on the left, and there is no connection to the other socket on the right.
LATER: after tightening the i2c board connector (even though it appeared to be fully home), I find that several of the programs (eg howling) now run without error ! Many thanks for your help - looks as though I can now make progress. Wonderful.
Brilliant! Have a nice weekend and enjoy your pidog