I ran convert-ly -ed as suggested, and then ran lilypond on the
resulting file to have a look at the embedded example.  
Here's the resulting error message (lilypond 2.16.2 on OSX 10.6.8):


        Processing `book-titling.ily'
        
Parsing.../Applications/LilyPond.app/Contents/Resources/bin/../share/guile/1.8/ice-9/regex.scm:180:45:
 In procedure make-regexp in expression (make-regexp regexp):
        
/Applications/LilyPond.app/Contents/Resources/bin/../share/guile/1.8/ice-9/regex.scm:180:45:
 illegal byte sequence
        LilyPond terminated in 0.673 seconds.
        

Curiously, before spotting the suggested "-ed" options to convert-ly, I
had tried adding a \version "2.14.0" statement to the top of the file
and running convert-ly without options.  Eeek!


        $ /Applications/LilyPond.app/Contents/Resources/bin/convert-ly
        book-titling-a.ily > book-titling-a.convert-ly.ily
        convert-ly (GNU LilyPond) 2.16.2
        
        convert-ly: Processing `book-titling-a.ily'... 
        Applying conversion: 2.15.7, 2.15.9, 2.15.10, 2.15.16, 2.15.17,
        2.15.18, 2.15.19, 2.15.20, 2.15.25, 2.15.32, 2.15.39, 2.15.40,
        2.15.42, 2.15.43, 2.16.0
        
        
        Traceback (most recent call last):
          File
        "/Applications/LilyPond.app/Contents/Resources/bin/convert-ly",
        line 374, in <module>
            main ()
          File
        "/Applications/LilyPond.app/Contents/Resources/bin/convert-ly",
        line 362, in main
            do_one_file (f)
          File
        "/Applications/LilyPond.app/Contents/Resources/bin/convert-ly",
        line 316, in do_one_file
            outfile.write (result)
          File
        
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/codecs.py",
 line 351, in write
            data, consumed = self.encode(object, self.errors)
        UnicodeDecodeError: 'utf8' codec can't decode byte 0x8e in
        position 1331: invalid start byte


and, in a spirit of inquiry, thought I might have a look inside
convert-ly:


        $
        file /Applications/LilyPond.app/Contents/Resources/bin/convert-ly
        /Applications/LilyPond.app/Contents/Resources/bin/convert-ly:
        ERROR: line 163: regex error 17, (illegal byte sequence)
        

I suspect that there might be a problem with convert-ly on OSX.

kind regards
-- Graham King

On Mon, 2013-10-28 at 07:54 +0100, David Kastrup wrote:

> Kevin Tough <ke...@toughlife.org> writes:
> 
> > My lilypond install of 2.16.2 cannot parse the input file. It hangs at 
> > fatal error:  failed files: "SnippetForBookWithTitleAndTOC"
> > (4 of 29): error: unknown escaped string: *\markuplines'
> 
> Did you run
> 
>     convert-ly -ed
> 
> on the file in order to upgrade the syntax to version 2.16.2 ?
> 
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to