Failure to read MusicXML file
Hi,
MuseScore refuses to read the attached MusicXML file (created by Rosegarden):
$ mscore
registerPlugin: add action idx 3
Load plugin: no menu property
preferences.checkUpdateStartup: 720
lastupdate: 28.06.2011 07:29:22.766
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work
Import MusicXml:xmlScorePart: cannot find part B
Maybe the file contains invalid XML (I'm not an MusicXML expert). Still, it would be nice if MuseScore just
printed a warning message on the missing part B (and part C up to part LL) and processed part A.
A work-around is to manually delete the lines between
<score-part id="B">
<part-name></part-name>
</score-par>
and
<score-part id="LL">
<part-name></part-name>
</score-part>
System info:
OpenSUSE 11.4
Qt Version 4.7.1
MuseScore: Music Score Editor; Version 1.0; Build 3996
Thanks
gb7
Attachment | Size |
---|---|
MittHjerteAlltidVanker.xml | 15.85 KB |
Comments
Yes, it crashes for me.
Using MuseScore 1.0 and 2.0 Nightly Build (4367) - Mac 10.6.7.
In reply to Yes, it crashes for me. Using by chen lung
The MusicXML file is dubious (it is syntactically OK, but contains references to non-existing parts). Having said that, it is of course not OK for an application to crash when reading unexpected input. Will see what I can do about it.
In reply to The MusicXML file is dubious by Leon Vinken
Created issue #11441: Failure to read MusicXML file with missing parts.
In reply to Created issue #11441: Failure by Leon Vinken
Fixed in the 0.9.6 branch (which will be 1.1 soon) in rev 4499.