Missing dependency for MuseScore

There seems to be missing dependency for the MuseScore snap which causes palettes to be unusable:


https://musescore.org/en/node/296715
https://musescore.org/en/node/296082

Could you please add qt5-graphicaleffects to the dependencies to fix this problem? The MuseScore team does not take care of building snaps so I’m reporting here.
https://musescore.org/en/node/296082#comment-968136

Thanks.

not sure if the developers read along here … better try to contact them via the contact URL in the snap:

$ snap info musescore|grep ^contact
contact:   https://musescore.org/en/support

I’m the maintainer of the snap, but it should eventually be managed by the MuseScore crew as soon as we find a solution for the releases. See this: https://github.com/musescore/MuseScore/pull/3212#issuecomment-308818877

@psss a new version of the snap with the missing package should be available on the beta channel in a few hours: https://launchpad.net/~pachulo/+snap/musescore-core18

See the last link:

Report it to the folks at https://snapcraft.io/, it is them distributing it, not the MuseScore team, and it seems a plain packaging issue.

1 Like

@psss were you able to test the version on the beta channel?

You can switch to it with this command:

sudo snap refresh musescore --channel beta

Thanks for the hint. I’ve tried beta but with the same result: Panel is still empty.

I’ve added this package:

Which includes all these files:

To the stage-packages of the snap:

@psss Can you show more about the error? Maybe a screenshot?

Besides, if you execute musescore from the command-line, do you see any errors when trying to use palettes?

OK, I’ve done the test myself and, after adding this other package to the stage-packages:

Now I see this error:

$ musescore.mscore 

...

qrc:/qml/palettes/PalettesWidget.qml:21:1: module "QtQuick.Controls" version 2.1 is not installed

So I’m now trying with:

Should be in the beta channel in a few hours.

Tried with the latest version from beta channel. Pasting command line output:

(mscore:13394): Gtk-WARNING **: 05:25:41.845: GTK+ module /snap/musescore/91/usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 05:25:41.845: Failed to load module "canberra-gtk-module"

(mscore:13394): Gtk-WARNING **: 05:25:41.847: GTK+ module /snap/musescore/91/usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 05:25:41.847: Failed to load module "canberra-gtk-module"
Qt: Session management error: None of the authentication protocols specified are supported
Unable to load printer plugin "qtubuntu-print"
propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.443\" (uid=1000 pid=13394 comm=\"/snap/musescore/91/usr/bin/mscore \" label=\"snap.musescore.mscore (enforce)\") interface=\"org.freedesktop.DBus.Properties\" member=\"GetAll\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=919 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.443\" (uid=1000 pid=13394 comm=\"/snap/musescore/91/usr/bin/mscore \" label=\"snap.musescore.mscore (enforce)\") interface=\"org.freedesktop.NetworkManager\" member=\"GetDevices\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=919 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
"Object path cannot be empty"
qrc:/qml/palettes/PalettesWidget.qml:70:5: Type PaletteTree unavailable
qrc:/qml/palettes/PaletteTree.qml:22:1: module "QtQml.Models" is not installed
QMutex: destroying locked mutex

Attaching screenshot as well.

FYI, the AppArmor denials may be something that can be ignored. I suspect MuseScore is doing a connectivity check. Plugging and connecting network-manager-observe should make these go away.

OK, a new build that includes the qml-module-qtqml-models2 stage-package will start soon…:face_with_monocle:

Well, it seems to be working now! Can you try it @psss?
And thanks for the report!!

The version with the missing dependencies is on the stable channel.