Le 26/03/2021 à 17:28, Jacques Menu a écrit :
Hello folks,
I have the following version:
menu@macbookprojm: ~/libmusicxml-git/soundnotation/Beispiel1 > lilypond -v
GNU LilyPond 2.20.0
Copyright (c) 1996--2015 by
Han-Wen Nienhuys <[email protected]>
Jan Nieuwenhuizen <[email protected]>
and others.
This program is free software. It is covered by the GNU General Public
License and you are welcome to change it and/or distribute copies of it
under certain conditions. Invoke as `lilypond --warranty' for more
information.
When I run musicxml2ly, I get:
menu@macbookprojm: ~/libmusicxml-git/soundnotation/Beispiel1 > musicxml2ly
Beispiel-1.xml
File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line
2264
if current_staff and staff <> current_staff and not
n.get_maybe_exist_named_child('chord'):
^
SyntaxError: invalid syntax
menu@macbookprojm: ~/libmusicxml-git/soundnotation/Beispiel1 >
Have there been evolutions in musicxml2ly recently?
JM
Hi Jacques,
Apparently the script is being run by Python 3.
Until the latest stable version, namely 2.22,
musicxml2ly et al. were Python 2-only (and not
even Python 2.7 but 2.4). They got ported by Jonas.
I don't have a clue why the wrong version is
picked, but would you try with version 2.22?
(Assuming that you can actually execute it, which
doesn't seem granted from your previous message
about mysterious Mac OS installation problems...)
Cheers,
Jean