Tormented by python warning/errors