Re: error: Unbound variable: \version

2022-09-20 Thread David Wright
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  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.



Re: error: Unbound variable: \version

2022-09-20 Thread Jean Abou Samra

Le 20/09/2022 à 11:49, ming tsang a écrit :

Hi Jean,
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)]...

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


Parsing...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

Converting to `document.pdf'...

Success: compilation successfully completed

Completed successfully in 1.4".

I am just querious about the error in v2.18.2.





I've now checked with a 2.18 install, and the only way I am able
to reproduce this error is by editing one of LilyPond's internal
.scm files and adding \version in it. Did you edit the internal files?





Re: error: Unbound variable: \version

2022-09-20 Thread Andrew Bernard
I am curious as to why you are still using 2.18.2. Is it really 
necessary for you? Why? Stable release is now 22.22.2. That's a _long_ 
way further on. I'm not sure people want to spend time helping debug 
2.18.2 issues. Just asking.


Andrew





Re: error: Unbound variable: \version

2022-09-20 Thread ming tsang
Hi Jean,
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)]...

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

Parsing...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

Converting to `document.pdf'...

Success: compilation successfully completed

Completed successfully in 1.4".


I am just querious about the error in v2.18.2.


Ming

On Tue, Sep 20, 2022 at 4:56 AM Jean Abou Samra  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.
>
> Jean
>
>

-- 
ming (lyndon) tsang


Re: error: Unbound variable: \version

2022-09-20 Thread Jean Abou Samra

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.


Jean




error: Unbound variable: \version

2022-09-20 Thread ming tsang
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

Ming
-- 
ming (lyndon) tsang