Found the issue.

Something, somewhere messed up the Ghostscript permissions.

I ran:

sudo chown -R `whoami` /usr/local/share/doc/ghostscript
brew link --overwrite ghostscript

Which fixed the issue on the following invocation of lilypond.

Thanks for the —verbose hint!


-- 
Josh Armenta

"If I cannot fly, let me sing." - Stephen Sondheim

> On Jun 16, 2023, at 10:42, Jean Abou Samra <[email protected]> wrote:
> 
> Le vendredi 16 juin 2023 à 10:35 -0700, Joshua Armenta a écrit :
>> After upgrading from 2.20 to 2.24 to get graphical notation, any score I try 
>> to run in Lilypond has this error:
>> 
>> warning: `(gs -q -dNODISPLAY -dNOSAFER -dNOPAUSE -dBATCH 
>> -dAutoRotatePages=/None -dPrinted=false 
>> /var/folders/by/s5_hp0hn4kggn166ykcm1h080000gn/T//lilypond-tmp-9941977)' 
>> failed (256)
>> 
>> /usr/local/Cellar/lilypond/2.24.1/share/lilypond/2.24.1/ly/init.ly:65:2: 
>> error: Guile signaled an error for the expression beginning here
>> #
>>  (let ((book-handler (if (defined? 'default-toplevel-book-handler)
>> Throw to key `ly-file-failed' with args `()'.
>> 
>> Even trying to run a minimal example like a C Major scale on a single staff 
>> fails with the same error.
>> 
>> Is there anything I can do to get this fixed?
>> 
>> This is on MacOS Catalina with Lilypond installed via Homebrew.
> 
> 
> Could you run LilyPond with --verbose and send the full log output?
> 
> If you are using Frescobaldi, you can do that by choosing "LilyPond > Engrave 
> (custom)..." and adding "--verbose" (with the two dashes) in the additional 
> command line options.
> 

Reply via email to