bug-lilypond
[Top][All Lists]
Advanced

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

Re: error in init.ly? (lilypond 2.11.12)


From: Mats Bengtsson
Subject: Re: error in init.ly? (lilypond 2.11.12)
Date: Thu, 18 Jan 2007 21:13:57 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20061113 Debian/1.7.8-1sarge8

The file compiles fine with version 2.11.10 so there's
something strange going on here.
Normally, these kind of error messages indicate that
you have a syntax error in your file, but since it works
with 2.11.10, that seems unlikely.
By commenting out sections of your file, I could narrow
the problem down to be somewhere in your definition
\rightHand, but I haven't managed to get further.

  /Mats

Steve D wrote:

Hello all--

I just downloaded LilyPond 2.11.12 GUB for Linux, convert-ly'ed one of
my recent projects and ran LilyPond on the .ly file, and received this
mysterious-looking (to me) error message--

--- begin quote of error message ---

GNU LilyPond 2.11.12
Processing `blues-in-c-1.ly'
Parsing...
Interpreting music... [8][11]
Preprocessing graphical objects...
/home/xscd/lilypond/usr/bin/../share/lilypond/current/ly/init.ly:37:1:
error: GUILE signaled an error for the expression beginning here
#
(if (or (pair? toplevel-scores) output-empty-score-list)
Wrong type argument in position 1: ()
/home/xscd/lilypond/usr/bin/../share/lilypond/current/ly/init.ly:37:5:
error: syntax error, unexpected '(', expecting '='
#(if (or (pair? toplevel-scores) output-empty-score-list)
programming error: Parsed object should be dead: static
scm_unused_struct* Prob::mark_smob(scm_unused_struct*)
continuing, cross fingers
programming error: Parsed object should be dead: static
scm_unused_struct* Context_def::mark_smob(scm_unused_struct*)
continuing, cross fingers
error: failed files: "blues-in-c-1.ly"

--- end quote of error message ---

I have attached the blues-in-c-1.ly file, in case it may be relevant.

-Steve D

------------------------------------------------------------------------


% Blues in C 1, work for piano by Stephen C. Doonan, address@hidden

\version "2.11.11"

% \paper { }

\header {
   title = "Blues in C 1"
   composer = \markup \center-align { "Stephen C. Doonan" \small "(1952- )" }
   piece = \markup { \bold "Andantino (" \tiny \note #"4" #0.75 \normalsize " = 85-115" 
\bold ")" }

% Mutopiaproject.org headers

   mutopiatitle = "Blues in C 1"
   mutopiacomposer = "DoonanSC"
   mutopiainstrument = "Piano"
   date = "2006/Sep"
   source = "Composer"
   style = "Jazz"
   copyright = "Creative Commons Attribution-ShareAlike 2.5"
   maintainer = "Stephen C. Doonan"
   maintainerEmail = "address@hidden"
   maintainerWeb = "http://www.xscd.com/pub/music/";
   lastupdated = "2006/September/25"
}


rightHand = \relative c'' {
% 1
   \key c \major \time 4/4 \clef treble <e, g c>2.. <ees g c>8~ |
   <ees g c>~ <ees aes c>4 <ees aes c>4 <f bes d>8~ <f bes d>4 |
   <g e'>4 <e c'>  << \new Voice { \voiceOne c'4. r8 } { \voiceTwo e,8 f g \oneVoice 
<ees g bes>8~ } >> |
   <ees g bes>4. <f a>8~ \afterGrace <f a>2 {bes16[ a]} |
   <e g>2.. << \new Voice { \voiceTwo ees8~ |
       ees2 aes | }
       { \voiceOne <g c>8~ |
       <g c>8 aes bes c c d ees f \oneVoice | }
   >>
% 7
   <c g'>4  <g e'> << \new Voice { \voiceOne c4. r8 } { \voiceTwo e,8 f g \oneVoice <ees 
g bes>8~ } >> |
   <ees g bes>4. <f a>8~ \afterGrace <f a>2 {bes16[ a]} |
   <e g>2 << \new Voice { \voiceOne c'4. r8 } { \voiceTwo e, f g \oneVoice <ees g 
c>8~ } >> |
   <ees g c>~ <ees aes c>4 <f a d>4~ <f bes d>4 <g bes ees>8~ |
   <g bes ees>8~ <g c ees>4 <aes c f>4~ <aes d f>4. |
}

leftHand = \relative c, {
% 1
   \time 4/4 \key c \major \clef bass c8 g' d' e <c g'> d e <f c'>~ |
   <f c'> ees d c bes aes g f |
   c g' d' e <c g'> d e <f c'>~ |
   <f c'> ees f <g d'>~ <g d'>2 |
}

\score {
   \new PianoStaff <<
       #(set-accidental-style 'piano-cautionary)
       \set PianoStaff.printPartCombineTexts = ##f
       \new Staff = "up" \new Voice = "rh" \rightHand
       \new Staff = "down" \new Voice = "lh" \leftHand
>> % \midi {
%        \context {
%        \Score
%        tempoWholesPerMinute = #(ly:make-moment 100 4)
%        }
%    }
}

------------------------------------------------------------------------

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


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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