I'm not certain what to do with this report. I'd normally ask for a small snippet, but I don't know if it's easy to produce one with musicxml. OTOH, a 151Kb .xml file seems a bit large to add to the bug tracker.


Werner LEMBERG wrote:
[lilypond 2.11.7]

I've just received the attached MusicXML file for testing purposes.
Trying musicxml2ly on this file, the script aborts with

  Traceback (most recent call last):
    File "/usr/local/bin/musicxml2ly", line 656, in ?
      main()
    File "/usr/local/bin/musicxml2ly", line 653, in main
      voices = convert (args[0], options)
    File "/usr/local/bin/musicxml2ly", line 614, in convert
      voices = get_all_voices (parts)
    File "/usr/local/bin/musicxml2ly", line 465, in get_all_voices
      part_ly_voices[n] = (musicxml_voice_to_lily_voice (v), v)
    File "/usr/local/bin/musicxml2ly", line 333, in musicxml_voice_to_lily_voice
      num = int (n.get_parent ().number)
  ValueError: invalid literal for int(): 22A

And indeed, the corresponding XML snippet shows this:

  <measure number="21">
  ...
  <measure number="22">
  ...
  <measure number="22A" non-controlling="yes">
  ...


     Werner


------------------------------------------------------------------------

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to