[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with convert-ly
From: |
Dr A V Le Blanc |
Subject: |
Problems with convert-ly |
Date: |
Fri, 19 Mar 2004 08:15:13 +0000 |
User-agent: |
Mutt/1.5.4i |
I have quite a lot of lilypond source that I did back in the
1.3 and 1.6.6 days. I have almost nothing that convert-ly will
process, since it usually produces errors like those below.
(By the way, this is lilypond 2.1.0, running on a Debian woody
system with some later versions of, e.g., guile.)
I discovered from the man page that you can use convert-ly to
change things only up to a particular version of lilypond.
Using this I have been able to convert things up to 1.7.28, but
there things stop; not a single piece of music will convert
from 1.7.28 to 1.9.0 or later. Is there no way to get round this?
Must all music be reentered from scratch, or is it possible to
get convert-ly to do _something_?
-- Owen
address@hidden
/usr/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/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/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.0
Processing `buzzer.ly' ... Applying conversions: 1.9.0, Traceback (most recent
call last):
File "/usr/bin/convert-ly", line 1751, in ?
do_one_file (f)
File "/usr/bin/convert-ly", line 1690, in do_one_file
touched = do_conversion (infile, from_version, outfile, to_version)
File "/usr/bin/convert-ly", line 1636, in do_conversion
str = x[1] (str)
File "/usr/bin/convert-ly", line 1423, in conv
str = sub_chords (str)
File "/usr/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/bin/convert-ly", line 1272, in sub_chord
str = re.sub ("([a-z]+[,'!? ]*)([0-9.]+)", sub_durs, 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/bin/convert-ly", line 1269, in sub_durs
durs.append(m.group(2))
NameError: global name 'durs' is not defined
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Problems with convert-ly,
Dr A V Le Blanc <=