My Plug-in terminated MuseScoreV4 abnormally.
I have created plug-ins for Japanese instruments such as shakuhachi, shinobue, shamisen, koto, and numerical notation, and have rewritten shakuhachi, shinobue, and numerical notation to be compatible with V4.
However, only the Koto plugin is causing MuseScore to close abnormally as soon as it is launched, and I have not been able to determine the cause.
"Plugins for 4.x" is referenced and Qt.quit() is removed.
Also,
Is there any way to debug the plugin in V4?
Is there any way to see the console.log output?
Please share your wisdom.
Attachment | Size |
---|---|
Koto_Notation_v410.qml | 28.57 KB |
Comments
There is Debug plugins with a log file (https://musescore.org/en/node/345973), but I have not tried it myself.
I'm not sure if 'dialog' type plugins are supported in this form, I recommend either to use no type or to put all qml objects in one parent item. if that doesnt fix it i have no idea
Actually, I think it's because you try to use FileIO (not supported in Mu4)
In reply to Actually, I think it's… by XiaoMigros
That should not result in MuseScore crashing though
In reply to That should not result in… by Jojo-Schmitz
that's true
Doesn't crash for me, Windows 11, MuseScore 4.0.2
In reply to Doesn't crash for me,… by Jojo-Schmitz
In MuseScoreV4.0.2, launching the Koto plugin always results in an abnormal exit on Intel iMac2020 and macOS 12.6.6 Montery.
I tried it on M2 Macbook Pro after hearing that it works on the Windows version and it works.
I assume this is a symptom with the Intel version of macOS.