lilypond-user
[Top][All Lists]
Advanced

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

Re: How to read a error message?


From: David Kastrup
Subject: Re: How to read a error message?
Date: Tue, 14 Mar 2017 10:43:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Urs Liska <address@hidden> writes:

> Am 14.03.2017 um 09:00 schrieb David Kastrup:
>> and then the offending line, split into two just at the offending
>> location.  In your case, the first occurences of h are flagged since h
>> is not part of the default note language.
>
> To add something more general to that: The "error: unrecognized string"
> indicates that LilyPond is given something to parse (here: "h") which it
> doesn't understand ("recognize") at this place. It can be a note name in
> the wrong language but it could also be a misspelled command (e.g.
> \brake instead of \break) or a variable you have declared in another
> file which you forgot to include.
>
> So essentially this error tells you "There is *something* wrong with
> your input but I can't tell you what exactly". And LilyPond can't tell
> you "this is not a note name" here because there are plenty of other
> valid things that could go there, articulations, dynamics, ties,
> arbitrary commands or Scheme expressions ...

None of which have the form of a string.  I do think that the error
message is too circumlocutory.

-- 
David Kastrup



reply via email to

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