[liblouis-liblouisxml] Re: Expected yaml sequence start event?

  • From: Christian Egli <christian.egli@xxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Thu, 12 Jan 2017 09:32:22 +0100

Hi Dave

On 01/12/2017 05:28 AM, Dave Mielke wrote:

I must be misunderstanding how to write a .yaml file. I'm getting this error:

   lou_checkyaml:gr.yaml:1: Expected YAML_SEQUENCE_START_EVENT
   (actual YAML_SCALAR_EVENT)

lou_checkyaml is apparently encountering a scalar where it is expecting a sequence.

What does it mean? So far, my gr.yaml file contains this (without the
indentation):

   tables: gr-forward.ctb
   tests:
   - - \x03b1
     - α

It's kinda hard to tell from a distance (without seeing all the indentation). Maybe the problem is precisely the indentation.

OTOH you could try to formulate the test using "flow style" notation (untested):

tables: gr-forward.ctb
tests:
  - [\x03b1, α]

HTH
Christian

--
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland

For a description of the software, to download it and links to
project pages go to http://liblouis.org

Other related posts: