Discover not working on Kubuntu 24.04

Uninstalling plasma-discover-backend-snap also worked for me. Thanks

3 Likes

For some reason I keep trying this, and now I get a different set of errors. This is on wayland:

plasma-discover
fetch ratings! true
adding empty sources model QStandardItemModel(0x5cfc5d928330)
kf.newstuff.core: The CustomName property is deprecated and will be removed in KF6
kf.newstuff.core: The CustomName property is deprecated and will be removed in KF6
QQmlApplicationEngine failed to load component
qrc:/qml/DiscoverWindow.qml:167:26: Type Kirigami.NavigationTabBar unavailable
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/NavigationTabBar.qml:1:1: Expected a qualified name id
org.kde.plasma.discover: Errors when loading the GUI
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = plasma-discover path = /usr/bin pid = 6477
KCrash: Arguments: /usr/bin/plasma-discover
The Wayland connection experienced a fatal error: Bad file descriptor

Are there specific kirigami modules which I’m missing?

Sounds like it, yeah:

This is a packaging issue caused by the distro.

Can I just install the relevant packages via apt? I just don’t know which package(s) are missing.

Yes, you can. It’s Probably something with “kirigami” in the name, but I don’t know anything about how Kubuntu packages our stuff, so you’ll have to figure it out. After you do, please report this to the Kubuntu packagers and let them know that they’re missing a mandatory dependency for Discover.

It’s all bizarre to me how all these dependencies work. But, just looking at the latest error again, I see that the relevant ones might be:

QQmlApplicationEngine failed to load component
qrc:/qml/DiscoverWindow.qml:167:26: Type Kirigami.NavigationTabBar unavailable
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/NavigationTabBar.qml:1:1: Expected a qualified name idtype or paste code here

And the package kirigami.2 IS indeed installed.

Oh well, maybe it’ll be all fixed in 24.01.1 … whenever that is released (now the end of this month, I think).

$ sudo apt purge plasma-discover-backend-snap
and restart pc has also worked for me, too, but I had to also issue
$ sudo apt --fix-broken install
before the apt could execute the purge command.

Thanks

Still no joy here in the Canadian wilderness :slight_smile: I am waiting for next Ubuntu upgrade … and if it still doesn’t work then I guess I’ll have to switch distros or do some other kind of reinstall.

After upgrade to Ubuntu 24.04.1 LTS this was among the failures.
As you mentioned the ONLY way to get this to run was by using ‘strace plasma-discover’

Adding other options (eg --mode, --listbackends) would also fail.

TLDR: From terminal run ‘strace plasma-discover’

This doesn’t work for me as a user or as root using sudo.

I’ve was having the same issues that are posted on this thread. But after some digging and, I discovered that two dependencies were not installed. I installed them manually with:

sudo nala install libqt5gui5-gles libqt5quick5-gles
reboot
NOTE: This unistalled some packages that I guess may have been contributing to the crashes.
I am currently testing Discover after this install and I am not getting the crashes that I was before. I will continue to test this out and report back whatever issues that I have. I hope that this helps. I am currently running Linux Mint 22 with KDE Plasma (I know some in the dev community will think I’m mad…lol) but so far Discover was the only issue I was having. Please reply with any updates on your current situations. And again, I hope this helps

Guess it must depend on the disto, but I TRIED the following:

sudo apt install libqt5gui5-gles libqt5quick5-gles

And got back:
The following packages will be REMOVED:
apport-kde backintime-qt djview4 kajongg kdegames ksudoku kubrick libkf5config-dev
libkf5coreaddons-dev libkf5dbusaddons-dev libkf5package-dev libkf5plasma-dev
libkf5service-dev libkf5windowsystem-dev libqt5gui5t64 libqt5opengl5-dev
libqt5opengl5t64 libqt5quick5 phonon4qt5-backend-gstreamer picard python3-pyqt5
python3-pyqt5.qtchart python3-pyqt5.qtmultimedia python3-pyqt5.qtopengl
python3-pyqt5.qtpositioning python3-pyqt5.qtquick python3-pyqt5.qtremoteobjects
python3-pyqt5.qtsensors python3-pyqt5.qtserialport python3-pyqt5.qtsql
python3-pyqt5.qtsvg python3-pyqt5.qttexttospeech python3-pyqt5.qtwebchannel
python3-pyqt5.qtwebengine python3-pyqt5.qtwebkit python3-pyqt5.qtwebsockets
python3-pyqt5.qtxmlpatterns python3-qtpy qtbase5-dev software-properties-qt
ubuntu-release-upgrader-qt usb-creator-kde
The following NEW packages will be installed:
libgles-dev libgles1 libqt5gui5-gles libqt5quick5-gles qtbase5-gles-dev

So, decided that there was way too much being removed :slight_smile:

I recently did a distro update a few days ago, which fixed an issue I had with my “Super” key not opening the application menu but then Discover would not launch, but Updates via the CLI worked fine.

I did the following recommendations in this post:

I tried the strace plasma-discover command but it was still hanging at some point - no joy.

I ran the pkcon update which did actually do updates.

I then ran the sudo apt purge plasma-discover-backend-snap. I did attempt to run Discover to see if it would work, which it did not. However, after rebooting the computer, Discover is now working again as expected. It did ask for the admim PW in order to update repositories.

Thanks!

I can confirm, sudo apt purge plasma-discover-backend-snap followed by a restart fixed it for me as well. This should really be fixed. It was a fresh install of Kubuntu and only a few days after, Discover wouldn’t open. This could really deter a lot of new Linux users.

Snap users. Not linux users persé.

Seems like this should have been fixed months ago.

Thanks . very good