Courtney Trainor convicted of possession of knife and drugs