bug-lilypond
[Top][All Lists]
Advanced

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

Re: musicxml2ly unitialised variable


From: Raphael Mankin
Subject: Re: musicxml2ly unitialised variable
Date: Wed, 25 Sep 2024 15:50:33 +0100
User-agent: Mozilla Thunderbird



On 25/09/2024 14:36, Werner LEMBERG wrote:

I am converting a PDF to XML with Musescore and then trying to
import it into Lilypond.  The original PDF is not the most
marvellous, but this fails at the import stage with an "Unbound
local variable" error.

Your `score.xml` file is not a valid MusicXML file: It contains stuff
like

```
<duration>4/4</duration>
```

but the `<duration>` element only accepts decimal values (and integers
are preferred according to the MusicXML specification).

It actually looks like this file is what MuseScore uses internally for
storing its data (it starts with a `<museScore>` tag).  This doesn't
work with `musicxml2ly`; you have to explicitly *export* to MusicXML.

Maybe you've attached the wrong file to the bug report?


I will try again and see.
Thanks for the quick response.



reply via email to

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