Hi Line 866 cause a TypeError being caught by the general "except" print "Got " + appRespCode + "from the app, check your options -> print "Got " + str(appRespCode) + "from the app, check your options Same l.570 and maybe elsewhere