Hi. Version 2.1.34 of convert-ly appears broken. I see: convert-ly (GNU LilyPond) 2.1.34 Processing `CwmRhondda-old.ly' ... Applying conversions: 1.5.33, 1.5.38, 1.5.40, 1.5.49, 1.5.52, 1.5.56, 1.5.58, 1.5.59, 1.5.62, 1.5.67, 1.5.68, 1.5.71, 1.5.72, 1.6.5, 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, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 1.9.8, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.7, 2.1.10, 2.1.11, 2.1.12, 2.1.13, 2.1.14, 2.1.15, 2.1.16, 2.1.17, 2.1.18, 2.1.19, 2.1.20, 2.1.21, 2.1.22, 2.1.23, 2.1.24, 2.1.25, 2.1.26, 2.1.27, 2.1.28, 2.1.29, 2.1.30, 2.1.31, 2.1.33, Traceback (most recent call last): File "/usr/bin/convert-ly", line 2171, in ? do_one_file (f) File "/usr/bin/convert-ly", line 2110, in do_one_file touched = do_conversion (infile, from_version, outfile, to_version) File "/usr/bin/convert-ly", line 2056, in do_conversion str = x[1] (str) File "/usr/bin/convert-ly", line 2027, in conv + "#(make-vector 3 '\g<list>)", str) File "/usr/lib/python2.3/sre.py", line 143, in sub return _compile(pattern, 0).sub(repl, string, count) File "/usr/lib/python2.3/sre.py", line 229, in _compile raise error, v # invalid expression sre_constants.error: unbalanced parenthesis
This appears to be str = re.sub (r"(\\set)\s+)?(?P<context>(Score\.)?)breakAlignOrder\s*=\s*#'(?P<list>[^\)]+)", r"\n\\override \g<context>BreakAlignment #'break-align-orders = " + "#(make-vector 3 '\g<list>)", str) Which I suspect should be str = re.sub (r"(\\set\s+)?(?P<context>(Score\.)?)breakAlignOrder\s*=\s*#'(?P<list>[^\)]+)", r"\n\\override \g<context>BreakAlignment #'break-align-orders = " + "#(make-vector 3 '\g<list>)", str) _______________________________________________ Bug-lilypond mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-lilypond