bug-lilypond
[Top][All Lists]
Advanced

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

Re: programming errors: "Object is not a markup." and "I am not spanned!


From: Dmytro O. Redchuk
Subject: Re: programming errors: "Object is not a markup." and "I am not spanned!"
Date: Mon, 4 Oct 2010 11:25:15 +0300
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon 04 Oct 2010, 09:59 David Kastrup wrote:
> We currently get
> /tmp/junk2.ly:1:2: warning: barcheck failed at: 1/2
> { 
>   R2 }
> Preprocessing graphical objects...
> programming error: Multi_measure_rest::get_rods (): I am not spanned!
> continuing, cross fingers
> programming error: Object is not a markup. 
> continuing, cross fingers
> This object should be a markup: ()
> programming error: Multi_measure_rest::get_rods (): I am not spanned!
> continuing, cross fingers
> 
> 
> Instead, the message better be either
> Warning: multimeasure rest fails bar check
> (in case that its length _is_ a full bar multiple)
> or
> Error: multimeasure rest size not a multiple of bar size
> (in case that it could not work out anyway).
> 
> In case of a warning, error recovery needs to result in something
> reasonably sensible.  If that is not feasible, one needs to create an
> error instead.
> 
> A warning implies that Lilypond is going to do continue with reasonable
> results.
Thank you David and Marnix; added this as 1291:
http://code.google.com/p/lilypond/issues/detail?id=1291

-- 
  Dmytro O. Redchuk
  Bug Squad



reply via email to

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