Shevek <s...@saultobin.com> writes:

> I've recently started getting "ERROR: Wrong type (expecting pair): ()"
> when I compile the code for a rather large (5000+ lines) project, and
> I have no idea how to fix it. There is no line reference, and no
> indication what causes this problem. Google searches seem to indicate
> that it is a very generic Scheme error, which is no help at all. Is
> there any way I can identify the problem, or at least narrow down what
> might be causing it?  Interestingly, the layout score block is
> compiling fine, it's just the midi score block that is throwing the
> error (I have separate \score's for midi and layout).

There have been a number of changes to Scheme function syntax.  If your
file properly contains a
\version "x.xx.xx"
line corresponding to the last version _that_ _actually_ _compiled_, try
running

    convert-ly -ed

on the file.

-- 
David Kastrup


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to