bug-lilypond
[Top][All Lists]
Advanced

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

Re: Problem with convert-ly


From: Julien Rioux
Subject: Re: Problem with convert-ly
Date: Fri, 13 Jan 2012 12:00:57 -0500
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1

On 13/01/2012 10:44 AM, Francisco Vila wrote:
Hello,

When trying to use convert-ly I obtain

$ convert-ly test.ly
convert-ly (GNU LilyPond) 2.15.25
convert-ly: Procesando «test.ly»...
Traceback (most recent call last):
   File "/usr/local/bin/convert-ly", line 369, in<module>
     main ()
   File "/usr/local/bin/convert-ly", line 357, in main
     do_one_file (f)
   File "/usr/local/bin/convert-ly", line 273, in do_one_file
     (last, result) = do_conversion (input, from_version, to_version)
   File "/usr/local/bin/convert-ly", line 203, in do_conversion
     ly.progress (_ ("Applying conversion: "), newline = False)
TypeError: progress() got an unexpected keyword argument 'newline'


The line in question is following git-blame

   86c0609e scripts/convert-ly.py     (Julien Rioux       2011-12-14
08:40:02 -0500 184)     ly.progress (_ ("Applying conversion: "),
newline = False)

It is latest git self-compiled lilypond as of today.

I'm not sure why, but it looks like convert-ly.py and lilylib.py are out-of-sync. Could it be that python imports lilylib from a different version of lilypond? Could you please find the line

    identify ()

in convert-ly.py (line 346 here) and add below

    print "lilylib imported from", ly.__file__
    exit()

Then run the script and see what you get?

Thanks,
Regards,
Julien




reply via email to

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