Re: Errors with midi2ly and musicxml2ly

2019-11-20 Thread Noeck
Hi, Am 20.11.19 um 01:00 schrieb Aaron Hill: > "SKIP: %s\n" % `e` 2to3 is the way to go as others said before. In this particular case, rather than calling repr, the standard solution would be: "SKIP: %r\n" % e as %r uses the repr-form while %s the str-form. Cheers, Joram

Re: Errors with midi2ly and musicxml2ly

2019-11-20 Thread Aaron Hill
Forwarding for visibility... On 2019-11-20 12:57 pm, Артем Тартаковский wrote: There is another problem with musicxml2ly. It gives me an error: Traceback (most recent call last): File "musicxml2ly.py", line 3297, in ? main() File "musicxml2ly.py", line 3279, in main basefilename =

Re: Errors with midi2ly and musicxml2ly

2019-11-20 Thread Aaron Hill
A quick reminder for everyone to please keep all replies on the relevant mailing lists. Unless the topic is clearly a sensitive matter or someone has expressly requested private communication, always reply to the mailing

Re: Errors with midi2ly and musicxml2ly

2019-11-20 Thread Aaron Hill
On 2019-11-20 9:40 am, m.tarensk...@zonnet.nl wrote: There are more python2 vs python3 issues in those scripts than just that one. You can try to check ( and fix) using the 2to3 script. Fair point. I was only intending to address Артем's question on that specific bit of syntax. Or use

Re: Errors with midi2ly and musicxml2ly

2019-11-20 Thread m.tarensk...@zonnet.nl
Verzonden vanaf mijn Huawei mobiele telefoon Oorspronkelijk bericht Onderwerp: Re: Errors with midi2ly and musicxml2ly Van: m.tarensk...@zonnet.nl Aan: Aaron Hill Cc: There are more python2 vs python3 issues in those scripts than just that one. You

Re: Errors with midi2ly and musicxml2ly

2019-11-20 Thread Aaron Hill
On 2019-11-20 12:00 am, Артем Тартаковский wrote: ср, 20 нояб. 2019 г., 2:00 Aaron Hill : It's a compatibility issue between Python 2 and 3. The backtick operator was removed [1] in Python 3, in favor of the repr() procedure. [1]:

Re: Errors with midi2ly and musicxml2ly

2019-11-19 Thread Aaron Hill
On 2019-11-19 3:29 pm, Артем Тартаковский wrote: I've tried to convert a MIDI file into LilyPond (version 2-19.83-1) using the command prompt, but it gives me an error: File "C:\Program Files (x86)\LilyPond\usr\bin\midi2ly.py", line 545 sys.stderr.write ("SKIP: %s\n" % `e`)

Errors with midi2ly and musicxml2ly

2019-11-19 Thread Артем Тартаковский
I've tried to convert a MIDI file into LilyPond (version 2-19.83-1) using the command prompt, but it gives me an error: File "C:\Program Files (x86)\LilyPond\usr\bin\midi2ly.py", line 545 sys.stderr.write ("SKIP: %s\n" % `e`) ^ SyntaxError: invalid