[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
convert-ly bug in 2.1.33/34 ?
From: |
Matthias Neeracher |
Subject: |
convert-ly bug in 2.1.33/34 ? |
Date: |
Thu, 25 Mar 2004 00:18:54 -0800 |
I'm getting errors in convert-ly in 2.1.33 and 2.1.34:
Processing `Afterhours.ly' ... Applying conversions: 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 "/sw/bin/convert-ly", line 2171, in ?
do_one_file (f)
File "/sw/bin/convert-ly", line 2110, in do_one_file
touched = do_conversion (infile, from_version, outfile, to_version)
File "/sw/bin/convert-ly", line 2056, in do_conversion
str = x[1] (str)
File "/sw/bin/convert-ly", line 2027, in conv
+ "#\(make-vector 3 '\g<list>\)", str)
File "/sw/lib/python2.3/sre.py", line 143, in sub
return _compile(pattern, 0).sub(repl, string, count)
File "/sw/lib/python2.3/sre.py", line 229, in _compile
raise error, v # invalid expression
sre_constants.error: unbalanced parenthesis
The offending statement seems 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 to my not very python-trained eye really seems to have a missing
( at the beginning of the regexp. Inserting one caused the script to
run without complaints, but I'm not 100% sure that was the right thing
to do.
Matthias
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- convert-ly bug in 2.1.33/34 ?,
Matthias Neeracher <=