lilypond-user
[Top][All Lists]
Advanced

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

Re: Exited with return code 1. - Guile signal error & cannot find contex


From: Malte Meyn
Subject: Re: Exited with return code 1. - Guile signal error & cannot find context to switch to
Date: Fri, 29 Sep 2017 08:33:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

This code has two errors:

1. You didn’t name the staves "left" and "right" in the definition of rehearsalMidi.
2. ly:make-moment doesn’t take durations but numbers. So it has to be
        \set Score.tempoWholesPerMinute = #(ly:make-moment 228 8)
or
        \tempo 4. = 76
instead of
        \set Score.tempoWholesPerMinute = #(ly:make-moment 76 4.)
This leads to the Guile error because it happens within the definition of rehearsalMidi which is written in Scheme.

Am 29.09.2017 um 04:56 schrieb MING TSANG:
Sorry for the missing attachment .ly file.  Here it is.


------------------------------------------------------------------------
*From:* MING TSANG <address@hidden>
*To:* Lilypond-usermailinglist <address@hidden>
*Sent:* Thursday, September 28, 2017 8:43 PM
*Subject:* Exited with return code 1. - Guile signal error & cannot find context to switch to

Dear lilyponders,
I run (compile) the attached test-tempo.ly and receive the following error (Exited with return code 1.)
However, the pdf output seems OK.
Ming


Starting lilypond-windows.exe 2.19.65 [test-tempo.ly]...
Processing `C:/Users/user/AppData/Local/Temp/frescobaldi-t7bi8umh/tmp4uf0oy18/test-tempo.ly'
Parsing...
programming error: Unknown type predicate
continuing, cross fingers
C:/Users/user/AppData/Local/Temp/frescobaldi-t7bi8umh/tmp4uf0oy18/test-tempo.ly:152:43 <https://mg.mail.yahoo.com/0>: *error: GUILE signaled an error for the expression beginning here*
\set Score.tempoWholesPerMinute = #
(ly:make-moment 76 4.)

C:/Users/user/AppData/Local/Temp/frescobaldi-t7bi8umh/tmp4uf0oy18/test-tempo.ly:166:5 <https://mg.mail.yahoo.com/1>:*error: error in #{ ... #}*
**
*\rehearsalMidi "soprano" "soprano sax" \verseSopranoVoice*

*Interpreting music...*
*warning: type check for `tempoWholesPerMinute' failed; value `#<unspecified>' must be of type `moment'* C:/Users/user/AppData/Local/Temp/frescobaldi-t7bi8umh/tmp4uf0oy18/test-tempo.ly:85:12 <https://mg.mail.yahoo.com/2>: *warning: cannot find context to switch to*
**
*\change Staff = "right" bf8 df' gf' bf'4 g'8) |}*

C:/Users/user/AppData/Local/Temp/frescobaldi-t7bi8umh/tmp4uf0oy18/test-tempo.ly:86:12 <https://mg.mail.yahoo.com/3>: warning: cannot find context to switch to
lft.44 = {
\change Staff = "left" ef,8( bf, ef

C:/Users/user/AppData/Local/Temp/frescobaldi-t7bi8umh/tmp4uf0oy18/test-tempo.ly:87:12 <https://mg.mail.yahoo.com/4>: warning: cannot find context to switch to
\change Staff = right gf8 bf df' <gf'ef''>4.) |}

C:/Users/user/AppData/Local/Temp/frescobaldi-t7bi8umh/tmp4uf0oy18/test-tempo.ly:88:12 <https://mg.mail.yahoo.com/5>: warning: cannot find context to switch to
lft.45 = {
\change Staff = left df,8( af, df

C:/Users/user/AppData/Local/Temp/frescobaldi-t7bi8umh/tmp4uf0oy18/test-tempo.ly:89:12 <https://mg.mail.yahoo.com/6>: warning: cannot find context to switch to
\change Staff = right f8 af df' <f'bf'>4.) |}

C:/Users/user/AppData/Local/Temp/frescobaldi-t7bi8umh/tmp4uf0oy18/test-tempo.ly:90:12 <https://mg.mail.yahoo.com/7>: warning: cannot find context to switch to
lft.46 = {
\change Staff = left <<{r4. bf, af,}\\{bf,,2. r4.}>> |}

MIDI output to `test-tempo-sop.mid'...
programming error: Unknown type predicate
continuing, cross fingers
C:/Users/user/AppData/Local/Temp/frescobaldi-t7bi8umh/tmp4uf0oy18/test-tempo.ly:152:43 <https://mg.mail.yahoo.com/8>: error: GUILE signaled an error for the expression beginning here
\set Score.tempoWholesPerMinute = #
(ly:make-moment 76 4.)

C:/Users/user/AppData/Local/Temp/frescobaldi-t7bi8umh/tmp4uf0oy18/test-tempo.ly:176:5 <https://mg.mail.yahoo.com/9>: error: error in #{ ... #}
\rehearsalMidi "tenor" "tenor sax" \verseTenorVoice

Interpreting music...
warning: type check for `tempoWholesPerMinute' failed; value `#<unspecified>' must be of type `moment' C:/Users/user/AppData/Local/Temp/frescobaldi-t7bi8umh/tmp4uf0oy18/test-tempo.ly:85:12 <https://mg.mail.yahoo.com/10>: warning: cannot find context to switch to
\change Staff = "right" bf8 df' gf' bf'4 g'8) |}

C:/Users/user/AppData/Local/Temp/frescobaldi-t7bi8umh/tmp4uf0oy18/test-tempo.ly:86:12 <https://mg.mail.yahoo.com/11>: warning: cannot find context to switch to
lft.44 = {
\change Staff = "left" ef,8( bf, ef

C:/Users/user/AppData/Local/Temp/frescobaldi-t7bi8umh/tmp4uf0oy18/test-tempo.ly:87:12 <https://mg.mail.yahoo.com/12>: warning: cannot find context to switch to
\change Staff = right gf8 bf df' <gf'ef''>4.) |}

C:/Users/user/AppData/Local/Temp/frescobaldi-t7bi8umh/tmp4uf0oy18/test-tempo.ly:88:12 <https://mg.mail.yahoo.com/13>: warning: cannot find context to switch to
lft.45 = {
\change Staff = left df,8( af, df

C:/Users/user/AppData/Local/Temp/frescobaldi-t7bi8umh/tmp4uf0oy18/test-tempo.ly:89:12 <https://mg.mail.yahoo.com/14>: warning: cannot find context to switch to
\change Staff = right f8 af df' <f'bf'>4.) |}

C:/Users/user/AppData/Local/Temp/frescobaldi-t7bi8umh/tmp4uf0oy18/test-tempo.ly:90:12 <https://mg.mail.yahoo.com/15>: warning: cannot find context to switch to
lft.46 = {
\change Staff = left <<{r4. bf, af,}\\{bf,,2. r4.}>> |}

MIDI output to `test-tempo-ten.mid'...
Interpreting music...
Preprocessing graphical objects...
Interpreting music...
MIDI output to `test-tempo.mid'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `./tmp-lilypond-pTm2Ng'...
Converting to `test-tempo.pdf'...
Deleting `./tmp-lilypond-pTm2Ng'...
Wrong type argument in position 2 (expecting unknown type): 4.0
Wrong type argument in position 2 (expecting unknown type): 4.0
fatal error: failed files: "C:\\Users\\user\\AppData\\Local\\Temp\\frescobaldi-t7bi8umh\\tmp4uf0oy18\\test-tempo.ly"
Exited with return code 1.




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




reply via email to

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