On Sat 21 May 2022 at 20:52:43 (+0200), Lilypond-User wrote: > On Sat, 2022-05-21 at 11:04 -0700, Kenneth Wolcott wrote:
> > ./lilypond-invoke-editor --help > > lilypond-invoke-editor (GNU LilyPond) 2.23.9 > > Backtrace: > > 7 (primitive-load "/Users/kwolcott/Downloads/lilypond-2.2…") > > In ice-9/eval.scm: > > 293:34 6 (_ #(#(#<directory (guile-user) 108d4b140>) ("./..…" …))) > > 619:8 5 (_ #(#(#(#(#<directory (guile-user) 108d4b140>) #) #) #)) > > 619:8 4 (_ #(#(#(#(#<directory (guile-user) 108d4b140>) #) #) #)) > > 159:9 3 (_ #(#(#<directory (guile-user) 108d4b140>) #<output:…>)) > > 182:19 2 (proc #(#(#<directory (guile-user) 108d4b140>) #<outp…>)) > > 142:16 1 (compile-top-call _ (7 . G_) ((5 . "Usage: lilypond-i…"))) > > In unknown file: > > 0 (%resolve-variable (7 . G_) #<directory (guile-user) 10…>) > > > > ERROR: In procedure %resolve-variable: > > Unbound variable: G_ > > ================================== > > > > I have never used this app, but just thought you would like to know > > about my experience. > > Thanks for reporting, I actually noticed this problem earlier today > when working on this script. It's been broken with > https://gitlab.com/lilypond/lilypond/-/merge_requests/1229 in 2.23.7. Following along, I tried that, and got the same error. Which kind of surprised me as point and click works here. Well, of course, my PDF viewer doesn't know which version of LP I'm running, so it consults $PATH, and runs /usr/bin/lilypond-invoke-editor (I don't put the LP downloads in my $PATH.) So if you're affected by this bug, it's easy to fix by symlinking any version older that 2.23.7 so that's it's found earlier in your PATH. Alternatively, you can edit your PDF viewer's startup file to make it temporarily run a different version (but make a note to self that you did so!); eg for xpdf: $ grep url ~/.xpdfrc ## urlCommand changed for LilyPond output #urlCommand "sensible-browser '%s'" #urlCommand "xpdf-click '%s'" #urlCommand "lilypond-invoke-editor %s" urlCommand "/home/auser/lilypond-2.22.1-1.linux-64/bin/lilypond-invoke-editor %s" $ Cheers, David.