Re: Programming error - cross fingers

2016-06-16 Thread David Wright
On Thu 16 Jun 2016 at 04:04:04 (-0400), Andrew Bernard wrote:

[...]
> programming error: Grob direction requested while calculation in progress.
> continuing, cross fingers
> 
> and the second flageolet does not render.
> 
> While I am sure this is informative to some, since there is no position or
> context indicated, I am at a loss to know how to debug my score.
[...]
> Dare I suggest timidly that a line number or rough location or _something_
> would be helpful with this error? As with similar errors before, crossing
> one’s fingers achieves nothing - and may better be omitted from such
> messages, or perhaps rephrased to something less witty (?) such as ‘making
> best effort to continue’ or similar.

While in no way disagreeing that perhaps there might be a way of
soliciting more information to be forthcoming, I would ask you to be
careful with what you wish for. "continuing, cross fingers" is a
valuable tool for restricting search results to LilyPond errors.
Besides, what have you got against wit? It's part of a venerable
tradition in computing, particularly the free side.
http://www.catb.org/jargon/html/anthropomorphization.html

Daring to tackle your timid suggestion from a position of ignorance
(about LP, that is, not ignorance of writing software), I assume
you're talking about a line number or position in your .ly source
where the error occurs. It seems likely to me that the programming
error originates from the competing interests of a larger section of
your source than a specific line. In other words, LP is trying to
juggle too many balls; no one ball is specifically to blame.

If you mean a line number or position in the program where the error
originates, well it's possible that "programming error" means that
an assertion failed for some reason and the underlying cause might not
be easy to track down. That's why programmers include assertions: so
that they get told there's a problem rather than just ending up with
a rendering that just looks wrong for no apparent reason. They then
try to debug the program.

So sorry not to be able to help with your flageolets, but please leave
the error's means of expression alone.

Cheers,
David.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Programming error - cross fingers

2016-06-16 Thread Andrew Bernard
I am trying to write a crotchet chord with two notes each with a \flageolet
on them (as per a recent thread).

In my score of a very densely packed 25 pages so far when doing this I get
the following error, multiple times

programming error: Grob direction requested while calculation in progress.
continuing, cross fingers

and the second flageolet does not render.

While I am sure this is informative to some, since there is no position or
context indicated, I am at a loss to know how to debug my score.

Using version 2.19.43.

I apologise if this question appears hopelessly vague. I am utterly unable
to reproduce this behaviour in a standalone MWE.

The gist of this email is that I would appreciate it if anybody could tell
me the sort of issues that this error is trying to alert one to.

Dare I suggest timidly that a line number or rough location or _something_
would be helpful with this error? As with similar errors before, crossing
one’s fingers achieves nothing - and may better be omitted from such
messages, or perhaps rephrased to something less witty (?) such as ‘making
best effort to continue’ or similar.


Andrew
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: programming error: cross fingers

2006-01-23 Thread Fairchild
Seems OK with version 2.4.6.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
ÁdámJános Reviczky
Sent: Friday, January 20, 2006 10:12 AM
To: lilypond-user@gnu.org
Subject: programming error: cross fingers


Hi!

I've made a short lilypond file. If i compile it with lilypond, than i get 2
(error?) messages, but lilypond did make the pdf. The pdf file looks good,
but i can't figure it out, what this messages mean. Can anyone tell me, what
did i wrong with my ly-file or what's the exact problem here?

Thanx:
Ádám János Reviczky

---
The error message is (twice):
programming error: adding reverse spring, setting to unit continuing, cross
fingers

Here is my short minimal.ly:
\version 2.6.0
\include english.ly
global = {
\key bf \major
\time 4/4
}
tenMusic = \relative {
\global
r8\mf bf'8 bf8 bf8 bf4 bf4
r8 bf8 bf8 bf8 bf8 bf8 g4
\time 5/4
r8 a8 a8 a8 bf4 a4 f8 f8
\time 4/4
bf8 bf8 bf8 bf8 a8 f4.
}
pianoright = \relative {
\global
r8 d f g bf8 d f g bf8 d f g bf8 d f g bf4 d f g bf4 r8 c e g
bf8 c e g bf8 d f g bf8 c e g bf8 c e g bf8 bf e g bf4 r8 c ef f
a8 c ef f a8 c ef f a8 c ef g bf4 c ef f a4 f, f'8 f' f,8 bf,
d f bf8 bf d f bf8 c ef g bf8 bf d f bf8 a d f a8 f bf d f4. }
pianoleft = \relative { \global \clef bass R1*2 r1 r4 R1 } Text = \lyricmode
{ Is this the real life? Is this just fan -- ta -- sy? Caught in a land --
slide, No es -- cape from re -- al -- i -- ty. } \score { \context Voice =
melodie  \global \tenMusic  \lyricsto melodie \new Lyrics \Text \context
PianoStaff  \context Staff = up { \pianoright } \context Staff = down {
\pianoleft }   }

My PC:
Debian Etch (x386)
LilyPond 2.6.3-9




___
lilypond-user mailing list
lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user





___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


programming error: cross fingers

2006-01-20 Thread ÁdámJános Reviczky
Hi!

I've made a short lilypond file. If i compile it with lilypond, than i get 2
(error?) messages, but lilypond did make the pdf. The pdf file looks good, but i
can't figure it out, what this messages mean.
Can anyone tell me, what did i wrong with my ly-file or what's the exact problem
here?

Thanx:
Ádám János Reviczky

---
The error message is (twice):
programming error: adding reverse spring, setting to unit
continuing, cross fingers

Here is my short minimal.ly:
\version 2.6.0
\include english.ly
global = {
\key bf \major
\time 4/4
}
tenMusic = \relative {
\global
r8\mf bf'8 bf8 bf8 bf4 bf4
r8 bf8 bf8 bf8 bf8 bf8 g4
\time 5/4
r8 a8 a8 a8 bf4 a4 f8 f8
\time 4/4
bf8 bf8 bf8 bf8 a8 f4.
}
pianoright = \relative {
\global
r8 d f g bf8 d f g bf8 d f g bf8 d f g bf4 d f g bf4
r8 c e g bf8 c e g bf8 d f g bf8 c e g bf8 c e g bf8 bf e g bf4
r8 c ef f a8 c ef f a8 c ef f a8 c ef g bf4 c ef f a4 f, f'8 f' 
f,8
bf, d f bf8 bf d f bf8 c ef g bf8 bf d f bf8 a d f a8 f bf d f4.
}
pianoleft = \relative {
\global
\clef bass
R1*2
r1 r4
R1
}
Text = \lyricmode {
Is this the real life? Is this just fan -- ta -- sy? Caught in a land -- slide,
No es -- cape from re -- al -- i -- ty.
}
\score {
\context Voice = melodie  \global \tenMusic 
\lyricsto melodie \new Lyrics \Text
\context PianoStaff  \context Staff = up { \pianoright } \context Staff = down
{ \pianoleft }  
}

My PC:
Debian Etch (x386)
LilyPond 2.6.3-9




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user