init.ly book-handler error

Kieren MacMillan <[email protected]> Mon, 13 Jul 2026 12:13:13 -0400
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <[email protected]>
Hi all,

Getting an error which is related to one I struggled with in 2022 (https://lists.gnu.org/archive/html/lilypond-user/2022-10/msg00079.html) and it seems to be back:

/Users/kieren/Library/Application Support/frescobaldi/frescobaldi/lilypond-binaries/lilypond-2.27.1/share/lilypond/2.27.1/ly/init.ly:66:2: error: Guile signaled an error for the expression beginning here
#
 (let ((book-handler (if (defined? 'default-toplevel-book-handler)
In procedure car: Wrong type (expecting pair): ()

I believe I’ve updated my dynamics-on-the-fly code, and I’m running on macOS Sequoia, so it’s pretty new. This piece also uses David N’s frame engraver and the edition-engraver, so those are other possible sources of issues.

Any thoughts/advice before I split the code line-by-line, manually, to try to find the culprit?

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.