lilypond-devel
[Top][All Lists]
Advanced

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

convert-ly bug


From: Werner LEMBERG
Subject: convert-ly bug
Date: Wed, 21 Jan 2004 22:10:43 +0100 (CET)

[CVS 2004-01-21 19:41 MET]

See below for a backtrace.  I use python 2.1.1.  If necessary, I can
send the input file to you privately.


    Werner

======================================================================

address@hidden:~/l/orgel> convert-ly orgel.ly.old > orgel.ly
/usr/local/bin/convert-ly:1254: SyntaxWarning: local name 'slur_strs' in 
'sub_chord' shadows use of 'slur_strs' as global in nested scope 'sub_tremolos'
  def sub_chord (m):
/usr/local/bin/convert-ly:1254: SyntaxWarning: local name 'durs' in 'sub_chord' 
shadows use of 'durs' as global in nested scope 'sub_durs'
  def sub_chord (m):
/usr/local/bin/convert-ly:1254: SyntaxWarning: local name 'dyns' in 'sub_chord' 
shadows use of 'dyns' as global in nested scope 'sub_dyn_end'
  def sub_chord (m):
convert-ly (GNU LilyPond) 2.1.13.hwn1
Processing `orgel.ly.old' ... Applying conversions: 1.7.1, 1.7.2, 1.7.3, 1.7.4, 
1.7.5, 1.7.6, 1.7.10, 1.7.11, 1.7.13, 1.7.15, 1.7.16, 1.7.17, 1.7.18, 1.7.19, 
1.7.22, 1.7.23, 1.7.24, 1.7.28, 1.9.0, Traceback (most recent call last):
  File "/usr/local/bin/convert-ly", line 1841, in ?
    do_one_file (f)
  File "/usr/local/bin/convert-ly", line 1780, in do_one_file
    touched = do_conversion (infile, from_version, outfile, to_version)
  File "/usr/local/bin/convert-ly", line 1726, in do_conversion
    str = x[1] (str)
  File "/usr/local/bin/convert-ly", line 1423, in conv
    str = sub_chords (str)
  File "/usr/local/bin/convert-ly", line 1385, in sub_chords
    str = re.sub (r'<([^<>{}]+)>', sub_chord, str)
  File "/usr/lib/python2.1/sre.py", line 63, in sub
    return _compile(pattern, 0).sub(repl, string, count)
  File "/usr/lib/python2.1/sre.py", line 164, in _sub
    return _subn(pattern, template, string, count)[0]
  File "/usr/lib/python2.1/sre.py", line 185, in _subn
    append(filter(m))
  File "/usr/local/bin/convert-ly", line 1320, in sub_chord
    sub_begin_slurs, str)
  File "/usr/lib/python2.1/sre.py", line 63, in sub
    return _compile(pattern, 0).sub(repl, string, count)
  File "/usr/lib/python2.1/sre.py", line 164, in _sub
    return _subn(pattern, template, string, count)[0]
  File "/usr/lib/python2.1/sre.py", line 185, in _subn
    append(filter(m))
  File "/usr/local/bin/convert-ly", line 1315, in sub_begin_slurs
    if '-(' not in slur_strs:
NameError: global name 'slur_strs' is not defined




reply via email to

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