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


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

Reply via email to