Re: 2.20 fails when filename has non-ASCII characters

2021-02-25 Thread Timothy Lanfear

On 25/02/2021 16:00, Knute Snortum wrote:

I don't know if this is a known issue, or if anyone cares because it's
version 2.20, but it will get a fatal error if the filename contains
non-ASCII characters.  It is not a problem in 2.22 or 2.23.  I believe
I saw a thread where this error popped up, but I can't find it.


Somehow related to the locale.

lanfear@D20$ export LANG=en_GB.UTF-8
lanfear@D20$ lilypond modèle-piano-chant0.ly
GNU LilyPond 2.20.0
Processing `modèle-piano-chant0.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `/tmp/lilypond-BhL6JH'...
Converting to `modèle-piano-chant0.pdf'...
Deleting `/tmp/lilypond-BhL6JH'...
Success: compilation successfully completed


lanfear@D20$ export LANG=C
lanfear@D20$ lilypond modèle-piano-chant0.ly
GNU LilyPond 2.20.0
Processing `modèle-piano-chant0.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `/tmp/lilypond-pVLROH'...
Converting to `modèle-piano-chant0.pdf'...
warning: `(gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28 
-dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH 
-r1200 -sDEVICE=pdfwrite -dAutoRotatePages=/None -dPrinted=false 
-sOutputFile=modèle-piano-chant0.pdf -c.setpdfwrite 
-f/tmp/lilypond-pVLROH)' failed (256)


fatal error: failed files: "modèle-piano-chant0.ly"


--
Timothy Lanfear, Bristol, UK.




Re: 2.20 fails when filename has non-ASCII characters

2021-02-25 Thread Hans Aikema
On 25 Feb 2021, at 17:00, Knute Snortum  wrote:
> 
> I don't know if this is a known issue, or if anyone cares because it's
> version 2.20, but it will get a fatal error if the filename contains
> non-ASCII characters.  It is not a problem in 2.22 or 2.23.  I believe
> I saw a thread where this error popped up, but I can't find it.

Among maybe others there’s at least

http://lilypond.1069038.n5.nabble.com/ps2pdf-and-file-name-encoding-td164457.html

and

https://gitlab.com/lilypond/lilypond/-/issues/6089

that show how troublesome (and OS (distribution) specific) non-ascii characters 
in filenames have proven to be in the distant past as well as the recent past.

kind regards,
Hans




Re: 2.20 fails when filename has non-ASCII characters

2021-02-25 Thread John Helly
Yes.  I find that to be true.  I suspect that it has to do with the 
installed fonts.  I remember trying to use a French keyboard at the 
Ecole Normal in Lyon and suppose that the font implementation is assumed 
in the applications.  This incompatibility seems to be at the 
ghostscript level as that seems to be throwinng the error.


J.

On 2/25/21 06:39, Silvain Dupertuis wrote:

And the files work if you change the filename to ASCII?
Seems strange to me (that was my file).


Le 25.02.21 à 17:00, Knute Snortum a écrit :

I don't know if this is a known issue, or if anyone cares because it's
version 2.20, but it will get a fatal error if the filename contains
non-ASCII characters.  It is not a problem in 2.22 or 2.23.  I believe
I saw a thread where this error popped up, but I can't find it.

I've attached the most minimal of MWEs to this email.  You have to
save the file with the filename unchanged.  If you try to compile it,
the output is:

Starting lilypond 2.20.0 [modèle-piano-chant0.ly]...
Processing `/home//Downloads/modèle-piano-chant0.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `/tmp/lilypond-KEki2k'...
Converting to `modèle-piano-chant0.pdf'...
warning: `(gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28
-dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH
-r1200 -sDEVICE=pdfwrite -dAutoRotatePages=/None -dPrinted=false
-sOutputFile=modèle-piano-chant0.pdf -c.setpdfwrite
-f/tmp/lilypond-KEki2k)' failed (256)

fatal error: failed files: "/home//Downloads/modèle-piano-chant0.ly"
Exited with return code 1.


--
Knute Snortum



--
Silvain Dupertuis
Route de Lausanne 335
1293 Bellevue (Switzerland)
tél. +41-(0)22-774.20.67
portable +41-(0)79-604.87.52
web: silvain-dupertuis.org 


--

University of Hawaii, Maui College / Mobile 760.840.8660



Re: 2.20 fails when filename has non-ASCII characters

2021-02-25 Thread Silvain Dupertuis

And the files work if you change the filename to ASCII?
Seems strange to me (that was my file).


Le 25.02.21 à 17:00, Knute Snortum a écrit :

I don't know if this is a known issue, or if anyone cares because it's
version 2.20, but it will get a fatal error if the filename contains
non-ASCII characters.  It is not a problem in 2.22 or 2.23.  I believe
I saw a thread where this error popped up, but I can't find it.

I've attached the most minimal of MWEs to this email.  You have to
save the file with the filename unchanged.  If you try to compile it,
the output is:

Starting lilypond 2.20.0 [modèle-piano-chant0.ly]...
Processing `/home//Downloads/modèle-piano-chant0.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `/tmp/lilypond-KEki2k'...
Converting to `modèle-piano-chant0.pdf'...
warning: `(gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28
-dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH
-r1200 -sDEVICE=pdfwrite -dAutoRotatePages=/None -dPrinted=false
-sOutputFile=modèle-piano-chant0.pdf -c.setpdfwrite
-f/tmp/lilypond-KEki2k)' failed (256)

fatal error: failed files: "/home//Downloads/modèle-piano-chant0.ly"
Exited with return code 1.


--
Knute Snortum



--
Silvain Dupertuis
Route de Lausanne 335
1293 Bellevue (Switzerland)
tél. +41-(0)22-774.20.67
portable +41-(0)79-604.87.52
web: silvain-dupertuis.org 


2.20 fails when filename has non-ASCII characters

2021-02-25 Thread Knute Snortum
I don't know if this is a known issue, or if anyone cares because it's
version 2.20, but it will get a fatal error if the filename contains
non-ASCII characters.  It is not a problem in 2.22 or 2.23.  I believe
I saw a thread where this error popped up, but I can't find it.

I've attached the most minimal of MWEs to this email.  You have to
save the file with the filename unchanged.  If you try to compile it,
the output is:

Starting lilypond 2.20.0 [modèle-piano-chant0.ly]...
Processing `/home//Downloads/modèle-piano-chant0.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `/tmp/lilypond-KEki2k'...
Converting to `modèle-piano-chant0.pdf'...
warning: `(gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28
-dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH
-r1200 -sDEVICE=pdfwrite -dAutoRotatePages=/None -dPrinted=false
-sOutputFile=modèle-piano-chant0.pdf -c.setpdfwrite
-f/tmp/lilypond-KEki2k)' failed (256)

fatal error: failed files: "/home//Downloads/modèle-piano-chant0.ly"
Exited with return code 1.


--
Knute Snortum
\version "2.20.0"

\relative c'' {
  c c c c
}