Replies: 6 comments 4 replies
-
Hi,
I have already faced this issue from my termux and I got the solution from
my system when I raised this concern over the blackbox, and I got the
solution from there.
I hope you will find the same way.
Regards
Farmaan
…On Sat, 2 Nov 2024 at 00:14, nagymusic ***@***.***> wrote:
I successfully installed Lilypond music notation software using Termux on
my Android (version 12) tablet, but I can't view the PDF after compiling
the file.
Here's the error message I received (I highlighted the error message I'm
trying to understand):
~ $ lilypond [[myfile.ly](http://myfile.ly/)](http://myfile.ly/)
GNU LilyPond 2.24.4 (running Guile 3.0)
Processing `[[myfile.ly](http://myfile.ly/)](http://myfile.ly/)'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
/data/data/com.termux/files/usr/share/lilypond/2.24.4/ly/init.ly:65:2: error: Guile signaled an error for the expression beginning here
#
(let ((book-handler (if (defined? 'default-toplevel-book-handler)
In procedure open_iconv_descriptors: invalid or unknown character encoding LATIN1
Do you have any suggestions on how to fix this issue, or where can I seek
help?
Thanks so much!
—
Reply to this email directly, view it on GitHub
<#4238>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVLV3TFDZLTJIAJSCBCOGD3Z6PDZLAVCNFSM6AAAAABRAYSR4CVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZXGQYDOMZVGU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I have same problem and have not found solution. Is the Scheme code in init.ly incorrect? Or is there something missing that causes LATIN1 to not be found? I tried converting the ly file to utf8 using iconv and vi, but always get same error from Guile. |
Beta Was this translation helpful? Give feedback.
-
I saw online a suggestion to put this at top of my lilypond file:
%!unicorn
Now I don't get the error about latin!
But I don't see any pdf either...
…On Fri, Jul 11, 2025, 8:08 AM rwl7532 ***@***.***> wrote:
Same error from Guile re: LATIN1. Gemini AI suggested exports (language
settings) but it did not work. What was your solution?
—
Reply to this email directly, view it on GitHub
<#4238 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD52DVB6SJYSHMWSUHU4I533H7HNRAVCNFSM6AAAAABRAYSR4CVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNZTGMYDINA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Sorry, meant #!unicorn
True it is comment, which I believe guile uses, and the latin1 error was a
guile error
…On Fri, Jul 11, 2025, 4:11 PM rwl7532 ***@***.***> wrote:
Didn't work for me. %!unicorn looks like a lilypond comment. Long convo
with Gemini ends with "let's see what github comments say"
—
Reply to this email directly, view it on GitHub
<#4238 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD52DVBTFLNJVOWDULJR7Z33IBABPAVCNFSM6AAAAABRAYSR4CVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNZTGYYTOOI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I believe another form of comment may work...
Try
%!unicode
…On Fri, Jul 11, 2025, 4:37 PM rwl7532 ***@***.***> wrote:
Still no happiness. Simple .ly code
\version "2.24.4"
\score
{
{
c'1
}
}
After some #!unicorn variations the worst was
Unbound variable: !
mytest.ly:6:2: error: syntax error, unexpected \score, expecting '.' or
'='
\score
—
Reply to this email directly, view it on GitHub
<#4238 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD52DVDOK7JRLYDRD5M2YZL3IBDFNAVCNFSM6AAAAABRAYSR4CVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNZTGYZDMMI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I get no error, but no file produced either
~ $ vi tryit.ly ~ $ lilypond tryit.ly GNU LilyPond 2.24.4 (running Guile
3.0) Processing `tryit.ly' Parsing... Success: compilation successfully
completed
…On Fri, Jul 11, 2025, 6:12 PM rwl7532 ***@***.***> wrote:
unicode and unicorn are a horse of a different color or horn.
%!unicode at the top line causes no mention of not understanding by Guile
or lilypond.
The outcome is still ending with LATIN1
NO JOY
—
Reply to this email directly, view it on GitHub
<#4238 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD52DVHRBOL5ZDBONFO7RD33IBOJDAVCNFSM6AAAAABRAYSR4CVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNZTGY2TAOI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I successfully installed Lilypond music notation software using Termux on my Android (version 12) tablet, but I can't view the PDF after compiling the file.
Here's the error message I received (I highlighted the error message I'm trying to understand):
Do you have any suggestions on how to fix this issue, or where can I seek help?
Thanks so much!
Beta Was this translation helpful? Give feedback.
All reactions