Hallo Martin!

Beachte bitte, daß wir ausschließlich Englisch auf dieser E-Mail-Liste
verwenden, was ich auch in meiner Antwort verwende.

> ich bekomme folgenden Fehler beim Import einer musicxml-Datei:
> NameError: name 'mxl_note' is not defined. Did you mean: 'Xml_node'?
> Wurde mit dem Return-Code 1 beendet.
> Angehängt ist das komplette Log sowie die Quelldatei.
> Installierte Frescobaldi Version = 3.3.0
> Installierte Lilypond-Version = 2.24.3
> Installierte Python-Version = Python 3.12.3

Thanks for the report.  The next time please try the latest LilyPond
development version (i.e., 2.25.27) for `musicxml2ly`; I'm actively
working on it, and it made a lot of progress in the last time.

Unfortunately, your file makes the current version of `musicxml2ly`
hang.  I'll analyze this within the next few days and try to provide a
fix.

Note, however, that your input file is invalid.  It makes the current
MuseScore version crash (which shouldn't happen), and importing it
into Finale shows many errors – for example, line 486 is invalid:

```
<note>
  <rest/>
  <duration>0</duration>
</note>
```

According to the MusicXML standard, the duration must be a positive
number; value 0 is not allowed.  While crashes or hangs are not nice,
you must not expect that you get decent output with such a buggy input
file...


    Werner

Reply via email to