Re: musicxml2ly fails on line 824 -> dirty fix

2024-07-16 Thread Werner LEMBERG
> I'm surprised by your answer as with 2.24.3 there is a clear error > and with the fix I proposed the output is usable (also far from > being perfect). Please define 'usable': I've tried to execute `musicxml2ly` from version 2.24.3 on your input file, and I couldn't process the output `.ly` fil

Re: musicxml2ly fails on line 824 -> dirty fix

2024-07-16 Thread Élie Gouzien
Thanks for the answer, I'm surprised by your answer as with 2.24.3 there is a clear error and with the fix I proposed the output is usable (also far from being perfect). Anyway, please don't consider it as a help request, as I'm aware that the file is invalid, but as a bug fix proposal. So if you

Re: musicxml2ly fails on line 824 -> dirty fix

2024-07-16 Thread Werner LEMBERG
> Hello, I have a file for which `musicxml2ly` fails, because in line > 824 variable `i2` is `None`. Changing line 824 from `if i1 > i2:` > to `if not i2 or i1 > i2:` fixed my issue. > > I'm sorry, but I don't have time to investigate this issue more > (just went in "don't think, fix it mode").

Re: musicxml2ly fails on line 824 -> dirty fix

2024-06-24 Thread Werner LEMBERG
> Hello, I have a file for which `musicxml2ly` fails, because in line 824 > variable `i2` is `None`. Which LilyPond version? And yes, please provide the input file for testing (you might send it privately to me if necessary). Werner

musicxml2ly fails on line 824 -> dirty fix

2024-06-24 Thread Élie Gouzien
Hello, I have a file for which `musicxml2ly` fails, because in line 824 variable `i2` is `None`. Changing line 824 from `if i1 > i2:` to `if not i2 or i1 > i2:` fixed my issue. I'm sorry, but I don't have time to investigate this issue more (just went in "don't think, fix it mode"). I can't guaran