filePath is empty
Hi, I've hit a problem, is this a known issue?
Mac OS 10.14.6
MuseScore 3.2.3.22971
The plugin locates its own source directory correctly by inspecting filePath
when running under the plugin creator, but filePath
is empty when the plugin is run directly from the plugins menu.
The attached file filePath.qml demonstrates the issue.
Comments
Try filePath()
In reply to Try filePath() by Jojo-Schmitz
I’ll give it a try, thanks!
In reply to Try filePath() by Jojo-Schmitz
That didn't seem to work, I get
From the Plugin Creator, and running from the menu doesn't work either.
Maybe it's fixed in the next release and you're running that?
In reply to 16:-1: TypeError: Property … by billhails
I hadn't even tested ;-)
But indeed it doesn't work, not even in latest development build.
It does wortk in a non-dialog plugin though:
Console output:
Läuft…
Plug-In Details:
Menü Pfad: Plugins.pluginName
Version: 1.0
Beschreibung: Description goes here
Benötigt Partitur
Debug: filePath:C:/Users/Jojo/Documents/MuseScore3Development/Plug-Ins
In reply to I hadn't even tested ;-) by Jojo-Schmitz
doesn't really help me I'm afraid, I tried changing the
pluginType
to"dock"
as a test but it still has an emptyfilePath
.