Overture import can include unescaped ampersands.
1. Open a .ove file in MuseScore then save as .mscz(.mscx) format. Close MuseScore.
2. Run MuseScore again.
3. Open .mscz file saved before.
A load error window was shown:
Cannot read file :
bad format
Attachment | Size |
---|---|
Blue Danube.mscz | 33.29 KB |
Comments
OS: MS windows 7
MuseScore: 2.0-beta
Can you attach the Ove file too?
I assume you mean Beta 2?
The mscz file fails to load in a recent nightly build too
please don't assign to yourself, unless you intend to work on the fix too.
The console output pinpoints the problem - an unescape ampersand in one of the instrument names. The question is, would this still happen if the original overture file were imported with a current build. So indeed, we would need the original file.
Hmm, ISTR there had been a fix related to that post Beta 2?
Maybe 3e673e2 ?
For the record, here's the console output (or a debug build):
Debug: htmlToString: read token: Invalid (...\MuseScore\libmscore\xml.cpp:668, QString Ms::XmlReader::readXml())
Debug: Blue Danube: xml read error at line 208 col 38: (...\MuseScore\libmscore\scorefile.cpp:1160, bool Ms::Score::read(Ms::XmlReader&))
Attached the fixed file...
Yes, there was a fix that provides the capability of automatically espacing ampersands in text. What I don't know is if the Overture import uses this facility where it would need to. Similar question for other non-native formats.
Unable to reproduce without the ove file that caused this