lilypond-user
[Top][All Lists]
Advanced

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

Re: XML2Liliypond conversion


From: Patrick Schmidt
Subject: Re: XML2Liliypond conversion
Date: Tue, 22 Jun 2010 19:38:40 +0200

Correct me if I'm wrong but I don't think that musicxml2ly can read .capx-files. It can handle .xml and .mxl-files, though. But you can import .cap(x)-files with MuseScore and export them as .ly-files. MuseScore converts to LilyPond Version 2.12.0. You can update it with convert-ly. You'll probably need to edit the resulting .ly-files. In my tests the results were not too bad.

hth,
patrick
Am 22.06.2010 um 17:51 schrieb Maarten de Keijzer:

I am using Lilypond on an XP machine, and I am trying to convert some (compressed) XML files from Capella.

But all ends each time with the same error messages:



C:\Temp\nc\XML>musicxml2ly -v Yes.capx

Reading MusicXML from Yes.capx ...

Traceback (most recent call last):

File "C:\Program Files\Easy LilyPond\LilyPond\usr\bin \musicxml2ly.py", line 1927, in ? main()

File "C:\Program Files\Easy LilyPond\LilyPond\usr\bin \musicxml2ly.py", line 1922, in main voices = convert (filename, options)

File "C:\Program Files\Easy LilyPond\LilyPond\usr\bin \musicxml2ly.py", line 1841, in convert tree = read_musicxml (filename, options.compressed, options.use_lxml)

File "C:\Program Files\Easy LilyPond\LilyPond\usr\bin \musicxml2ly.py", line 1835, in read_musicxml return read_xml (io_object, use_lxml)

File "C:\Program Files\Easy LilyPond\LilyPond\usr\bin \musicxml2ly.py", line 1804, in read_xml doc = minidom.parse (io_object)

File "C:\Program Files\LilyPond\usr\lib\python2.4\xml\dom \minidom.py", line 1915, in parse return expatbuilder.parse(file)

File "C:\Program Files\LilyPond\usr\lib\python2.4\xml\dom \expatbuilder.py", line 924, in parse result = builder.parseFile (fp)

File "C:\Program Files\LilyPond\usr\lib\python2.4\xml\dom \expatbuilder.py", line 207, in parseFile parser.Parse(buffer, 0)

xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 2



Can someone tell what is wrong; I assume that something in the scripts is incorrect.



TIA,

Maarten





_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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