This version of MuseScore is not supported
When using MuseScore 1.0 and this plugin, a popup message comes up with the sentence: This version of MuseScore is not suppored.
It's caused by the fact that the current mscoreVersion is 10, which is smaller than 906.
// determine version if( !(this.mscoreVersion != undefined && this.mscoreVersion >= 906) ) { QMessageBox.critical(null, "Unsupported version", "This version of MuseScore is not suppored.\nPlease upgrade to a more recent version."); return; }
So dirty hack to get the plugin working is removing this version check in the scorestats.js file.
A neater solution will need to be found.
Comments
The problem was caused by a last minute change in the release number: 1.0.0 was changed into 1.0
This created a problem in utils.cpp with the script to define the version:
Find attached a working version.
Thomas, I believe MuseScore 1.0 is actually self-reporting as version 0 not version 1.0. See #9259: [Plugin framework] Version numbers do not work
This still hasn't found its way into the plugin at http://musescore.org/en/project/scorestats
And it also still has a bug: it only works for voices 1-3, not for voice 4:
for (voice = 0; voice < 3; voice++)
rather than
for (voice = 0; voice < 4; voice++)
The original issue is no longer a problem (MuseScore 1.2 reports it's version number correctly). For other bugs open a new issue.
done: #16641: plugin 'scorestats' does not work on voice 4
Automatically closed -- issue fixed for 2 weeks with no activity.