Sorry about the length of this: In outline: I tried to use  musicxml2ly  on
a  xml  file.
This ran with no error, but when I ran  lilypond on the result,  I got a
flood of warnings
& then a fatal error & no output.  I append the (truncated) error report I
hope.

Unfortunately I do not know any way to produce a small  xml  that will give
this error.
The file I wanted was "O holy night" by Adolphe Adam (translated into
English) adapted
by P. Le Bas.
It came from this address:


https://www.cpdl.org/wiki/index.php/Minuit,_chr%C3%A9tiens_(O_Holy_Night)_(Adolphe_Charles_Adam)#In_English_translation.2C_.22O_Holy_Night.22

& it was the first item listed.  It was available in  pdf  , mid  ,  mp3 ,
xml  and  sib.
jsonformatter.org   said it is a valid  xml  file. The  pdf  looks good.  I
tried  midi2ly
& the result was really weird.  Please any advice?
rmd@rmd:~/Music/night$ musicxml2ly O\ Holy\ Night\ -\ NP.xml 
musicxml2ly: Reading MusicXML from O Holy Night - NP.xml ...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: warning: Negative skip -3/2 (from position 249/2 to 123)
musicxml2ly: warning: Negative skip -9/8 (from position 993/8 to 123)


[ 350 similar errors]


musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: warning: Negative skip -1 (from position 275/2 to 273/2)
musicxml2ly: Converting to LilyPond expressions...
Traceback (most recent call last):
  File "/usr/bin/musicxml2ly", line 2986, in <module>
    main()
  File "/usr/bin/musicxml2ly", line 2981, in main
    voices = convert (filename, options)
  File "/usr/bin/musicxml2ly", line 2892, in convert
    score = extract_score_structure (mxl_pl, staff_info)
  File "/usr/bin/musicxml2ly", line 430, in extract_score_structure
    staff = read_score_part (el)
  File "/usr/bin/musicxml2ly", line 383, in read_score_part
    staff.instrument_name = extract_display_text (partname)
  File "/usr/bin/musicxml2ly", line 907, in extract_display_text
    child = el.get_maybe_exist_named_child ("display-text")
  File "/usr/share/lilypond/2.18.2/python/musicxml.py", line 114, in 
get_maybe_exist_named_child
    return self.get_maybe_exist_typed_child (get_class (name))
  File "/usr/share/lilypond/2.18.2/python/musicxml.py", line 123, in 
get_maybe_exist_typed_child
    raise "More than 1 child", klass
TypeError: exceptions must be old-style classes or derived from BaseException, 
not str
rmd@rmd:~/Music/night$ 

Reply via email to