lilypond-user
[Top][All Lists]
Advanced

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

Re: Wrong Type Argument 2.0


From: Joe Neeman
Subject: Re: Wrong Type Argument 2.0
Date: Fri, 16 Feb 2007 10:33:52 +0000

On 2/10/07, Will Oram <address@hidden> wrote:
This started out a few days ago in lilypond-user, where I sent it not
knowing if a bug was causing it or not. More tests indicate it
probably is.

---

Two-pass vertical spacing seems to be crashing with sufficiently
large scores AND forcing line breaks. For example, the output below
is pass one of the two-pass vertical spacing process. Note that if I
just run it without the first pass in lilypond there are no crashes.

Thanks, I'll look into this. Note, though, that the latest development versions will stretch the systems without needing a second pass. Two-pass spacing will therefore be phased out at some point in the future.

spamguy$ /Users/spamguy/LilyPond.app/Contents/Resources/bin/./
lilypond -dbackend=null -d dump-tweaks x.ly

[lots of interpreting, petty warnings, etc; nothing unusual]

MIDI output to `x.midi'...
warning: MIDI channel wrapped around
warning: remapping modulo 16
warning: MIDI channel wrapped around
warning: remapping modulo 16
warning: MIDI channel wrapped around
warning: remapping modulo 16
warning: MIDI channel wrapped around
warning: remapping modulo 16
warning: MIDI channel wrapped around
warning: remapping modulo 16
warning: MIDI channel wrapped around
warning: remapping modulo 16
warning: MIDI channel wrapped around
warning: remapping modulo 16
warning: Can't fit systems on page -- ignoring between-system-padding
warning: Can't fit systems on page -- ignoring between-system-padding
/Users/spamguy/LilyPond.app/Contents/Resources/bin/../share/lilypond/
current/scm/layout-page-dump.scm:123:36: In procedure - in _expression_
(- space-left stretch):
/Users/spamguy/LilyPond.app/Contents/Resources/bin/../share/lilypond/
current/scm/layout-page-dump.scm:123:36: Wrong type argument in
position 1: #f

The code below is enough  to do it. It's not meant to run straight
from the e-mail, as there are too many instruments to include.
However, I've trimmed it down to the minimum # of instruments needed
and removed any excess content. That is, take out \spacing and it
works. Take out the two-pass process and it works (duh).

spacing =  {
        s1*3    \break
        s1*3    \break
        s1*3    \break
        s1*4    \break
        s1*3    \break
        s1*4    \break
        s1*3    \break
        s1*3    \break
        s1*3    \break
        s1*4    \break
        s1*5    \break
}


\score {
<<
                \new Staff <<
                        \scoreTweak "xyz"
                        \spacing
                        \partcombine
                                \relative a'' { \mIIIFluteI }
                                \relative f'' { \mIIIFluteII }
                >>

                \new Staff <<
                        \partcombine
                                \relative a'' { \mIIIOboeI }
                                \relative c'' { \mIIIOboeII }
                >>

                \new Staff <<
                        \partcombine
                                \relative f'' { \mIIIClarinetI }
                                \relative a' { \mIIIClarinetII }
                >>

                \new Staff <<
                        \partcombine
                                \relative c' { \mIIIBassoonI }
                                \relative a { \mIIIBassoonII }
                >>
>>

\layout {
        \context { \RemoveEmptyStaffContext }
        \context {
                \Score
                \override InstrumentName #'X-offset = #-9
        }
        #(define tweak-key "xyz")
}
}

I explore the moon
for wild monkeys
but find only squirrels
----------------------------------------------------------
                        _   |  WILL ORAM
ASCII ribbon campaign ( )  |  spamguy (at) foxchange . com
  - against HTML email  X   |  wro1 (at) cwru . edu
              & vCards / \  |
                            |  AIM spamguy21
----------------------------------------------------------
(ABOVE: Magnetic poetry #7)



_______________________________________________
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]