lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error: Unbound variable: \version


From: David Wright
Subject: Re: error: Unbound variable: \version
Date: Tue, 20 Sep 2022 10:04:07 -0500

On Tue 20 Sep 2022 at 05:49:24 (-0400), ming tsang wrote:
> On Tue, Sep 20, 2022 at 4:56 AM Jean Abou Samra <jean@abou-samra.fr> wrote:
> > Le 20/09/2022 à 10:18, ming tsang a écrit :
> > > dear lilyponders,
> > > i have the following lilypond code:
> > > \version "2.18.2"
> > > \markup "Test"
> > >
> > > That produce the following error in log file:
> > >
> > > Starting lilypond-windows.exe 2.18.2 [Untitled (9)]...
> > >
> > > C:/LilyPond_2-18-2/usr/share/lilypond/current/scm/lily.scm:462:5 <0>:
> > > In procedure primitive-load-path in expression (primitive-load-path
> > > file-name):
> > >
> > > C:/LilyPond_2-18-2/usr/share/lilypond/current/scm/lily.scm:462:5 <1>:
> > > Unbound variable: \version
> > >
> > > Exited with return code 1.
> > >
> > >
> > > QUESTION:
> > > I have version in my computer. I have window 10, lilypond v2.18.2 and
> > > v2.23.10, frecoaldi v3.2
> >
> > Does the error reproduce in 2.23.10, and if so, can you paste the exact
> > error message (with the line numbers)?
> >
> > What is the name of the file? This sounds like LilyPond is mistaking it
> > for one of its internal files.

> The following code is in v2.23.11 and it run OK.
> \version "2.23.11"
> \markup "test"
> 
> And the log file is :
> Starting lilypond.exe 2.23.11 [Untitled (11)]...

Why is this 11, not 9?

> Processing
> `C:/Users/YMINGT~1/AppData/Local/Temp/frescobaldi-7krgt6o3/tmprbzc8juy/
> document.ly'

You didn't post this line in the OP. It's helpful to see the whole log
pasted, rather than snippets.

So can we assume that you're running this code from Frescobaldi?

In which case, can you test whether the cade runs correctly in
LilyPond; that's native LilyPond, executed directly from Windows.

Otherwise, you haven't eliminated the possibility that new
Frescobaldis have "forgotten" how to call ancient versions
of LilyPond successfully.

I also wonder whether the old "unsaved file" has anything to
do with the problem (which would make the problem go away with
direct LilyPond, as you can't run LP on an unsaved file).

Cheers,
David.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]