Re: ERROR: Wrong type (expecting pair): ()

2011-11-26 Thread David Kastrup
Shevek writes: > > Reinhold Kainhofer wrote: > Try enabling guile's debug mode. A while ago, the debug mode was > turned off in lilypond, because it adds some performance penalty. > But without debug mode, guile does not print out line numbers for > scheme errors. We have

Re: ERROR: Wrong type (expecting pair): ()

2011-11-26 Thread Graham Percival
On Sat, Nov 26, 2011 at 03:24:42PM -0800, Shevek wrote: > > Out of 5000+ lines of code with no idea where to start? That's looking for a > needle in a haystack. I was hoping someone might be able to suggest the sort > of thing that can cause this error, so I at least know what color the needle > i

Re: ERROR: Wrong type (expecting pair): ()

2011-11-26 Thread Shevek
Graham Percival-3 wrote: > > Construct a tiny example. > http://lilypond.org/tiny-examples.html > >> The error message is at the very end of the debug output. I would love to >> post some relevant code, but I have no idea where to even start looking. >> Do >> you understand these error message

Re: ERROR: Wrong type (expecting pair): ()

2011-11-26 Thread Graham Percival
On Sat, Nov 26, 2011 at 03:03:31PM -0800, Shevek wrote: > > Aha, line numbers are indeed progress. However, the line numbers for the > error are in some lilypond library file, so that's unhelpful in tracking > down the problem. Here's the relevant part of the compile messages: > > /usr/local/lily

Re: ERROR: Wrong type (expecting pair): ()

2011-11-26 Thread Shevek
Reinhold Kainhofer wrote: > > Try enabling guile's debug mode. A while ago, the debug mode was turned > off in lilypond, because it adds some performance penalty. But without > debug mode, guile does not print out line numbers for scheme errors. We > have recently enabled debug miode again. >

Re: ERROR: Wrong type (expecting pair): ()

2011-11-26 Thread Reinhold Kainhofer
- Ursprüngliche Mitteilung - > > 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 Try ena

Re: ERROR: Wrong type (expecting pair): ()

2011-11-26 Thread David Kastrup
Shevek writes: > David Kastrup wrote: >> >> 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 fil

Re: ERROR: Wrong type (expecting pair): ()

2011-11-26 Thread Shevek
David Kastrup wrote: > > 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. > Thanks for the quic

Re: ERROR: Wrong type (expecting pair): ()

2011-11-26 Thread David Kastrup
Shevek 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 indicat