gilles-th / arranger.ly

A Lilypond library to ease and speed up musical arrangements.
GNU General Public License v3.0
12 stars 1 forks source link

Error in arranger 2.25. 14 #3

Open eefweenink opened 6 months ago

eefweenink commented 6 months ago

I get this error when compiling after upgrade to 2.24.3 or 2.25.13 The error shows only the line in the arranger.ly file. I cannot see what line in my lilypond-file is causing this issue.

Can I solve this somehow? Regards, Eef

arranger.ly-master/arranger.ly:1783:2: fout: Guile signaleerde een fout voor de hier beginnende expressie # (define-markup-command (note-by-dur-str layout props duration-str dir)(string? number?) Syntax error: unknown location: : bad use of '' syntactic keyword in subform ( "not a valid duration string: ~a") of ( "not a valid duration string: ~a")

reznaeous commented 6 months ago

I recently ran across this same issue. It was happening no matter what lilypond file I tried it with, so I don't think it has to do with any lilypond error. I'm suspecting it's to do with the change to Guile 3 that happened with the newer versions of lilypond, as if I tried using an older version of lilypond things would still work. I was able to get things working by changing the line in arranger.ly from: (ly:error ( "not a valid duration string: ~a") duration-str)))))) to (ly:error ("not a valid duration string: ~a") duration-str)))))) I honestly have no idea what the ( means, so for all I know my computer could explode into eleventy kabillion pieces any moment. But so far things seem to be working pretty much as expected.

eefweenink commented 6 months ago

I recently ran across this same issue. It was happening no matter what lilypond file I tried it with, so I don't think it has to do with any lilypond error. I'm suspecting it's to do with the change to Guile 3 that happened with the newer versions of lilypond, as if I tried using an older version of lilypond things would still work. I was able to get things working by changing the line in arranger.ly from: (ly:error ( "not a valid duration string: ~a") duration-str)))))) to (ly:error ("not a valid duration string: ~a") duration-str)))))) I honestly have no idea what the ( means, so for all I know my computer could explode into eleventy kabillion pieces any moment. But so far things seem to be working pretty much as expected.

You are a genius. Delete "_ " (underscore + space) did the trick. If it lead to eleventy kabillions, you probably get a NobelPrice. (at least).

Regards, Eef