[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: build problems (CVS)
From: |
Michael Welsh Duggan |
Subject: |
Re: build problems (CVS) |
Date: |
Sun, 30 Jan 2005 16:24:25 -0500 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
More on this: I have tracked it down to an empty glyph. When
processing the following markup:
(#<procedure bracketed-y-column-markup (layout props indices args)> (1 1)
((#<procedure line-markup (layout props args)> ((#<procedure number-markup
(layout props arg)> 6) (#<procedure smaller-markup (layout props arg)>
(#<procedure raise-markup (layout props amount arg)> 0.6 (#<procedure
musicglyph-markup (layout props glyph-name)> accidentals-2))))) (#<procedure
line-markup (layout props args)> ((#<procedure simple-markup (layout props
str)> ) (#<procedure smaller-markup (layout props arg)> (#<procedure
raise-markup (layout props amount arg)> 0.6 (#<procedure musicglyph-markup
(layout props glyph-name)> accidentals-0)))))))
The second argument is a line-markup with two arguments. he first is
an empty string, which ends up being an empty stencil. The second is
based on accidentals-0, which creates a non-empty stencil, but with an
empty box. This is due to name_to_index failing for accidentals-0.
Much later, ly:stencil-moved-to-edge fails due to having an arg
"second" which has an empty extent. (Fails in
Stencil::moved_to_edge.)
My guess is that either name_to_index failing on accidentals-0 is
incorrect, or using accidentals-0 in the first place is incorrect.
Michael Welsh Duggan <address@hidden> writes:
> The second is where lilypond fails building the documentation. The
> fragment if failed on is the following from the "Figured bass" node:
>
>
>
> I'm attempting to trace this down, but I'd rather have the bug on
> report first. The backtrace is:
>
> Processing `lily-645583943.ly'
> Parsing...
> Interpreting music... [2]
> Preprocessing graphical objects...
> Calculating line breaks... programming error: Stencil::moved_to_edge: adding
> empty stencil.
> Continuing; crossing fingers
> Backtrace:
> In /usr/share/guile/1.6/srfi/srfi-1.scm:
> ...
> 667: 4 (begin (f (car l)) (lp (cdr l)))
> 668: 5* [#<procedure #f (f)> "lily-645583943"]
> In /usr/local/src/lilypond/share/lilypond/scm/lily.scm:
> 361: 6* [catch ly-file-failed #<procedure #f ()> #<procedure #f (key arg)>]
> In unknown file:
> ?: 7* [#<procedure #f ()>]
> In /usr/local/src/lilypond/share/lilypond/scm/lily.scm:
> 361: 8* [ly:parse-file "lily-645583943"]
> In unknown file:
> ?: 9* [#<procedure #f (p m)> #<my_lily_parser > #<Music SequentialMusic>]
> In lily-645583943.ly:
> 2: 10* [ly:parser-print-score #<my_lily_parser > #<Score>]
> In unknown file:
> ?: 11* [Separating_group_spanner::set_spacing_rods #]
> ?: 12* [Grob::stencil_extent #<Grob BassFigure > 0]
> ?: 13* [Text_interface::print #<Grob BassFigure >]
> ?: 14* [bracketed-y-column-markup #< Output_def> (# # #) (1 1) ...]
> ?: 15* (letrec (# # # #) (let* # #))
> In /usr/local/src/lilypond/share/lilypond/scm/define-markup-commands.scm:
> 725: 16 (let* (# # # #) (apply ly:stencil-add #))
> 733: 17* [stack-stencils (#<Stencil > #<Stencil >) 1.25 #f]
> 686: 18 (cond ((null? stencils) (quote ())) ((not last-stencil) (cons # #))
> ...)
> 689: 19 [cons #<Stencil > ...
> 690: 20* [stack-stencils (#<Stencil >) 1.25 #<Stencil >]
> 686: 21 (cond ((null? stencils) (quote ())) ((not last-stencil) (cons # #))
> ...)
> 692: 22 (let* ((orig #) (dir #) (new #)) (cons new (stack-stencils # bskip
> new)))
> 694: 23* [ly:stencil-moved-to-edge #<Stencil > 1 1 #<Stencil > 0.1 1.25]
>
> /usr/local/src/lilypond/share/lilypond/scm/define-markup-commands.scm:694:19:
> In procedure moved_to_edge in expression (ly:stencil-moved-to-edge
> last-stencil Y ...):
> /usr/local/src/lilypond/share/lilypond/scm/define-markup-commands.scm:694:19:
> Wrong type argument in position 1 (expecting ): ()
--
Michael Welsh Duggan
(address@hidden)
- build problems (CVS), Michael Welsh Duggan, 2005/01/30
- Re: build problems (CVS),
Michael Welsh Duggan <=