lilypond does not generate pdf - new install on mac os sonoma

2023-11-11 Thread Abe Raher
hey folks – with my newly installed lilypond on mac os sonoma, lilypond
generates midi but no pdfs

i've tested a number of .ly files that successfully generated scores
previously – none generate pdfs now

and i just tested the simplest template in lilypond's docs ... please have
a look at the log output and give me a clue!

thanks very much

***

what i've got:

Mac OS: 14.1.1 (23B81)

% lilypond --version

GNU LilyPond 2.24.2 (running Guile 3.0)



test file:



melody = \relative c' {
  \clef treble
  \key c \major
  \time 4/4

  a4 b c d
}

\score {
  \new Staff \melody
  \layout { }
  \midi { }
}



test command:

 % lilypond --loglevel=debug template-notes-only.ly


***


command output:


Log level set to 287
GNU LilyPond 2.24.2 (running Guile 3.0)

Relocation
  Absolute file name of LilyPond binary computed from PATH:

PATH=/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin
argv0=lilypond
  Setting INSTALLER_PREFIX to '/usr/local/Cellar/lilypond/2.24.2'
  Using run-time value for datadir,
setting it to '/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2'
  Using run-time value for libdir,
setting it to '/usr/local/Cellar/lilypond/2.24.2/lib/lilypond/2.24.2'
  Using run-time value for localedir,
setting it to '/usr/local/Cellar/lilypond/2.24.2/share/locale'
  Using compile-time value for relocdir,
setting it to ''
  Prepending '/usr/local/Cellar/lilypond/2.24.2/bin' to PATH
  Setting PATH to
'/usr/local/Cellar/lilypond/2.24.2/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin'
Setting GUILE_AUTO_COMPILE to '0'
Setting GUILE_WARN_DEPRECATED to 'detailed'
Setting XDG_CACHE_HOME to
'/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2'
Setting GC_INITIAL_HEAP_SIZE to '40M'
Setting GC_NPROCS to '1'
Setting GC_FREE_SPACE_DIVISOR to '1'


Effective prefix: '/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2'
PATH="/usr/local/Cellar/lilypond/2.24.2/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin"

[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/lily.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/lily-library.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/output-lib.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/markup-macros.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/parser-ly-from-scheme.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/file-cache.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-event-classes.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-music-callbacks.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-music-types.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-note-names.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/c++.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/chord-entry.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/skyline.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/markup.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-markup-commands.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/stencil.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/modal-transforms.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/chord-ignatzek-names.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/music-functions.scm
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-music-display-methods.scm]
]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/part-combiner.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/autochange.scm]
[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-music-properties.scm]
[/usr/local/Cellar/lilyp

Re: lilypond does not generate pdf - new install on mac os sonoma

2023-11-11 Thread Leonardo van der Laat
I'm having the same problem.
There's already a thread about this:
https://lists.gnu.org/archive/html/lilypond-user/2023-06/msg00135.html
Joshua Armenta posted a solution, something to do with Ghostscript, but I
couldn't make it to work.

On Sat, Nov 11, 2023 at 5:39 PM Abe Raher  wrote:

> hey folks – with my newly installed lilypond on mac os sonoma, lilypond
> generates midi but no pdfs
>
> i've tested a number of .ly files that successfully generated scores
> previously – none generate pdfs now
>
> and i just tested the simplest template in lilypond's docs ... please have
> a look at the log output and give me a clue!
>
> thanks very much
>
> ***
>
> what i've got:
>
> Mac OS: 14.1.1 (23B81)
>
> % lilypond --version
>
> GNU LilyPond 2.24.2 (running Guile 3.0)
>
>
>
> test file:
>
>
>
> melody = \relative c' {
>   \clef treble
>   \key c \major
>   \time 4/4
>
>   a4 b c d
> }
>
> \score {
>   \new Staff \melody
>   \layout { }
>   \midi { }
> }
>
>
>
> test command:
>
>  % lilypond --loglevel=debug template-notes-only.ly
>
>
> ***
>
>
> command output:
>
>
> Log level set to 287
> GNU LilyPond 2.24.2 (running Guile 3.0)
>
> Relocation
>   Absolute file name of LilyPond binary computed from PATH:
>
> PATH=/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin
> argv0=lilypond
>   Setting INSTALLER_PREFIX to '/usr/local/Cellar/lilypond/2.24.2'
>   Using run-time value for datadir,
> setting it to '/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2'
>   Using run-time value for libdir,
> setting it to '/usr/local/Cellar/lilypond/2.24.2/lib/lilypond/2.24.2'
>   Using run-time value for localedir,
> setting it to '/usr/local/Cellar/lilypond/2.24.2/share/locale'
>   Using compile-time value for relocdir,
> setting it to ''
>   Prepending '/usr/local/Cellar/lilypond/2.24.2/bin' to PATH
>   Setting PATH to
> '/usr/local/Cellar/lilypond/2.24.2/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin'
> Setting GUILE_AUTO_COMPILE to '0'
> Setting GUILE_WARN_DEPRECATED to 'detailed'
> Setting XDG_CACHE_HOME to
> '/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2'
> Setting GC_INITIAL_HEAP_SIZE to '40M'
> Setting GC_NPROCS to '1'
> Setting GC_FREE_SPACE_DIVISOR to '1'
>
>
> Effective prefix: '/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2'
>
> PATH="/usr/local/Cellar/lilypond/2.24.2/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin"
>
> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/lily.scm]
>
> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/lily-library.scm]
>
> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/output-lib.scm]
>
> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/markup-macros.scm]
>
> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/parser-ly-from-scheme.scm]
>
> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/file-cache.scm]
>
> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-event-classes.scm]
>
> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-music-callbacks.scm]
>
> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-music-types.scm]
>
> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-note-names.scm]
> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/c++.scm]
>
> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/chord-entry.scm]
>
> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/skyline.scm]
>
> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/markup.scm]
>
> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-markup-commands.scm]
>
> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/stencil.scm]
>
> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/modal-transforms.scm]
>
> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/

