On Thu, 10 Sept 2026, Knute Snortum wrote:

> I'm not sure where to post this...
>
> When I try to run convert-ly on any file, I get the following error:
>
> ###
>
> convert-ly (GNU LilyPond) 2.27.3
>
>
> convert-ly: Processing `'...
>
> Applying conversion: 2.26.0, 2.27.0, 2.27.3
>
> Traceback (most recent call last):
>
> File "/home/knute/lilypond/lilypond-2.27.3/bin/../libexec/convert-ly",
> line 456, in <module>
>
> main()
>
> ~~~~^^
>
> File "/home/knute/lilypond/lilypond-2.27.3/bin/../libexec/convert-ly",
> line 440, in main
>
> errors += do_one_file(f)
>
> ~~~~~~~~~~~^^^
>
> File "/home/knute/lilypond/lilypond-2.27.3/bin/../libexec/convert-ly",
> line 351, in do_one_file
>
> do_conversion(input, from_version, to_version)
>
> ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> File "/home/knute/lilypond/lilypond-2.27.3/bin/../libexec/convert-ly",
> line 257, in do_conversion
>
> newstr = x[1](s)
>
> File
> "/home/knute/lilypond/lilypond-2.27.3/share/lilypond/2.27.3/python/convertrules.py",
> line 5702, in conv
>
> s = re.sub(r'ly:book\?',r'ly:book-or-bookpart?')
>
> TypeError: sub() missing 1 required positional argument: 'string'
>
>
>
> The document has not been changed.
>
> ###
>

I am getting the same error message when I try to run convert-ly from
2.27.1 to 2.27.3.

On Thu, 10 Sept 2026, David Kastrup wrote:

> I just merged a fix, but the public will likely not get to see it before
> 2.27.4.  This should never have happened.  Sorry.
>

Thank you, David, for submitting the fix.

https://gitlab.com/lilypond/lilypond/-/merge_requests/3147

For now, should I just use 2.27.2 instead of 2.27.3?

Reply via email to