Error - "should be zero or 1 controller arg"
Do you have at least one controller logic-block setup with Python script? That controller needs to be on a sensor (usually an Always sensor). if that's not the problem, take another look at the API for the functions or objects associated in the script (maybe provide a link?)

I've had trouble running UPBGE, so I've no experience with it.