Hi Kieren,

As you may know, properties that formerly accepted moments have been
changed to accept numbers instead. Convert-ly handles this, but it looks
like you have some Scheme code that manipulates at least one such property,
and it is hitting an error when it tries to compare a simple number using
ly:moment<?. Most likely all you need to do is update your Scheme code to
use ordinary arithmetic instead of moment arithmetic. Hope that helps.

Saul

On Wed, Feb 12, 2025 at 5:19 PM Kieren MacMillan <
[email protected]> wrote:

> Hi all,
>
> Got a new M1 (Apple Silicon) Mac Mini. Downloaded 2.25.24 and most things
> seem to be going well.
>
> Ran convert-ly on a little set of files and tried to compile, resulting in
> this [with --verbose on]:
>
> /Applications/lilypond-2.25.24/share/lilypond/2.25.24/ly/init.ly:66:2:
> error: Guile signaled an error for the expression beginning here
> #
> (let ((book-handler (if (defined? 'default-toplevel-book-handler)
> /Applications/lilypond-2.25.24/share/lilypond/2.25.24/scm/lily/lily.scm
> In ice-9/boot-9.scm:
> 1755:12 18 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
> In unknown file:
> 17 (apply-smob/0 #<thunk 10533f2e0>)
> In
> /Users/hahnjo/lilypond-2.25.24/release/binaries/lilypond/build/out/share/lilypond/current/scm/lily/lily.scm:
> 1140:16 16 (lilypond-main _)
> 1169:4 15 (lilypond-all
> ("/Users/kieren/Documents/1_music/scores/active/FTE/FTE_scores/FTE_pianoconductor_
> letter.ly"))
> In srfi/srfi-1.scm:
> 634:9 14 (for-each #<procedure 10595b600 at
> /Users/hahnjo/lilypond-2.25.24/release/binaries/lilypond/build/out/share/lilypond/current/scm/lily/lily.scm:1170:5
> (x)>
> ("/Users/kieren/Documents/1_music/scores/active/FTE/FTE_scores/FTE_pianoconductor_
> letter.ly"))
> In
> /Users/hahnjo/lilypond-2.25.24/release/binaries/lilypond/build/out/share/lilypond/current/scm/lily/lily.scm:
> 1181:9 13 (_
> "/Users/kieren/Documents/1_music/scores/active/FTE/FTE_scores/FTE_pianoconductor_
> letter.ly")
> In ice-9/boot-9.scm:
> 1749:15 12 (with-exception-handler #<procedure 10595b5d0 at
> ice-9/boot-9.scm:1853:7 (exn)> _ #:unwind? _ #:unwind-for-type _)
> In unknown file:
> 11 (ly:parse-file
> "/Users/kieren/Documents/1_music/scores/active/FTE/FTE_scores/FTE_pianoconductor_
> letter.ly")
> In ice-9/boot-9.scm:
> 1755:12 10 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
> In unknown file:
> 9 (apply-smob/0 #<thunk 106f8de00>)
> 8 (ly:book-process #<Book> #< Output_def> #< Output_def>
> "FTE_pianoconductor")
> 7 Exception thrown while printing backtrace:
> precondition failed
> In procedure ly:moment<?: Wrong type argument in position 1 (expecting
> Moment): 1
>
> Without sending more details, can anyone diagnose the problem and suggest
> a fix?
>
> Thanks,
> Kieren.
>
> __________________________________________________
>
> My work day may look different than your work day. Please do not feel
> obligated to read or respond to this email outside of your normal working
> hours.
>
>
>

Reply via email to