Reply to David Wright (et al):

On 2024-11-18 10:40, Stu McKenzie via LilyPond User List wrote:

I'm using LilyPond version 2.25.21.

This message occurred:

"
Note: compilation failed and \version outdated, did you
update input syntax with convert-ly?

https://lilypond.org/doc/v2.25/Documentation/usage/updating-files-with-convert_002dly
"

The  message appeared during processing of a score, and provides no indication of where the culprit is.

I verified that all of my source files have the correct version number (\version "2.25.18").

It would be helpful if the message identified the file causing the error.

I searched for this message in the LilyPond code, and found 8 files contain the same message. (The list of files is at the end of this post).

This message didn't help me to identify the file causing the error, so I've no idea what was causing the error.

How do I find out which file caused the error?

The code in "C:\Program Files (x86)\LilyPond2p25p21\share\lilypond\2.25.21\scm\lily\lily-library.scm" at line 1258:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
(define convert-ly-msg
  (match (ly:version)
    ((major minor . rest)
     (format #f
             (G_ "\

Note: compilation failed and \\version outdated, did you
update input syntax with convert-ly?

https://lilypond.org/doc/v~a.~a/Documentation/usage/updating-files-with-convert_002dly

")
             major
             minor))))
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
List of files with the same error message:
"C:\Program Files (x86)\LilyPond2p25p21\lib\lilypond\2.25.21\ccache\lily\lily-library.go" :1652 - This is a binary file, so I couldn't look at the code "C:\Program Files (x86)\LilyPond2p25p21\share\lilypond\2.25.21\scm\lily\lily-library.scm" :1264
Language files:
"C:\Program Files (x86)\LilyPond2p25p21\share\locale\ca\LC_MESSAGES\lilypond.mo" 100 "C:\Program Files (x86)\LilyPond2p25p21\share\locale\fr\LC_MESSAGES\lilypond.mo" 95 "C:\Program Files (x86)\LilyPond2p25p21\share\locale\it\LC_MESSAGES\lilypond.mo" :97 "C:\Program Files (x86)\LilyPond2p25p21\share\locale\ja\LC_MESSAGES\lilypond.mo" :100 "C:\Program Files (x86)\LilyPond2p25p21\share\locale\nl\LC_MESSAGES\lilypond.mo" :101 "C:\Program Files (x86)\LilyPond2p25p21\share\locale\zh_CN\LC_MESSAGES\lilypond.mo:97
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

David Wright,

In reply to your post:

It's typical that an error occurs before the "outdated" message
is issued. But your OP reads as if the message appeared out of
the blue, without any previous error having occurred. Is that
correct, and if not, what was the error that you didn't report?

Cheers,
David.

The above is the original post that I sent.
My original score was complicated, so I came up with the post that you replied to (with 1 error and the message). The message "Note: compilation failed and \version outdated, did you update input syntax with convert-ly? ", was the only message that was reported to that score. Posts can get a bit out of context when read separately, but many users seem to prefer to do that (including myself). I'm trying to solve my original issue, which was that I couldn't determine which \include caused the error message in my original score. I was hoping that someone who knows the internals of LilyPond would suggest that the source code could be changed to identify which file and line was causing the error.
Maybe there's someone out there who can help?


Reply via email to