Spróbuj oprócz Keyerror
try:
connection = manager.connect("I2Cx")
except Exception as e:
print repr(e)
Real Raccoon
try:
connection = manager.connect("I2Cx")
except Exception as e:
print repr(e)