lilypond-user
[Top][All Lists]
Advanced

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

Re: how to get error messages in a separate text file


From: Paul Scott
Subject: Re: how to get error messages in a separate text file
Date: Mon, 02 Jun 2008 00:57:45 -0700
User-agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509)

James E. Bailey wrote:
> Maybe I don't understand what role the 2 has in this. But it really
>  doesn't work for me
2 is stderr.  (0 is stdin, 1 is stdout)
>
> bash-3.2$ lilypond test1.ly 2 > err.txt
There is no space between the "2" and the ">" .
> GNU LilyPond 2.11.47 »test1.ly« wird verarbeitet Analysieren...
> test1.ly:1:4: Fehler: syntax error, unexpected DIGIT {c2 2. d3}
> test1.ly:1:8: Fehler: keine gültige Dauer: 3 {c2 2. d 3}
> test1.ly:1:0: Fehler: Fehler gefunden, musikalischer Ausdruck wird
> ignoriert
>
> {c2 2. d3} test1.ly:0: Warnung: : keine \version-Anweisung
> gefunden,
>
> \version "2.11.47"
>
> für zukünftige Kompatibilität hinzufügen Warnung: Datei »2« kann
> nicht gefunden werden Fehler: gescheiterte Dateien: "2 test1.ly"
>
> Or am I trying to do the wrong sort of thing?
What you were doing was processing two files, one called "test1.ly"
and the other called "2" and then redirecting stdout to the file.

2> (without a space) redirects stderr to a file.

The error above is that you have a 2. duration with no associated pitch.

HTH

Paul






reply via email to

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