Re: lilypond does not generate pdf - new install on mac os sonoma

2023-11-11 Thread Ben Bradshaw
Essentially you need to downgrade ghostscript a version. Although with the
new release announced today I don't know if it will be fixed or not.

On Sat, Nov 11, 2023, 5:22 PM Leonardo van der Laat 
wrote:

> I'm having the same problem.
> There's already a thread about this:
> https://lists.gnu.org/archive/html/lilypond-user/2023-06/msg00135.html
> Joshua Armenta posted a solution, something to do with Ghostscript, but I
> couldn't make it to work.
>
> On Sat, Nov 11, 2023 at 5:39 PM Abe Raher  wrote:
>
>> hey folks – with my newly installed lilypond on mac os sonoma, lilypond
>> generates midi but no pdfs
>>
>> i've tested a number of .ly files that successfully generated scores
>> previously – none generate pdfs now
>>
>> and i just tested the simplest template in lilypond's docs ... please
>> have a look at the log output and give me a clue!
>>
>> thanks very much
>>
>> ***
>>
>> what i've got:
>>
>> Mac OS: 14.1.1 (23B81)
>>
>> % lilypond --version
>>
>> GNU LilyPond 2.24.2 (running Guile 3.0)
>>
>>
>>
>> test file:
>>
>>
>>
>> melody = \relative c' {
>>   \clef treble
>>   \key c \major
>>   \time 4/4
>>
>>   a4 b c d
>> }
>>
>> \score {
>>   \new Staff \melody
>>   \layout { }
>>   \midi { }
>> }
>>
>>
>>
>> test command:
>>
>>  % lilypond --loglevel=debug template-notes-only.ly
>>
>>
>> ***
>>
>>
>> command output:
>>
>>
>> Log level set to 287
>> GNU LilyPond 2.24.2 (running Guile 3.0)
>>
>> Relocation
>>   Absolute file name of LilyPond binary computed from PATH:
>>
>> PATH=/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin
>> argv0=lilypond
>>   Setting INSTALLER_PREFIX to '/usr/local/Cellar/lilypond/2.24.2'
>>   Using run-time value for datadir,
>> setting it to
>> '/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2'
>>   Using run-time value for libdir,
>> setting it to '/usr/local/Cellar/lilypond/2.24.2/lib/lilypond/2.24.2'
>>   Using run-time value for localedir,
>> setting it to '/usr/local/Cellar/lilypond/2.24.2/share/locale'
>>   Using compile-time value for relocdir,
>> setting it to ''
>>   Prepending '/usr/local/Cellar/lilypond/2.24.2/bin' to PATH
>>   Setting PATH to
>> '/usr/local/Cellar/lilypond/2.24.2/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin'
>> Setting GUILE_AUTO_COMPILE to '0'
>> Setting GUILE_WARN_DEPRECATED to 'detailed'
>> Setting XDG_CACHE_HOME to
>> '/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2'
>> Setting GC_INITIAL_HEAP_SIZE to '40M'
>> Setting GC_NPROCS to '1'
>> Setting GC_FREE_SPACE_DIVISOR to '1'
>>
>>
>> Effective prefix:
>> '/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2'
>>
>> PATH="/usr/local/Cellar/lilypond/2.24.2/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin"
>>
>>
>> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/lily.scm]
>>
>> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/lily-library.scm]
>>
>> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/output-lib.scm]
>>
>> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/markup-macros.scm]
>>
>> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/parser-ly-from-scheme.scm]
>>
>> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/file-cache.scm]
>>
>> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-event-classes.scm]
>>
>> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-music-callbacks.scm]
>>
>> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-music-types.scm]
>>
>> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-note-names.scm]
>> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/c++.scm]
>>
>> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/chord-entry.scm]
>>
>> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/skyline.scm]
>>
>> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/markup.scm]
>

