[Top][All Lists]

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

musicxml2ly bug

From: Werner LEMBERG
Subject: musicxml2ly bug
Date: Thu, 04 Jan 2007 00:40:16 +0100 (CET)

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


Attachment: Seite-98 aus Cavalleria.xml.bz2
Description: Binary data

reply via email to

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