2014-07-10 21:52 GMT+02:00 Federico Bruni <[email protected]>:
> See my file attached, all the measures are commented except the first and
> the problem is still present.
> This is not yet a minimal example. You should dig more. Try commenting
> staff 2 and leave only staff one. Be careful to comment in the right
> places; xmlcopyeditor will print a warning if there's something wrong. Run
> again musicxml2ly and see if the error is still present.
>
I reduced it to a single measure and I can import in Denemo. In Denemo I
see there's an upbeat or pickup at the beginning. Maybe this is what causes
trouble?
I've just tried musicxml2ly developed by philomelos¹ and I get a different
error:
Traceback (most recent call last):
File "./musicxml2ly", line 3369, in <module>
main()
File "./musicxml2ly", line 3363, in main
voices = convert (filename, options)
File "./musicxml2ly", line 3241, in convert
(voices, staff_info) = get_all_voices (parts)
File "./musicxml2ly", line 2837, in get_all_voices
part_ly_voices[n] = musicxml_voice_to_lily_voice (v)
File "./musicxml2ly", line 2644, in musicxml_voice_to_lily_voice
if (beamed == "begin" or slurred == "start") and
(len(voice._elements[idx+1].get_typed_children (musicxml.Lyric)) != 0):
IndexError: list index out of range
¹ https://github.com/Philomelos/lilypond-musicxml2ly-dev
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 2.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise>
<identification>
<encoding>
<software>MuseScore 1.2</software>
<encoding-date>2014-06-08</encoding-date>
</encoding>
</identification>
<defaults>
<scaling>
<millimeters>7.056</millimeters>
<tenths>40</tenths>
</scaling>
<page-layout>
<page-height>1683.67</page-height>
<page-width>1190.48</page-width>
<page-margins type="even">
<left-margin>56.6893</left-margin>
<right-margin>56.6893</right-margin>
<top-margin>56.6893</top-margin>
<bottom-margin>113.379</bottom-margin>
</page-margins>
<page-margins type="odd">
<left-margin>56.6893</left-margin>
<right-margin>56.6893</right-margin>
<top-margin>56.6893</top-margin>
<bottom-margin>113.379</bottom-margin>
</page-margins>
</page-layout>
</defaults>
<credit page="1">
<credit-words default-x="595.238" default-y="1626.98" font-size="24" justify="center" valign="top">Laudes et gratia miserachs organo</credit-words>
</credit>
<part-list>
<part-group type="start" number="1">
<group-symbol>brace</group-symbol>
</part-group>
<score-part id="P1">
<part-name>Organo</part-name>
<part-abbreviation>Org.</part-abbreviation>
<score-instrument id="P1-I3">
<instrument-name>Organo</instrument-name>
</score-instrument>
<midi-instrument id="P1-I3">
<midi-channel>1</midi-channel>
<midi-program>20</midi-program>
<volume>78.7402</volume>
<pan>0</pan>
</midi-instrument>
</score-part>
</part-list>
<part id="P1">
<measure number="1" width="178.05">
<print>
<system-layout>
<system-margins>
<left-margin>107.78</left-margin>
<right-margin>0.00</right-margin>
</system-margins>
<top-system-distance>214.12</top-system-distance>
</system-layout>
<staff-layout number="2">
<staff-distance>65.00</staff-distance>
</staff-layout>
</print>
<attributes>
<divisions>2</divisions>
<key>
<fifths>-1</fifths>
<mode>major</mode>
</key>
<time>
<beats>4</beats>
<beat-type>4</beat-type>
</time>
<staves>2</staves>
<clef number="1">
<sign>G</sign>
<line>2</line>
</clef>
<clef number="2">
<sign>F</sign>
<line>4</line>
</clef>
</attributes>
<note default-x="85.03" default-y="-25.00">
<pitch>
<step>A</step>
<octave>4</octave>
</pitch>
<duration>4</duration>
<voice>1</voice>
<type>half</type>
<stem>up</stem>
<staff>1</staff>
<notations>
<slur type="start" number="1"/>
</notations>
</note>
</measure>
</part>
</score-partwise>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user