error msg line numbers for read_yaml