add trap for rare ast.literal_eval error