Bonjour à tous,
Depuis quelque temps (depuis de la version 2.21.0 sur Mac/10.14.6), je
n’arrive plus à utiliser la fonction convert-ly.
De la version 2.16 à 2.20 inclus, ça marche, c’est après que ça se
corse et j’obtiens les messages suivants :
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
convert-ly (GNU LilyPond) *2.20.0*
convert-ly: Processing `'...
Applying conversion: 2.20.0
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/Applications/LilyPond
*2.21.0*-1/LilyPond.app/Contents/Resources/bin/convert-ly", line 65,
in <module>
import lilylib as ly
File "/Applications/LilyPond
2.21.0-1/LilyPond.app/Contents/Resources/share/lilypond/current/python/lilylib.py",
line 169
print('command failed:', cmd, file=sys.stderr)
^
SyntaxError: invalid syntax
The document has not been changed.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/Applications/LilyPond
*2.22.0*-1/LilyPond.app/Contents/Resources/bin/convert-ly", line 81,
in <module>
import convertrules
File "/Applications/LilyPond
2.22.0-1/LilyPond.app/Contents/Resources/share/lilypond/current/python/convertrules.py",
line 27, in <module>
import lilylib
File "/Applications/LilyPond
2.22.0-1/LilyPond.app/Contents/Resources/share/lilypond/current/python/lilylib.py",
line 30, in <module>
sys.stdin = codecs.getreader('utf8')(sys.stdin.detach())
AttributeError: 'file' object has no attribute 'detach'
The document has not been changed.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/Applications/LilyPond
*2.23.6*-1/LilyPond.app/Contents/Resources/bin/convert-ly", line 82,
in <module>
import convertrules
File "/Applications/LilyPond
2.23.6-1/LilyPond.app/Contents/Resources/share/lilypond/current/python/convertrules.py",
line 27, in <module>
import lilylib
File "/Applications/LilyPond
2.23.6-1/LilyPond.app/Contents/Resources/share/lilypond/current/python/lilylib.py",
line 26, in <module>
sys.stdin = codecs.getreader('utf-8')(sys.stdin.detach())
AttributeError: 'file' object has no attribute 'detach'
The document has not been changed.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Le même dans Lilypond :
Traceback (most recent call last):
File "/Applications/LilyPond
*2.23.6*-1/LilyPond.app/Contents/Resources/bin/convert-ly", line 25,
in <module>
import io
ImportError: No module named io
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/Applications/lilypond-*2.23.7*/bin/convert-ly", line 3, in <module>
exec "$root/libexec/python3.9" "$root/libexec/convert-ly" "$@"
File "<string>", line 1
$root/libexec/python3.9$root/libexec/convert-ly$@
^
SyntaxError: invalid syntax
The document has not been changed.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
etc.
D’où peut venir ce problème ? j’utilise Frescobaldi (bloqué à 3.0, les
versions suivantes ne marchent pas sur mon Mac, pb de
“QtWebEngineProcess” non résolu et pas de nouvelles depuis un moment) ?
Lilypond ? MacOs ?