'requires score' (requer partitura) message

• Oct 9, 2019 - 19:46

Hi,
i created the 'Harmonia' plugin to MuseScore 2.3.2 on Linux/Ubuntu and test it on Windows 10. It worked fine.
However, when i changed the plugin to work with MuseScore 3.2.3, it didn't work on Windows OS. Only on Linux. On Plugin Creator, appears the message: "requer partitura" ('requires score', in english, i think).

I would be appreciate if anybody help me.
Thanks,

Attachment Size
msg_erro.png 11.14 KB

Comments

In reply to by Rogerio Constante

It probably does. requiresScore is a plugin property to be set to tell plugins that need a score to work on (like Notenames) from those that don't (like e.g Batch Convert). It is set to true by default and needs to get set to false if needed. You're needit it set to true (or not set at all so it defaults to true) and is set that way, hence that message you see

What is the plugin, can you attach it here? Which version or MuseScore? Is that plugin maybe docked and minimized? I've seen that happening, tricking me do believe it doesn't run at all.

In reply to by Jojo-Schmitz

The plugin's name is 'Harmonia' and it is in the plugins page of MuseScore. There are 2 version of plugin:
a) "Harmony v0.121" (anyone has changed/translated the name to english) - to MuseScore 2.3.2. It works fine on Linux and Windows 10;
b) "Harmonia v0.12ms3" - to MuseScore 3.2.3. It works only on Linux. On Windows 10 the plugin stop after the message 'requires score' and doesn't open the interface window (not docked or minimized).

This versions and the Manual are avaliable also on github:
https://github.com/rogerioConstante/plugin-harmonia

Below, the two versions are attached.

Thanks again!!

Attachment Size
Harmonia-v0.12ms3.qml 134.2 KB
Harmonia-v0.121.qml 134.28 KB

In reply to by Rogerio Constante

That translating the that name was me, sorry, I changed it back.

I can confirm that in MuseScore 3 the plugin doesn't show at all.
It does though when modifying onRun:

onRun: { window.visible = true } //onRun:

This seems needed in MuseScorte 3 but not in MuseSore 2, I found that out quite a while ago when porting the Batch Convert plugin to MuseScore 3

Maybe a

MuseScore {
...
   pluginType: "dialog"
...

would do the trick too (yet untested, it does though for Batch Convert)

Do you still have an unanswered question? Please log in first to post your question.