On Fri 29 Jan 2021 at 18:37:11 (+0100), Jean Abou Samra wrote: > > I got a .ly file claiming to be version 2.18.0 and opened it in LP > > version 2.22.0-1. When I did “Update syntax” I got these errors, > > and the version in the file did not change. > > > > [Image showing AttributeError: 'file' object has no attribute 'detach' > > I can typeset the file with no problems. > > > > I thought you should know. > > This is a serious problem. The error indicates that > Python 2 is being used. The scripts were ported to > Python 3 in release 2.22. What is your OS? How are > you running convert-ly? Does it reproduce in a terminal? > (Try running 'convert-ly myfile.ly' there.)
>From the report above and the Usage manual's "but MacOS X users can also execute this command directly under the menu entry Compile > Update syntax", I would guess they're on a Mac, but I don't know which flavour. > Eventually this should be made a bug report to the > bug-lilypond list (see lilypond.org/contact.html). Cheers, David.
