On Wed, 30 Jan 2013, Adam Spiers wrote:

On Tue, Jan 29, 2013 at 09:26:16PM +0100, Martin Tarenskeen wrote:
On Tue, 29 Jan 2013, Adam Spiers wrote:
I'm happy to announce the release of ly2video 0.3.0.

I have tried it and it works nicely.

But something is wrong with --title-at-start. Could you check this?

That doesn't surprise me; I haven't tested the title code at all, and
it has been through many many refactorings.  I'll take a look.  It
would help if you could file an issue with a test case and some debug
though.

First I had an error message about an unreferenced variable "width"
This bug was easy to find. At line 1981 I changed width, height, and fps into options.width, options.height, options.fps:

    # generate title screen
    if options.titleAtStart:
        generateTitle(titleText, options.width, options.height, options.fps, 
titleLength)
        output_divider_line()

Then that error message was fixed, but now I get other error messages:

TITLE: ly2video will generate approx. 90 frames.
Traceback (most recent call last):
  File "./ly2video.py", line 2015, in <module>
    status = main()
  File "./ly2video.py", line 1983, in main
generateTitle(titleText, options.width, options.height, options.fps, titleLength)
  File "./ly2video.py", line 176, in generateTitle
    nameFont = ImageFont.truetype("arial.ttf", height / 15)
File "/usr/lib/python2.7/site-packages/PIL/ImageFont.py", line 218, in truetype
    return FreeTypeFont(filename, size, index, encoding)
File "/usr/lib/python2.7/site-packages/PIL/ImageFont.py", line 134, in __init__
    self.font = core.getfont(file, size, index, encoding)
IOError: cannot open resource

--

MT


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

Reply via email to