Export to MusicXML and MIDI doesn't work

• Jan 24, 2017 - 07:54
Reported version
3.0
Type
Functional
Severity
S3 - Major
Status
closed
Project

See https://musescore.org/en/node/165336

Confirmed with a self-built 9a9dedf, Windows 7

Export to xml, mxl, mid doesn't work, it brings up the file selcetor and pretends to work, i.e. no error message, but no file gets created.

Exporting to png, pdf, svg, wav, flac, ogg, mp3 and mscx works though.

Debug messages on the failed formats:
Ms::MuseScore::saveAs(Ms::Score*, bool, const QString&, const QString&))
Debug: Internal error: unsupported extension (...\MuseScore\mscore\file.cpp:1861, virtual bool Ms::MuseScore::saveAs(Ms::Score*, bool, const QString&, const QString&))
Debug: Internal error: unsupported extension

 (...\MuseScore\mscore\file.cpp:1861, virtual bool Ms::MuseScore::saveAs(Ms::Score*, bool, const QString&, const QString&))
Debug: Internal error: unsupported extension <mxl> (...\MuseScore\mscore\file.cpp:1861, virtual bool Ms::MuseScore::saveAs(Ms::Score*, bool, const QString&, const QString&))
 
Looking at the code shows that these formats have been disabled by an `#ifdef 0`, see //github.com/musescore/MuseScore/blob/9a9dedf774763f2f7108da571aa70bc32f1d5e61/mscore/file.cpp#L1815-L1828]mscore/file.cpp. lines 1815-1828
.
 
`git blame` shows that this happened in 5433d719 

Comments