Are you putting the actual Achievement objects into your list? The error sounds like you're just putting strings in instead. If you have a line like define abc_achievement = Achievement(...) then you need to put abc_achievement in the list. No quotes.