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


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


On 2024-11-18 11:00, Knute Snortum wrote:
On Mon, Nov 18, 2024 at 10:41 AM Stu McKenzie via LilyPond User List <swwlilyu...@stoozsoftware.com> 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").


Is it possible that you have to convert from 2.25.18 to 2.25.21?

--
Knute Snortum

convert-ly.py released in 2.25.21 leaves the version as "2.25.18".


I've managed to prepare a simple example of the error message by experimenting with scores.

Unfortunately, there is 1 error before the compilation failed message, but it shows that no specific file is mentioned in the message. It's obvious from this example that has only 2 includes, that one of them is causing the message, but when there are multiple includes, it's not so easy to determine what caused the message.
The 2 files are attached with the example code.

The output from LilyPond was (The source path has been replaced by <PathSource>):

Starting lilypond.exe 2.25.21 [2024-11-18_MessageCompilationFailedSimple.ly]...
Processing `<PathSource>/2024-11-18_MessageCompilationFailedSimple.ly'
Parsing...
<PathSource>/2024-11-18_MessageCompilationFailedSimple.ly:3:10: error: cannot find file: `../../NonExistent.ly' (search path: `<PathSource>;C:/Program Files (x86)/LilyPond2p25p21/share/lilypond/2.25.21/ly;C:/Program Files (x86)/LilyPond2p25p21/share/lilypond/2.25.21/ps;C:/Program Files (x86)/LilyPond2p25p21/share/lilypond/2.25.21/scm;C:/Program Files (x86)/LilyPond2p25p21/share/lilypond/2.25.21/fonts/otf/;C:/Program Files (x86)/LilyPond2p25p21/share/lilypond/2.25.21/fonts/svg/;')
\include
         "../../NonExistent.ly"

<PathSource>/2024-11-18_MessageCompilationFailedSimple.ly:4:10: error: cannot find file: `2024-11-18_IncludeDefDummy.ly' (search path: `<PathSource>;C:/Program Files (x86)/LilyPond2p25p21/share/lilypond/2.25.21/ly;C:/Program Files (x86)/LilyPond2p25p21/share/lilypond/2.25.21/ps;C:/Program Files (x86)/LilyPond2p25p21/share/lilypond/2.25.21/scm;C:/Program Files (x86)/LilyPond2p25p21/share/lilypond/2.25.21/fonts/otf/;C:/Program Files (x86)/LilyPond2p25p21/share/lilypond/2.25.21/fonts/svg/;')
\include
         "2024-11-18_IncludeDefDummy.ly"


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

Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `2024-11-18_MessageCompilationFailedSimple.pdf'...
fatal error: failed files: "<PathSource>/2024-11-18_MessageCompilationFailedSimple.ly"
Exited with return code 1.

\version "2.25.18"

DefDummy = { \override Rest.staff-position = 0 }
\version "2.25.18"

\include "../../NonExistent.ly"
\include "2024-11-18_IncludeDefDummy.ly"

<<
  \new Staff {
   \new Voice { c''4 c'' c'' c'' | }
  }
>>

Reply via email to