lilypond-user
[Top][All Lists]
Advanced

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

Re: Error in lily-library.scm with 2.15.14


From: David Kastrup
Subject: Re: Error in lily-library.scm with 2.15.14
Date: Thu, 20 Oct 2011 12:50:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

Nick Payne <address@hidden> writes:

> I have one score that when when I try to build it with 2.15.14, I get
> the following output in the log.
>
> ===============================================
> Processing `/home/nick/lilypond/chaconne.ly'
> Parsing...
> Interpreting
> music... 
> [8][16][24][32][40][48][56][64][72][80][88][96][104][112][120][128][136][144][152][160][168][176][184][192][200][208][216][224][232][240][248][256]
> Preprocessing graphical objects...
> Interpreting
> music... 
> /usr/local/lilypond/usr/share/lilypond/current/scm/lily-library.scm:210:5:
> In procedure ly:book-process in expression (process-procedure book
> paper ...):
> /usr/local/lilypond/usr/share/lilypond/current/scm/lily-library.scm:210:5:
> Wrong type (expecting exact integer): -1.0
> ===============================================
>
> I don't get this error with any of the other scores I have built with
> 2.15.14, and this score built without error on 2.14 and hasn't been
> modified since except by running convert-ly against it.
>
> I copied the score across to a Windows machine with 2.14.2 installed,
> changed the \version statement back to 2.14.2, and it built without
> any error. The machine with 2.15.14 installed is running Ubuntu amd64.

There are no guarantees that working code relying on undefined behavior
will continue to work in later Lilypond versions.  And even defined
behavior may change.

Try boiling down your source file to a level where it still triggers the
error but is small enough to post here.

Unfortunately, the error message is really bad for pinpointing the
problem.  It may be the case that code that is responsible for creating
good error messages is currently broken: in that case it would be doubly
helpful if you managed to create a minimal example exhibiting the
problem.  Even if the actual problem might be with the Lilypond
document, being able to improve the error reporting would be good.

-- 
David Kastrup




reply via email to

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