Re: lilypond does not generate pdf - new install on mac os sonoma

2023-11-12 Thread Abe Raher
Thank you Ben and Leonardo!

I tried Joshua Armenta's proposed fix. I don't think it actually changed
anything. I still got the same ghostscript error after I tried the
procedure.

 % cd /usr/local/share/doc

myusername@myhostname % ls -al | grep ghost

lrwxr-xr-x   1 myusername  admin54 Nov 11 15:37 ghostscript ->
../../Cellar/ghostscript/10.02.1/share/doc/ghostscript

myusername@myhostname % sudo chown -R `whoami` ghostscript

Password:

myusername@myhostname % brew link --overwrite ghostscript

Warning: Already linked: /usr/local/Cellar/ghostscript/10.02.1

To relink, run:

  brew unlink ghostscript && brew link ghostscript

Ben, you can see from the above that I am on the latest version, 10.02.1.
What version do you think I should downgrade to? And can that be done with
brew?









On Sat, Nov 11, 2023 at 4:43 PM Ben Bradshaw 
wrote:

> Essentially you need to downgrade ghostscript a version. Although with the
> new release announced today I don't know if it will be fixed or not.
>
> On Sat, Nov 11, 2023, 5:22 PM Leonardo van der Laat 
> wrote:
>
>> I'm having the same problem.
>> There's already a thread about this:
>> https://lists.gnu.org/archive/html/lilypond-user/2023-06/msg00135.html
>> Joshua Armenta posted a solution, something to do with Ghostscript, but I
>> couldn't make it to work.
>>
>> On Sat, Nov 11, 2023 at 5:39 PM Abe Raher  wrote:
>>
>>> hey folks – with my newly installed lilypond on mac os sonoma, lilypond
>>> generates midi but no pdfs
>>>
>>> i've tested a number of .ly files that successfully generated scores
>>> previously – none generate pdfs now
>>>
>>> and i just tested the simplest template in lilypond's docs ... please
>>> have a look at the log output and give me a clue!
>>>
>>> thanks very much
>>>
>>> ***
>>>
>>> what i've got:
>>>
>>> Mac OS: 14.1.1 (23B81)
>>>
>>> % lilypond --version
>>>
>>> GNU LilyPond 2.24.2 (running Guile 3.0)
>>>
>>>
>>>
>>> test file:
>>>
>>>
>>>
>>> melody = \relative c' {
>>>   \clef treble
>>>   \key c \major
>>>   \time 4/4
>>>
>>>   a4 b c d
>>> }
>>>
>>> \score {
>>>   \new Staff \melody
>>>   \layout { }
>>>   \midi { }
>>> }
>>>
>>>
>>>
>>> test command:
>>>
>>>  % lilypond --loglevel=debug template-notes-only.ly
>>>
>>>
>>> ***
>>>
>>>
>>> command output:
>>>
>>>
>>> Log level set to 287
>>> GNU LilyPond 2.24.2 (running Guile 3.0)
>>>
>>> Relocation
>>>   Absolute file name of LilyPond binary computed from PATH:
>>>
>>> PATH=/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin
>>> argv0=lilypond
>>>   Setting INSTALLER_PREFIX to '/usr/local/Cellar/lilypond/2.24.2'
>>>   Using run-time value for datadir,
>>> setting it to
>>> '/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2'
>>>   Using run-time value for libdir,
>>> setting it to '/usr/local/Cellar/lilypond/2.24.2/lib/lilypond/2.24.2'
>>>   Using run-time value for localedir,
>>> setting it to '/usr/local/Cellar/lilypond/2.24.2/share/locale'
>>>   Using compile-time value for relocdir,
>>> setting it to ''
>>>   Prepending '/usr/local/Cellar/lilypond/2.24.2/bin' to PATH
>>>   Setting PATH to
>>> '/usr/local/Cellar/lilypond/2.24.2/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin'
>>> Setting GUILE_AUTO_COMPILE to '0'
>>> Setting GUILE_WARN_DEPRECATED to 'detailed'
>>> Setting XDG_CACHE_HOME to
>>> '/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2'
>>> Setting GC_INITIAL_HEAP_SIZE to '40M'
>>> Setting GC_NPROCS to '1'
>>> Setting GC_FREE_SPACE_DIVISOR to '1'
>>>
>>>
>>> Effective prefix:
>>> '/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2'
>>>
>>> PATH="/usr/local/Cellar/lilypond/2.24.2/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin"
>>>
>>>
>>> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/lily.scm]
>>>
>>> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/lily-library.scm]
>>>
>>> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/output-lib.scm]
>>>
>>> [/usr/local/Cellar/lilypo

Re: lilypond does not generate pdf - new install on mac os sonoma

2023-11-12 Thread Jean Abou Samra

> I'm having the same problem.There's already a thread about this: 
> [https://lists.gnu.org/archive/html/lilypond-user/2023-06/msg00135.html](https://lists.gnu.org/archive/html/lilypond-user/2023-06/msg00135.html)
> Joshua Armenta posted a solution, something to do with Ghostscript, but I 
> couldn't make it to work.

That thread is not about the same problem as this thread.

Your specific Ghostscript error is

```
Error: /undefined in finddevice
```

The problem is that recently, Ghostscript (the software used by LilyPond to 
convert its PostScript output to PDF) had a “security fix release”, version 
10.02.1, which removed a function that was used by LilyPond (apparently because 
it was somehow found to be insecure). See [issue 
6675](https://gitlab.com/lilypond/lilypond/-/issues/6675).

Since security fix releases are always assumed not to break anything, packagers 
pick them up without much thought. In this case, Homebrew was quick to upgrade 
to 10.02.1 and LilyPond broke.

LilyPond has already been changed to avoid using it, but Homebrew doesn't have 
that fix yet.

I don't know enough about Homebrew to say whether it's possible to downgrade 
Ghostscript to 10.02.0. You could try the [official 
binaries](https://lilypond.org/download.html), which do work.

Best,

Jean


signature.asc
Description: This is a digitally signed message part


Re: lilypond does not generate pdf - new install on mac os sonoma

2023-11-12 Thread Abe Raher
Thank you, Jean, that makes sense and will help.

all the best,

Abe


On Sun, Nov 12, 2023 at 12:53 AM Jean Abou Samra  wrote:

> I'm having the same problem.There's already a thread about this:
> https://lists.gnu.org/archive/html/lilypond-user/2023-06/msg00135.html
> Joshua Armenta posted a solution, something to do with Ghostscript, but I
> couldn't make it to work.
>
> That thread is not about the same problem as this thread.
>
> Your specific Ghostscript error is
>
> Error: /undefined in finddevice
>
> The problem is that recently, Ghostscript (the software used by LilyPond
> to convert its PostScript output to PDF) had a “security fix release”,
> version 10.02.1, which removed a function that was used by LilyPond
> (apparently because it was somehow found to be insecure). See issue 6675
> .
>
> Since security fix releases are always assumed not to break anything,
> packagers pick them up without much thought. In this case, Homebrew was
> quick to upgrade to 10.02.1 and LilyPond broke.
>
> LilyPond has already been changed to avoid using it, but Homebrew doesn't
> have that fix yet.
>
> I don't know enough about Homebrew to say whether it's possible to
> downgrade Ghostscript to 10.02.0. You could try the official binaries
> , which do work.
>
> Best,
>
> Jean
>


Re: lilypond does not generate pdf - new install on mac os sonoma

2023-11-19 Thread Abe Raher
p.s. This story ended oddly.

I uninstalled ghostscript and then installed ghostscript 10.02.0.

I pinned that version.

Still got the error ...

Uninstalled lilypond.

Reinstalled lilypond – this required unpinning ghostscript.

Now it's all working. Odd because we're back to the latest ghostscript
which is what we thought was the source of the error.

% lilypond --loglevel=debug template-notes-only.ly

Log level set to 287

GNU LilyPond 2.24.3 (running Guile 3.0)


Relocation

  Absolute file name of LilyPond binary computed from PATH:


PATH=/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin

argv0=lilypond

  Setting INSTALLER_PREFIX to '/usr/local/Cellar/lilypond/2.24.3'

  Using run-time value for datadir,

setting it to '/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3'

  Using run-time value for libdir,

setting it to '/usr/local/Cellar/lilypond/2.24.3/lib/lilypond/2.24.3'

  Using run-time value for localedir,

setting it to '/usr/local/Cellar/lilypond/2.24.3/share/locale'

  Using compile-time value for relocdir,

setting it to ''

  Prepending '/usr/local/Cellar/lilypond/2.24.3/bin' to PATH

  Setting PATH to
'/usr/local/Cellar/lilypond/2.24.3/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin'

Setting GUILE_AUTO_COMPILE to '0'

Setting GUILE_WARN_DEPRECATED to 'detailed'

Setting XDG_CACHE_HOME to
'/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3'

Setting GC_INITIAL_HEAP_SIZE to '40M'

Setting GC_NPROCS to '1'

Setting GC_FREE_SPACE_DIVISOR to '1'



Effective prefix: '/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3'

PATH="/usr/local/Cellar/lilypond/2.24.3/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin"


[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/lily.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/lily-library.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/output-lib.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/markup-macros.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/parser-ly-from-scheme.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/file-cache.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-event-classes.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-music-callbacks.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-music-types.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-note-names.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/c++.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/chord-entry.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/skyline.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/markup.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-markup-commands.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/stencil.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/modal-transforms.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/chord-ignatzek-names.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/music-functions.scm

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-music-display-methods.scm]

]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/part-combiner.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/autochange.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-music-properties.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/time-signature.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/time-signature-settings.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/auto-beam.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypo

Re: lilypond does not generate pdf - new install on mac os sonoma

2023-11-19 Thread Hans Aikema
On 20 Nov 2023, at 04:02, Abe Raher  wrote:p.s. This story ended oddly.I uninstalled ghostscript and then installed ghostscript 10.02.0.I pinned that version.Still got the error ...Uninstalled lilypond.Reinstalled lilypond – this required unpinning ghostscript.Now it's all working. Odd because we're back to the latest ghostscript which is what we thought was the source of the error.Not that odd that your 'latest editions' setup works, because your actions also updated lilypond to the (brand new) 2.24.3, which contains a fix for the finddevices issue with the latest ghostscript version.% lilypond --loglevel=debug template-notes-only.ly 
Log level set to 287
GNU LilyPond 2.24.3 (running Guile 3.0)






Re: lilypond does not generate pdf - new install on mac os sonoma

2023-11-19 Thread Xavier Scheuer
On Mon, 20 Nov 2023 at 05:15, Abe Raher  wrote:
>
> p.s. This story ended oddly.
>
> I uninstalled ghostscript and then installed ghostscript 10.02.0.
>
> I pinned that version.
>
> Still got the error ...
>
> Uninstalled lilypond.
>
> Reinstalled lilypond – this required unpinning ghostscript.
>
> Now it's all working. Odd because we're back to the latest ghostscript
which is what we thought was the source of the error.

Hello,

Yes, but after uninstalling LilyPond 2.24.2 you reinstalled the brand-new
2.24.3, which contains a fix for the Ghostscript problem.
Thanks to the speedy LilyPond developers.

Kind regards,
Xavier