[Top][All Lists]

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

Re: musicxml2ly bug

From: Graham Percival
Subject: Re: musicxml2ly bug
Date: Fri, 05 Jan 2007 12:30:23 -0800
User-agent: Thunderbird (Macintosh/20061207)

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 ?
    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">



lilypond-devel mailing list

reply via email to

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