lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Table of contents


From: David Kastrup
Subject: Re: Table of contents
Date: Tue, 18 Sep 2012 17:19:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

John McWilliam <address@hidden> writes:

> Booktest3.ly
> <http://lilypond.1069038.n5.nabble.com/file/n133121/Booktest3.ly>  
>
> 1.    I get an error when trying to introduce a Table of Contents (see above
> file for snippet):
>
> %lilypond %args "C:\Users\siba\Documents\Lilypond
> Music\Bagpipe_music\Test\Booktest3.ly"
> Processing `C:/Users/siba/Documents/Lilypond
> Music/Bagpipe_music/Test/Booktest3.ly'
> Parsing...
> C:/Users/siba/Documents/Lilypond Music/Bagpipe_music/Test/Booktest3.ly:4:2:
> error: unknown escaped string: `\markuplines'
>   
>   \markuplines \table-of-contents

Run convert-ly on it.

> 2.    I have done this previously in a collection of marches using version
> 2.14. Now I cannot upgrade this code to 2.16 without the following errors:
>
>> convert-ly.py --edit "C:\Users\siba\Documents\Lilypond
>> Music\Polisensblåsorkester\Marscher\Polisens Marschbook-Kl2.ly"
> convert-ly.py (GNU LilyPond) 2.16.0
>
> Traceback (most recent call last):
>   File "C:\Program Files\LilyPond\usr\bin\convert-ly.py", line 374, in ?
>     main ()
>   File "C:\Program Files\LilyPond\usr\bin\convert-ly.py", line 362, in main
>     do_one_file (f)
>   File "C:\Program Files\LilyPond\usr\bin\convert-ly.py", line 250, in
> do_one_file
>     ly.progress (_ ("Processing `%s\'... ") % infile_name, True)
>   File "out/lilylib.py", line 137, in progress
>   File "out/lilylib.py", line 121, in print_logmessage
>   File "out/lilylib.py", line 116, in stderr_write
>   File "out/lilylib.py", line 58, in encoded_write
> UnicodeDecodeError: 'utf8' codec can't decode bytes in position 76-78:
> invalid data
> Processing time: 0 seconds

It would appear that Python is unhappy printing the file name.  Try
renaming the file to something not containing å in its name.

-- 
David Kastrup




reply via email to

[Prev in Thread] Current Thread [Next in Thread]