Re: Difficulty running convert-ly under Linux/Ubuntu
On Mon, Dec 19, 2022 at 8:21 PM Michael Werner wrote: > I'm also on Ubuntu here (well, to be a bit more precise I'm using the > KUbuntu distro, but should be close enough). I tried your command and had > it fail. But, when I altered it just a bit it worked. All I had to do was > specify the full path to the convert.ly file, like this: > find . -name '*.ly' -exec > /home/michael/lilypond/lilypond-2.24.0/bin/convert-ly -e '{}' \; > Maybe give that a shot and see what happens. > > Michael > > On Mon, Dec 19, 2022 at 9:53 PM Ralph Palmer > wrote: > >> Greetings - >> >> Jean Abou Samra kindly pointed me in the right direction for the >> installation of 2.24.0 in Linux with Frescobaldi. >> >> I was successful. Then I tried running convert-ly for all my .ly files, >> using >> >> find . -name '*.ly' -exec convert-ly -e '{}' \; >> >> on the command line. That was unsuccessful. >> >> I also tried >> >> convert-ly -e $(find . -name '*.ly' -print) >> >> but both of those commands were unsuccessful. In both cases, I got the >> message >> >> 6: exec: /home/rpalmer/lilypond/usr/bin/python3: not found >> >> even though Python 3.10 is in the LilyPond directory. Ah, but I don't see >> my usr/bin directory. I'm still confused. >> > Worked perfectly, Michael! Thanks so much for your help. All the best, Ralph __ Ralph Palmer Seattle USA (he, him, his) palmer.r.vio...@gmail.com
Re: Difficulty running convert-ly under Linux/Ubuntu
Le 20/12/2022 à 03:52, Ralph Palmer a écrit : Greetings - Jean Abou Samra kindly pointed me in the right direction for the installation of 2.24.0 in Linux with Frescobaldi. I was successful. Then I tried running convert-ly for all my .ly files, using find . -name '*.ly' -exec convert-ly -e '{}' \; on the command line. That was unsuccessful. In fact, speaking of 'installation' for this is a bit of a misnomer. It's just unpacking the archive and running the binaries from there. This is totally different from the 2.22 installation method, with the .sh file that created commands available globally. Now, the 'installation' process doesn't do anything at all to the system. If you want to run convert-ly from the 2.24 binaries, run it with its full path, as Michael suggested. Alternatively, Frescobaldi has a nice tool for that, in Tools > Update with convert-ly. You *can* also make 'convert-ly' available globally, by making a symlink to its executable in a directory that is on your $PATH, typically ~/bin. If you do that, you will be able to run convert-ly with 'convert-ly' in a shell instead of '/path/to/lilypond-2.24.0/bin/convert-ly'. Some have complained that this became less easy to do with the new installation method. I personally view it as a big advantage, because several installations never interfere, it's always clear what version you are running, and it makes it clear in the head of the user that there is no problem with having several versions of LilyPond 'installed' (in fact just present on the computer!) in parallel. I also tried convert-ly -e $(find . -name '*.ly' -print) but both of those commands were unsuccessful. In both cases, I got the message 6: exec: /home/rpalmer/lilypond/usr/bin/python3: not found even though Python 3.10 is in the LilyPond directory. Ah, but I don't see my usr/bin directory. I'm still confused. This one means you have an install of an older version around, and it's broken somehow. Well, don't care; use the new one anyway. Best, Jean OpenPGP_signature Description: OpenPGP digital signature
Re: Difficulty running convert-ly under Linux/Ubuntu
Thanks, Michael - I don't have time now, but I'll try in the morning! Ralph __ Ralph Palmer Seattle USA (he, him, his) palmer.r.vio...@gmail.com On Mon, Dec 19, 2022 at 8:21 PM Michael Werner wrote: > I'm also on Ubuntu here (well, to be a bit more precise I'm using the > KUbuntu distro, but should be close enough). I tried your command and had > it fail. But, when I altered it just a bit it worked. All I had to do was > specify the full path to the convert.ly file, like this: > find . -name '*.ly' -exec > /home/michael/lilypond/lilypond-2.24.0/bin/convert-ly -e '{}' \; > Maybe give that a shot and see what happens. > > Michael > > On Mon, Dec 19, 2022 at 9:53 PM Ralph Palmer > wrote: > >> Greetings - >> >> Jean Abou Samra kindly pointed me in the right direction for the >> installation of 2.24.0 in Linux with Frescobaldi. >> >> I was successful. Then I tried running convert-ly for all my .ly files, >> using >> >> find . -name '*.ly' -exec convert-ly -e '{}' \; >> >> on the command line. That was unsuccessful. >> >> I also tried >> >> convert-ly -e $(find . -name '*.ly' -print) >> >> but both of those commands were unsuccessful. In both cases, I got the >> message >> >> 6: exec: /home/rpalmer/lilypond/usr/bin/python3: not found >> >> even though Python 3.10 is in the LilyPond directory. Ah, but I don't see >> my usr/bin directory. I'm still confused. >> >> Any suggestions? >> >> All the best, >> >> Ralph >> __ >> Ralph Palmer >> Seattle >> USA >> (he, him, his) >> palmer.r.vio...@gmail.com >> >
Re: Difficulty running convert-ly under Linux/Ubuntu
I'm also on Ubuntu here (well, to be a bit more precise I'm using the KUbuntu distro, but should be close enough). I tried your command and had it fail. But, when I altered it just a bit it worked. All I had to do was specify the full path to the convert.ly file, like this: find . -name '*.ly' -exec /home/michael/lilypond/lilypond-2.24.0/bin/convert-ly -e '{}' \; Maybe give that a shot and see what happens. Michael On Mon, Dec 19, 2022 at 9:53 PM Ralph Palmer wrote: > Greetings - > > Jean Abou Samra kindly pointed me in the right direction for the > installation of 2.24.0 in Linux with Frescobaldi. > > I was successful. Then I tried running convert-ly for all my .ly files, > using > > find . -name '*.ly' -exec convert-ly -e '{}' \; > > on the command line. That was unsuccessful. > > I also tried > > convert-ly -e $(find . -name '*.ly' -print) > > but both of those commands were unsuccessful. In both cases, I got the > message > > 6: exec: /home/rpalmer/lilypond/usr/bin/python3: not found > > even though Python 3.10 is in the LilyPond directory. Ah, but I don't see > my usr/bin directory. I'm still confused. > > Any suggestions? > > All the best, > > Ralph > __ > Ralph Palmer > Seattle > USA > (he, him, his) > palmer.r.vio...@gmail.com >
Difficulty running convert-ly under Linux/Ubuntu
Greetings - Jean Abou Samra kindly pointed me in the right direction for the installation of 2.24.0 in Linux with Frescobaldi. I was successful. Then I tried running convert-ly for all my .ly files, using find . -name '*.ly' -exec convert-ly -e '{}' \; on the command line. That was unsuccessful. I also tried convert-ly -e $(find . -name '*.ly' -print) but both of those commands were unsuccessful. In both cases, I got the message 6: exec: /home/rpalmer/lilypond/usr/bin/python3: not found even though Python 3.10 is in the LilyPond directory. Ah, but I don't see my usr/bin directory. I'm still confused. Any suggestions? All the best, Ralph __ Ralph Palmer Seattle USA (he, him, his) palmer.r.vio...@gmail.com