You are not logged in.
Hello everybody. I just upgraded lilypond from 2.4.2 to 2.4.4, and I can't process files anymore. I also don't have a lilypond 2.4.2 package in cache (which I probably should have thought of), or I'd go back.
Anyway, here's the output of lilypond, starting right before the error:
pond/2.4.4/fonts/afm/feta-nummer4.afm][/usr/share/lilypond/2.4.4/fonts/tfm/feta-nummer4.tfm[/usr/share/lilypond/2.4.4/ps/feta-nummer10.enc]][/usr/share/lilypond/2.4.4/fonts/afm/feta-nummer6.afm][/usr/share/lilypond/2.4.4/fonts/tfm/feta-nummer6.tfm]
warning: lily-guile: can't find "latin1.enc"
Backtrace:
In unknown file:
?: 7* [#<procedure #f ()>]
In /usr/share/lilypond/2.4.4/scm/lily.scm:
341: 8* [ly:parse-file "/home/dean/lilypond/in/beats.ly"]
In /usr/share/lilypond/2.4.4/ly/init.ly:
7: 9* (if (pair? toplevel-scores) (ly:parser-print-book parser #))
8: 10 [ly:parser-print-book #<my_lily_parser > #<Book>]
In unknown file:
?: 11* [Separating_group_spanner::set_spacing_rods #]
?: 12* [Self_alignment_interface::aligned_on_self #<Grob Fingering > 0]
?: 13* [Grob::stencil_extent #<Grob Fingering > 0]
?: 14* [Text_interface::print #<Grob Fingering >]
?: 15* [get-coding-vector "latin1"]
In /usr/share/lilypond/2.4.4/scm/encoding.scm:
124: 16* [caddr ...
124: 17* [get-coding "latin1"]
105: 18 (let ((entry #)) (if entry (cons # #) (if # # #)))
...
107: 19 [cons "latin1.enc" ...
107: 20* [force #<promise #<procedure #f ()>>]
In unknown file:
?: 21* [#<procedure #f ()>]
In /usr/share/lilypond/2.4.4/scm/encoding.scm:
76: 22* [get-coding-from-file "latin1.enc"]
65: 23 (let* ((coding #) (com #) (vec #) (tab #)) (list com vec tab))
65: 24* [read-encoding-file "latin1.enc"]
15: 25 (let* ((path #) (unused #) (raw #) (string #) ...) (cons command vector))
17: 26* [ly:gulp-file #f]
/usr/share/lilypond/2.4.4/scm/encoding.scm:17:15: In procedure ly_gulp_file in expression (ly:gulp-file path):
/usr/share/lilypond/2.4.4/scm/encoding.scm:17:15: Wrong type argument in position 1 (expecting string): #f
And lilypond-book:
Processing `lily-1666726992.ly'
Parsing...
Interpreting music... [6]
Preprocessing graphical objects...
Calculating line breaks... [3]
warning: lily-guile: can't find "latin1.enc"
Backtrace:
In unknown file:
?: 10* [System_start_delimiter::after_line_breaking #<Grob SystemStartBar >]
?: 11* [Align_interface::alignment_callback #<Grob VerticalAxisGroup > 1]
?: 12* [Axis_group_interface::group_extent_callback #<Grob VerticalAxisGroup > 1]
?: 13* [Side_position_interface::aligned_side #<Grob TextScript > 1]
?: 14* [Grob::stencil_extent #<Grob TextScript > 1]
?: 15* [Text_interface::print #<Grob TextScript >]
?: 16* [simple-markup #< Output_def> ((# # # ...) (# # # ...) (# # #)) ...]
In /usr/share/lilypond/2.4.4/scm/define-markup-commands.scm:
37: 17* [Text_interface::interpret_markup #< Output_def> (# # #) "$\textbf{R}$"]
In unknown file:
?: 18* [get-coding-vector "latin1"]
In /usr/share/lilypond/2.4.4/scm/encoding.scm:
124: 19* [caddr ...
124: 20* [get-coding "latin1"]
105: 21 (let ((entry #)) (if entry (cons # #) (if # # #)))
...
107: 22 [cons "latin1.enc" ...
107: 23* [force #<promise #<procedure #f ()>>]
In unknown file:
?: 24* [#<procedure #f ()>]
In /usr/share/lilypond/2.4.4/scm/encoding.scm:
76: 25* [get-coding-from-file "latin1.enc"]
65: 26 (let* ((coding #) (com #) (vec #) (tab #)) (list com vec tab))
65: 27* [read-encoding-file "latin1.enc"]
15: 28 (let* ((path #) (unused #) (raw #) (string #) ...) (cons command vector))
17: 29* [ly:gulp-file #f]
/usr/share/lilypond/2.4.4/scm/encoding.scm:17:15: In procedure ly_gulp_file in expression (ly:gulp-file path):
/usr/share/lilypond/2.4.4/scm/encoding.scm:17:15: Wrong type argument in position 1 (expecting string): #f
/usr/bin/lilypond-book: warning: `lilypond' failed (status 2) (ignored)
/usr/bin/lilypond-book: error: Process /usr/bin/lilypond -f tex -I /home/dean/lilypond/out/12test -I /home/dean/lilypond/in exited unsuccessfully.
Removing `bourree.tex'
Traceback (most recent call last):
File "/usr/bin/lilypond-book", line 1393, in ?
main ()
File "/usr/bin/lilypond-book", line 1390, in main
ly.exit (1)
File "/usr/share/lilypond/2.4.4/python/lilylib.py", line 132, in exit
raise _ ('Exiting (%d)...') % i
Exiting (1)...
I've googled 'warning: lily-guile: can't find latin1.enc' and come up with this thread
I can't find anything else relevant. Any ideas? I'm a SAAAAAAAD panda.
fffft!
Offline
1> This sounds like an issue with the stale files I keep reading about in their docs
2 > I've added lilypond to the community repo, for everyone's enjoyment.
If this is a stale files issue, the package in community has been designed to prevent it. After you install that package, if the problem persists, remove it and reinstall it, (the stale-sweep happens on pre_remove).
Enjoy and best of luck!
The suggestion box only accepts patches.
Offline
when I pacman -Syu, I don't get the updated lilypond package from the community repo, but I get a lot of other updated packages. Yes, the community repo is in my pacman.conf.
I seem to have had the same issue with the community repo and other packages. Does it just take a while to update?
fffft!
Offline
It works for me, and it was updated within 10 minutes of my upload...hmm
Just try a pacman -S community/lilypond and see what happens
The suggestion box only accepts patches.
Offline
It works for me, and it was updated within 10 minutes of my upload...hmm
Just try a pacman -S community/lilypond and see what happens
OooooooOOOo! (yes, it does)
Thanks!
fffft!
Offline
Everything is working well now, except that when my client does markup, he has to override the default font, or nothing is printed. It seems sort of like the default font isn't set, if that's possible. It's not a big issue, because it works, just not without very specific notation.
I realize the irony of a situation where you and I, neither of us being lilypond users, are trying to work out all the itty-bitty kinks.
zeppelin, where are you?
EDIT:
(from another communication I was having)
More on the issue. In the example:
relative {
c4 ^"Test"
^markup "Test"
^markup override #'(font-magnification . 0.9) override
#'(font-name . "ptmr") "Hello"
}
The one with the override is the one that works. It seems to be a problem with fonts? Could it be that there is no default font set? Also, I looked at the problem detailed here:
http://lists.gnu.org/archive/html/lilyp … 00107.html
Could this be related? I'm not clear on the internal process of lilypond, and whether it is calling other programs to convert the files to pdf or ps.
fffft!
Offline
guys good to see that lilypond finally made it in community. I'm sorry I don't read the forums that much as I used to. I'm very active in Gajim at the moment. Congrats to thegnu and neotuli.
here is the solution:
user should do everytime he logs in:
source /etc/profile.d/lilypond.sh
or else he get missing feta [apart from the cheese we produce in Greece, it's also the name of that great font lilypond uses]
he can put this in ~/.bashrc or you can hack a bit the lilypond package you provide so he doesn't have to do it manually [sth like cat "source /etc/profile.d/lilypond.sh" >> /etc/profile]
it that doesn't solve the problem, then please copy paste the output of the error
Offline
The output of lilypond processing this:
relative {
c4 ^"Test"
^markup "Test"
^markup override #'(font-magnification . 0.9) override
#'(font-name . "ptmr") "Hello"
}
which doesn't print the text 'Test, but prints 'Hello', is this:
GNU LilyPond 2.4.6
LILYPOND_DATADIR="/usr/share/lilypond"
LOCAL_LILYPOND_DATADIR="/usr/share/lilypond/2.4.6"
LOCALEDIR="/usr/share/locale"
LILYPONDPREFIX=""
[/usr/share/lilypond/2.4.6/scm/lily-library.scm][/usr/share/lilypond/2.4.6/scm/d efine-music-types.scm][/usr/share/lilypond/2.4.6/scm/output-lib.scm][/usr/share/ lilypond/2.4.6/scm/c++.scm][/usr/share/lilypond/2.4.6/scm/chord-ignatzek-names.s cm][/usr/share/lilypond/2.4.6/scm/chord-entry.scm][/usr/share/lilypond/2.4.6/scm /chord-generic-names.scm][/usr/share/lilypond/2.4.6/scm/stencil.scm][/usr/share/ lilypond/2.4.6/scm/new-markup.scm][/usr/share/lilypond/2.4.6/scm/bass-figure.scm ][/usr/share/lilypond/2.4.6/scm/music-functions.scm][/usr/share/lilypond/2.4.6/s cm/part-combiner.scm][/usr/share/lilypond/2.4.6/scm/define-music-properties.scm] [/usr/share/lilypond/2.4.6/scm/auto-beam.scm][/usr/share/lilypond/2.4.6/scm/chor d-name.scm][/usr/share/lilypond/2.4.6/scm/ly-from-scheme.scm][/usr/share/lilypon d/2.4.6/scm/define-context-properties.scm][/usr/share/lilypond/2.4.6/scm/transla tion-functions.scm][/usr/share/lilypond/2.4.6/scm/script.scm][/usr/share/lilypon d/2.4.6/scm/midi.scm][/usr/share/lilypond/2.4.6/scm/beam.scm][/usr/share/lilypon d/2.4.6/scm/clef.scm][/usr/share/lilypond/2.4.6/scm/slur.scm][/usr/share/lilypon d/2.4.6/scm/font.scm][/usr/share/lilypond/2.4.6/scm/encoding.scm][/usr/share/lil ypond/2.4.6/scm/fret-diagrams.scm][/usr/share/lilypond/2.4.6/scm/define-markup-c ommands.scm][/usr/share/lilypond/2.4.6/scm/define-grob-properties.scm][/usr/shar e/lilypond/2.4.6/scm/define-grobs.scm][/usr/share/lilypond/2.4.6/scm/define-grob -interfaces.scm][/usr/share/lilypond/2.4.6/scm/page-layout.scm][/usr/share/lilyp ond/2.4.6/scm/titling.scm][/usr/share/lilypond/2.4.6/scm/paper.scm][/usr/share/l ilypond/2.4.6/scm/safe-lily.scm]Processing `test.ly'
Parsing...
[/usr/share/lilypond/2.4.6/ly/init.ly[/usr/share/lilypond/2.4.6/ly/declarations- init.ly[/usr/share/lilypond/2.4.6/ly/music-functions-init.ly][/usr/share/lilypon d/2.4.6/ly/nederlands.ly][/usr/share/lilypond/2.4.6/ly/drumpitch-init.ly][/usr/s hare/lilypond/2.4.6/ly/chord-modifiers-init.ly][/usr/share/lilypond/2.4.6/ly/scr ipt-init.ly][/usr/share/lilypond/2.4.6/ly/scale-definitions-init.ly][/usr/share/ lilypond/2.4.6/ly/grace-init.ly][/usr/share/lilypond/2.4.6/ly/midi-init.ly[/usr/ share/lilypond/2.4.6/ly/performer-init.ly]][/usr/share/lilypond/2.4.6/ly/paper-d efaults.ly][/usr/share/lilypond/2.4.6/ly/engraver-init.ly][/usr/share/lilypond/2 .4.6/ly/dynamic-scripts-init.ly][/usr/share/lilypond/2.4.6/ly/spanners-init.ly][ /usr/share/lilypond/2.4.6/ly/property-init.ly]][test.ly]Interpreting music... [/ usr/share/lilypond/2.4.6/fonts/afm/feta20.afm][/usr/share/lilypond/2.4.6/fonts/t fm/feta20.tfm[/usr/share/lilypond/2.4.6/ps/feta20.enc]][1]elapsed time: 0.04 sec onds
Element count 31 (spanners 7) Preprocessing graphical objects... Grob count 57[/ usr/share/lilypond/2.4.6/fonts/afm/feta11.afm][/usr/share/lilypond/2.4.6/fonts/t fm/feta11.tfm][/usr/share/lilypond/2.4.6/fonts/afm/parmesan11.afm][/usr/share/lilypond/2.4.6/fonts/tfm/parmesan11.tfm[/usr/share/lilypond/2.4.6/ps/parmesan20.enc]][/usr/share/lilypond/2.4.6/fonts/afm/feta13.afm][/usr/share/lilypond/2.4.6/fonts/tfm/feta13.tfm][/usr/share/lilypond/2.4.6/fonts/afm/parmesan13.afm][/usr/share/lilypond/2.4.6/fonts/tfm/parmesan13.tfm][/usr/share/lilypond/2.4.6/fonts/afm/feta14.afm][/usr/share/lilypond/2.4.6/fonts/tfm/feta14.tfm][/usr/share/lilypond/2.4.6/fonts/afm/parmesan14.afm][/usr/share/lilypond/2.4.6/fonts/tfm/parmesan14.tfm][/usr/share/lilypond/2.4.6/fonts/afm/feta16.afm][/usr/share/lilypond/2.4.6/fonts/tfm/feta16.tfm][/usr/share/lilypond/2.4.6/fonts/afm/parmesan16.afm][/usr/share/lilypond/2.4.6/fonts/tfm/parmesan16.tfm][/usr/share/lilypond/2.4.6/fonts/afm/feta18.afm][/usr/share/lilypond/2.4.6/fonts/tfm/feta18.tfm][/usr/share/lilypond/2.4.6/fonts/afm/parmesan18.afm][/usr/share/lilypond/2.4.6/fonts/tfm/parmesan18.tfm][/usr/share/lilypond/2.4.6/fonts/afm/parmesan20.afm][/usr/share/lilypond/2.4.6/fonts/tfm/parmesan20.tfm][/usr/share/lilypond/2.4.6/fonts/afm/feta23.afm][/usr/share/lilypond/2.4.6/fonts/tfm/feta23.tfm][/usr/share/lilypond/2.4.6/fonts/afm/parmesan23.afm][/usr/share/lilypond/2.4.6/fonts/tfm/parmesan23.tfm]
Calculating line breaks... Global shortest duration is 3/16
[2]
Optimal demerits: 103.437542
Element count 40.[[/usr/share/texmf/fonts/tfm/public/ec-fonts-mftraced/ecrm6.tfm[/usr/share/texmf-dist/fonts/enc/dvips/base/tex256.enc]][/usr/share/texmf/fonts/tfm/public/ec-fonts-mftraced/ecrm8.tfm][/usr/share/texmf/fonts/tfm/public/ec-fonts-mftraced/ecrm10.tfm][/usr/share/texmf/fonts/tfm/public/ec-fonts-mftraced/ecrm17.tfm][/usr/share/lilypond/2.4.6/fonts/enc/latin1.enc][/usr/share/texmf-dist/fonts/tfm/adobe/times/ptmr.tfm
programming error: no such encoding: "TEXBASE1ENCODING-+-DVIPSENCODING"
Continuing; crossing fingers
programming error: programming error: cross thumbs, using: "latin1":
Continuing; crossing fingers
]
programming error: no such encoding: "TEXBASE1ENCODING-+-DVIPSENCODING"
Continuing; crossing fingers
programming error: programming error: cross thumbs, using: "latin1":
Continuing; crossing fingers
0]Layout output to `test.tex'...
Invoking `latex \nonstopmode \input test.tex'...
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(./test.tex (/usr/share/lilypond/2.4.6/tex/lilyponddefs.tex
(/usr/share/lilypond/2.4.6/tex/lily-ps-defs.tex))
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo))
No auxiliary output files.
(/usr/share/texmf-dist/tex/latex/base/inputenc.sty
(/usr/share/texmf-dist/tex/latex/base/latin1.def))
No file test.aux.
[1] )
Output written on test.dvi (1 page, 856 bytes).
Transcript written on test.log.
Invoking `dvips -t "a4" -u+ec-mftrace.map -u+lilypond.map -Ppdf test'...
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2005.06.26:2240' -> test.ps
kpathsea: Running mktexpk --mfmode ljfour --bdpi 8000 --mag 1+0/8000 --dpi 8000 ecrm10
mktexpk: Mismatched mode ljfour and resolution 8000; ignoring mode.
mktexpk: Running mf-nowin -progname=mf mode:=dpdfezzz; mag:=1+0/8000; nonstopmode; input ecrm10
This is METAFONT, Version 2.71828 (Web2C 7.5.4)
! Enormous number has been reduced.
<*> mode:=dpdfezzz; mag:=1+0/8000
; nonstopmode; input ecrm10
?
! Emergency stop.
<*> mode:=dpdfezzz; mag:=1+0/8000
; nonstopmode; input ecrm10
Transcript written on mfput.log.
grep: ecrm10.log: No such file or directory
mktexpk: `mf-nowin -progname=mf mode:=dpdfezzz; mag:=1+0/8000; nonstopmode; input ecrm10' failed to make ecrm10.8000pk.
kpathsea: Appending font creation commands to missfont.log.
dvips: Font ecrm10 not found, characters will be left blank.
<tex.pro><alt-rule.pro><music-drawing-routines.ps><8r.enc><texps.pro>
<special.pro>. <feta20.pfa>[1]
Converting to `test.pdf'...Invoking `ps2pdf -sPAPERSIZE="a4" test.ps'...
I realize that the input isn't properly formed with headers, etc. Do you encounter the same problem? Is there a possible header variable that would fix this? It also doesn't print the little number indicating triplets, and there doesn't seem to be a way to override the default font.
fffft!
Offline
Lilypond 2.6 is out. w00t! Notify the blooberfiddles!
Ack!
fffft!
Offline
GNU LilyPond 2.4.6
Processing `foo.ly'
Parsing...
Interpreting music... [1]
Preprocessing graphical objects...
Calculating line breaks... [2]
programming error: no such encoding: "TEXBASE1ENCODING-+-DVIPSENCODING"
Continuing; crossing fingers
programming error: programming error: cross thumbs, using: "latin1":
Continuing; crossing fingers
programming error: no such encoding: "TEXBASE1ENCODING-+-DVIPSENCODING"
Continuing; crossing fingers
programming error: programming error: cross thumbs, using: "latin1":
Continuing; crossing fingers
Layout output to `foo.tex'...
Converting to `foo.dvi'...
Converting to `foo.ps'...
Converting to `foo.pdf'...
[nk@Freud tmp]€ xpdf foo.pdf
and I see an 'a' note and
Hello
Test
Test
above it
I hope neotuli sees my comment in AUR about 2.6
Offline
Wild guess:
If you have usepackage{isolatin1} in your .tex file, remove it. Isolatin support is directly included in the new tetex.
Offline