Thank you! That worked!

I did not realize that

> “Force use of the tools’ #1 lines” option needs to be checked on

I found that /opt/local/bin/convert-ly (part of 2.22.2) is a python script that 
starts with:
#!/opt/local/bin/python3.10

while ~/lilypond-2.24.0/bin/convert-ly is a shell script that starts with:
#!/bin/sh

Maybe Frescobaldi assumes that convert-ly needs to be a python script if the 
option is not checked.

I think it would be nice to document this somewhere since Frescobaldi is now 
mentioned (and perhaps strongly recommended) in the Learning Manual.

Thanks again.

Jun

> 2022/12/17 21:59、Hans Aikema <hans.aik...@aikebah.net>のメール:
> 
> 
> 
>> On 17 Dec 2022, at 12:16, TamuraJun <j.tam...@me.com 
>> <mailto:j.tam...@me.com>> wrote:
>> 
>> Hello list,
>> 
>> I’ve been running Lilypond 2.22.2 and Frescobaldi 3.2, both installed with 
>> MacPorts, on macOS Monterey 12.6.2. I’ve just download “official” 
>> lilypond-2.24.0-darwin-x86_64.tar.gz, unzip/untar it in my home directory, 
>> and now I have:
>> 
>> ~/lilypond-2.24.0/
>> 
>> Then, in Frescobaldi, I opened Frescobaldi -> Preferences…,
>> selected LilyPond Preferences,
>> clicked +Add… for the LilyPond version to use,
>> specified ~/lilypond-2.24.0/bin/lilypond for LilyPond Command,
>> and clicked Set as Default to make the 2.24.0 as the default.
>> 
>> By choosing LilyPond -> Engrave, Frescobaldi runs LilyPond 2.24.0, not the 
>> older MacPort-installed 2.22.2., and I got anticipated syntax errors as my 
>> LilyPond code is written for 2.22.
>> 
>> Then I choose Tools -> Update with convert-ly… but I cannot find LilyPond 
>> 2.24.0 in the pull down menu where you expect to choose the desired LilyPond 
>> version. I found only "LilyPond 2.22.2 (/opt/local/bin/lilypond)” in the 
>> pull down menu.
>> 
>> My understanding is that Frescobaldi would automatically look for convert-ly 
>> in the same directory as the LilyPond executable is located (that is 
>> ~/lilypond-2.24.0/bin/lilypond) and there certainly exists 
>> ~/lilypond-2.24.0/bin/convert-ly.
> 
>> 
>> Am I missing something?
>> 
>> Thanks in advance for your help.
>> 
>> 
>> 
> 
> I did a bit of experimentation on my system (after installing the MacPorts 
> edition of Frescobaldi, as I normally code my lilypond sources directly in 
> the editor of a Java IDE)… the crucial part appears to be that for 2.24.0 the 
> “Force use of the tools’ #1 lines” option needs to be checked on the Tool 
> Commands window. After that convert-ly for 2.24.0 started appearing in the 
> dialog for me and could run successfully.
> Before that I already manually started each of the tools from Finder to be 
> able to unlock the tools from Mac OS’s Security & Privacy settings, so if 
> just ticking the box doesn’t make It work for you start each of the tools 
> directly from finder, followed by unblocking its execution in the Security & 
> Privacy settings and after that try again.
> 
> <Screenshot 2022-12-17 at 13.47.59.png>
> 
> HTH
> 
> Kind regards,
> Hans Aikema

Reply via email to