With your file I get
joyful-joyful-we-adore-thee.ly:23:10:
error: cannot find file: `include_solfege-engraver.ly'
joyful-joyful-we-adore-thee.ly:107:10:
error: cannot find file: `include_extract-music.ly'
error: unknown escaped string:
`\ePU'
This is running 2.19.11
--
Phil Holmes
----- Original Message -----
Sent: Monday, September 01,
2014 2:58 PM
Subject: Wrong type
argument
I uninstall v2.19.12 and install v19.13 and run a lily
file and I got the following error. I then run convert-ly;
re-run and got the same error.
The .ly file run without error in v2.19.12.
Emmanuel,
Ming.
Starting lilypond-windows.exe
2.19.13 [joyful-joyful-we-adore-thee.ly]...
Processing
`C:/Users/Tsang/Dropbox/Lyndon/HYMN/CP_002/joyful-joyful-we-adore-thee.ly'
Parsing...
Interpreting
music...
Interpreting
music...
Interpreting
music...
Interpreting
music...
Exited with
return code 1.
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
Ming,
Even if you remove the 'includes' lines you still have some
variables referenced that are not in the email.
Doing some very basic troubleshooting I also get
test.ly:36:28: In procedure ly:pitch-notename in _expression_
(ly:pitch-notename tonic-pitch):
test.ly:36:28: Wrong type argument in position 1 (expecting Pitch):
()
and this 'test.ly:36:28' refers to a line in my test.ly file with
your code cut and paste. and this line is included in the
solfege-engraver function.
#(define (solfege-engraver lst dir)
(make-engraver
(acknowledgers
((note-head-interface engraver grob source)
(let* (
(context (ly:translator-context engraver))
(tonic-pitch (ly:context-property context 'tonic))
(tonic-index (ly:pitch-notename tonic-pitch))
<------- HERE IS THE LINE BEING REFERENCED!!!!!!!
(event (ly:grob-property grob 'cause))
(event-copy (ly:event-deep-copy event))
(grob-pitch (ly:event-property event 'pitch))
(grob-index (ly:pitch-notename grob-pitch))
(delta (modulo (- grob-index tonic-index) 7))
(name (list-ref lst delta))
(newgrob (ly:engraver-make-grob engraver 'TextScript
event-copy)))
;; clear 'tweaks for newgrob
;; (ly:event-set-property! event-copy 'tweaks '())
(if (string= name "Hb") (set! name "B"))
;; Give newgrob 'outside-staff-priority depending on
;; grob 'staff-position
(set! (ly:grob-property newgrob 'outside-staff-priority)
(+ (ly:grob-property newgrob 'outside-staff-priority)
(* dir (ly:grob-property grob 'staff-position))))
(set! (ly:grob-property newgrob 'text) name)
(set! (ly:grob-property newgrob 'direction) dir) )))))
but unless you can simplify this example, I am not sure if anyone
can help (they might be able to guess).
Now I also rememeber a change to this solfege engraver being
discussed in June
http://lists.gnu.org/archive/html/lilypond-user/2014-06/msg00640.html
But I don't use this so I don't know if this is the same as the one
you are using or if you have some other issue.
Simplifying your example would help.
James