lilypond-devel
[Top][All Lists]
Advanced

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

compilation error


From: Werner LEMBERG
Subject: compilation error
Date: Thu, 06 Nov 2008 07:11:24 +0100 (CET)

With current git:

  Reading MusicXML from 00a-Basics-Pitches.xml ...
  Converting to LilyPond expressions...
  Traceback (most recent call last):
    File "../../../scripts/musicxml2ly.py", line 2518, in <module>
      main()
    File "../../../scripts/musicxml2ly.py", line 2513, in main
      voices = convert (filename, options)
    File "../../../scripts/musicxml2ly.py", line 2432, in convert
      score = extract_score_structure (mxl_pl, staff_info)
    File "../../../scripts/musicxml2ly.py", line 311, in extract_score_structure
      score = musicexp.Score ()
  AttributeError: 'module' object has no attribute 'Score'

I'm using python 2.5.  Probably Jan's last change is problematic?

  --- a/python/musicexp.py
  +++ b/python/musicexp.py
  @@ -1618,7 +1618,7 @@ class RhythmicStaff (Staff):
       def __init__ (self, command = "RhythmicStaff"):
           Staff.__init__ (self, command)

  -class Score ():
  +class Score:
       def __init__ (self):
           self.contents = None
           self.create_midi = False


   Werner




reply via email to

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