Apply patch from Michael fixing TypeError when calling show_error.
  Closes lp:1121164, thanks Michael.