lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: musicxml2ly from sibelius


From: Nils
Subject: Re: musicxml2ly from sibelius
Date: Wed, 11 Apr 2012 09:25:16 +0200

On Mon, 9 Apr 2012 21:34:18 -0700
Josiah Boothby <address@hidden> wrote:

> A composer recently gave me a messy part he'd prepared with Sibelius,
> and I asked him for a musicxml file on the off chance that it might
> work in Lilypond and I could clean it up. With Lilypond 2.15.36
> (Slackware 13.37, x86), I get the error below along with no output
> file. I tried the prebuilt lilypond stable as well, and the only
> difference in the console output are line numbers in the musicxml2ly
> script. Should I send this to the bugs list, or is there something I
> can do as a user (without access to Sibelius) to improve the
> likelihood of getting this to work?
> 
> # # # # # Console Output
> 
> $ musicxml2ly -v --loglevel=DEBUG --nd --nrp --npl --no-beaming -o
> moore.ly moore.xml
> Setting loglevel to DEBUG
> musicxml2ly: Reading MusicXML from moore.xml ...
> musicxml2ly: Converting to LilyPond expressions...
> Traceback (most recent call last):
>   File "/usr/bin/musicxml2ly", line 2984, in <module>
>     main()
>   File "/usr/bin/musicxml2ly", line 2979, in main
>     voices = convert (filename, options)
>   File "/usr/bin/musicxml2ly", line 2885, in convert
>     (voices, staff_info) = get_all_voices (parts)
>   File "/usr/bin/musicxml2ly", line 2572, in get_all_voices
>     part_ly_voices[n] = musicxml_voice_to_lily_voice (v)
>   File "/usr/bin/musicxml2ly", line 2174, in musicxml_voice_to_lily_voice
>     for a in musicxml_direction_to_lily (n):
>   File "/usr/bin/musicxml2ly", line 1534, in musicxml_direction_to_lily
>     ev = tmp_tp (entry)
>   File "/usr/bin/musicxml2ly", line 1465, in musicxml_metronome_to_ly
>     if isinstance (children[index], musicxml.BeatUnitDot):
> IndexError: list index out of range
> 
> # # # # # End Console Output

That is a python error, a bug in the musicxml2ly script.
children is a list and index is a number but the number is higher than the list 
has items.
Can't tell more from just that exception.

Nils



reply via email to

[Prev in Thread] Current Thread [Next in Thread]