lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ANNOUNCE] ly2video 0.3.0


From: Martin Tarenskeen
Subject: Re: [ANNOUNCE] ly2video 0.3.0
Date: Wed, 30 Jan 2013 08:50:30 +0100 (CET)
User-agent: Alpine 2.03 (LFD 1266 2009-07-14)



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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]