bug-lilypond
[Top][All Lists]
Advanced

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

Re: Cryptic error message with tabs


From: Graham Percival
Subject: Re: Cryptic error message with tabs
Date: Sun, 08 Apr 2007 20:28:57 -0700
User-agent: Thunderbird 1.5.0.10 (Macintosh/20070221)

I'm having trouble compiling your example. Could you please create a minimal example? See
http://lilypond.org/web/devel/participating/bugs

for some tips.

Cheers,
- Graham

hernan gonzalez wrote:
Perhaps not really a bug, but an inconvenience anyway:

When the TabStaff finds a note that is out of the range of the
instrument, it dies with an ugly and cryptic "low level" error
message, with no indication about the measure or line where the error
is found (or even what the problem is about).

----------------------------------------------------------------------
\lilypond.exe"  testcase3.ly
GNU LilyPond 2.10.19
Processing `testcase3.ly'
Analizando...
Interpreting music... ERROR: In procedure list-ref:
ERROR: Argument 2 out of range: 6
----------------------------------------------------------------------

This can make fairly difficult for the user to find out what is
happening and where.

I attach a simple testcase below.
Cheers

Hernán J. González
http://hjg.com.ar/ghibli/musica/

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.8.0"
\include "english.ly"
%
% This test case shows the confusing message that appears when an invalid note
% is found by the TabStaff engraver.
%  Tested with lilypond-2.10.19 in WinXP
%
% Hernán González address@hidden
%

\header {  title = "test case - invalid note in tab" }

top =   {
     e4 c4 e,2  | % ok
     e4 c,4 e,2 | % bad: this c note, is out of the range of the guitar
     e4 c4 e,2 | % ok
}

thescore =  \score {    <<
             \context StaffGroup <<
             \context Staff <<
                     \time 4/4
                     \key g \major
                     \set Staff.midiInstrument = "acoustic guitar (nylon)"
                     \clef "G_8"
                     \context Voice { \top }
             >>
             \context TabStaff <<
                     \context TabVoice {     \top }
             >>      >>      >>
     \layout {}
}

\book {  \paper  {} \score  {  \thescore } }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


_______________________________________________
bug-lilypond mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-lilypond






reply via email to

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