[NTG-context] SOLVED: too many open files

Aditya Mahajan adityam at umich.edu
Thu Aug 15 18:23:54 CEST 2013


On Thu, 15 Aug 2013, Henning Hraban Ramm wrote:

> in my current songbook project I use t-filter with LilyPond as shown in http://wiki.contextgarden.net/LilyPond with latest beta MkIV on OSX.

OT: The thriddata.parselilypondfile(..) function is convoluted. Instead of

  for ts in io.lines(scname) do
      syco = ts*1
   end

you should use

   syco = tonumber(io.loaddata(scname)) or 0

Aditya


More information about the ntg-context mailing list