Hi Andrew, I rename the filename.ly to filename_名字.ly and recompile with
v2.19.51, I got the following exited with return code 1.
Immanuel,Lyndon.
Starting lilypond-windows.exe 2.19.51 [filename_名字.ly]...Processing
`C:/Users/user/Google
Drive/CHOIR_2016/filename_����.ly'Parsing...C:/Users/user/Google
Drive/CHOIR_2016/filename_名字.ly:12:2: error: GUILE signaled an error for the
expression beginning here# (define siz (object->string (stat:size (stat
filen))))C:/Users/user/Google Drive/CHOIR_2016/filename_名字.ly:16:2: error:
GUILE signaled an error for the expression beginning here# (define modt
(stat:mtime (stat filen)))C:/Users/user/Google
Drive/CHOIR_2016/filename_名字.ly:17:2: error: GUILE signaled an error for the
expression beginning here# (define modts (strftime "%m/%d/%Y %H:%M:%S"
(localtime modt)))C:/Users/user/Google Drive/CHOIR_2016/filename_名字.ly:21:31:
error: unknown escaped string: `\siz'\line { "File Size = " \siz
}C:/Users/user/Google Drive/CHOIR_2016/filename_名字.ly:25:31: error: unknown
escaped string: `\modts'\line { "Last Modified = " \modts
}C:/Users/user/Google Drive/CHOIR_2016/filename_名字.ly:33:4: error: GUILE
signaled an error for the expression beginning here{ $ (string-append "File
Size = "C:/Users/user/Google Drive/CHOIR_2016/filename_名字.ly:41:4: error: GUILE
signaled an error for the expression beginning here{ $ (string-append "Last
Modified = "C:/Users/user/Google Drive/CHOIR_2016/filename_名字.ly:50:31: error:
unknown escaped string: `\siz'\line { "File Size = " \siz
}C:/Users/user/Google Drive/CHOIR_2016/filename_名字.ly:54:31: error: unknown
escaped string: `\modts'\line { "Last Modified = " \modts }Interpreting
music...Preprocessing graphical objects...(lilypond-windows.exe:9124):
Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()warning: no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'warning:
no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'warning:
no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'warning:
no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'(lilypond-windows.exe:9124):
Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()warning: no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'warning:
no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'warning:
no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'warning:
no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'(lilypond-windows.exe:9124):
Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()warning: no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'warning:
no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'warning:
no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'warning:
no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'(lilypond-windows.exe:9124):
Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()warning: no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'warning:
no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'warning:
no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'warning:
no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'(lilypond-windows.exe:9124):
Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()warning: no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'warning:
no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'warning:
no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'warning:
no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'(lilypond-windows.exe:9124):
Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()warning: no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'warning:
no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'warning:
no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'warning:
no glyph for character U+FFFD in font
`E:/lilypond_2-19-51/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf'Finding
the ideal number of pages...Fitting music on 1 page...Drawing systems...Layout
output to `./tmp-lilypond-u4UDYa'...Converting to
`filename_����.pdf'...Deleting `./tmp-lilypond-u4UDYa'...No such file or
directory: "rive/CHOIR_2016/filename_����.ly"No such file or directory:
"rive/CHOIR_2016/filename_����.ly"Unbound variable: modtNo such file or
directory: "rive/CHOIR_2016/filename_����.ly"No such file or directory:
"rive/CHOIR_2016/filename_����.ly"fatal error: failed files:
"C:/Users/user/Google Drive/CHOIR_2016/filename_����.ly"Exited with return code
1.
From: Andrew Bernard <andrew.bern...@gmail.com>
To: MING TSANG <tsan...@rogers.com>
Cc: Lilypond-usermailinglist <lilypond-user@gnu.org>
Sent: Saturday, November 26, 2016 8:33 PM
Subject: Re: LSR - file information [0.24759]
Hello Ming,
LSR 197 works fine at 2.19.51 with no conversion. It's really just mostly
Scheme, not lilypond, and the syntax for Scheme has not changed.
Compiles for me without error.
Try running with a conversion.
I cannot see the error in your appended output. Where is it?
Andrew
\version "2.19.51"
%{ Display ly file information on the score, including file name, file size,
LilyPond version, date processed, time processed, time last modified, and
the LilyPond command line. %}
#(define comml (object->string (command-line)))
#(define loc (+ (string-rindex comml #\space ) 2))
#(define commllen (- (string-length comml) 2))
#(define filen (substring comml loc commllen))
#(define siz (object->string (stat:size (stat filen))))
#(define ver (object->string (lilypond-version)))
#(define dat (strftime "%m/%d/%Y" (localtime (current-time))))
#(define tim (strftime "%H:%M:%S" (localtime (current-time))))
#(define modt (stat:mtime (stat filen)))
#(define modts (strftime "%m/%d/%Y %H:%M:%S" (localtime modt)))
\header { dedication = \markup \column {
{ "- - - - - - Using Scheme \"define\"- - - - - -" } % "
\line { "File Name = " \filen }
\line { "File Size = " \siz }
\line { "LilyPond Version = " \ver }
\line { "Date Processed = " \dat }
\line { "Time Processed = " \tim }
\line { "Last Modified = " \modts }
\line { "Command Line = " \comml }
{ "" }
{ "- - - - - - Using \"ly:export\" - - - - - -" } % "
{ $(string-append "File Name = "
(substring (object->string (command-line))
(+ (string-rindex (object->string (command-line)) #\sp ) 1)
(- (string-length (object->string (command-line))) 1))) }
{ $(string-append "File Size = "
(object->string (stat:size (stat filen)))) }
{ $(string-append "LilyPond Version = "
(lilypond-version)) }
{ $(string-append "Date Processed = "
(strftime "%m/%d/%Y" (localtime (current-time)))) }
{ $(string-append "Time Processed = "
(strftime "%H:%M:%S" (localtime (current-time)))) }
{ $(string-append "Last Modified = "
(strftime "%m/%d/%Y %H:%M:%S"
(localtime (stat:mtime (stat filen))))) }
{ $(string-append "Command Line = "
(object->string (command-line))) }
} }
{ c''1_\markup { \column {
{ "- - - - - - In \"markup\" - - - - - -" } % "
\line { "File Name = " \filen }
\line { "File Size = " \siz }
\line { "LilyPond Version = " \ver }
\line { "Date Processed = " \dat }
\line { "Time Processed = " \tim }
\line { "Last Modified = " \modts }
\line { "Command Line = " \comml }
}}}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user