[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wrong Type Argument 2.0
From: |
Will Oram |
Subject: |
Wrong Type Argument 2.0 |
Date: |
Sat, 10 Feb 2007 13:02:41 -0500 |
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.
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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Wrong Type Argument 2.0,
Will Oram <=