packages
packages copied to clipboard
Cannot lauch discover
Please confirm there isn't an open report for this issue
- [x] I have searched through bug reports
Summary
Discover is not able to launch. Running it from the command line results in no terminal output
Steps to reproduce
- Launch discover through the terminal or the .desktop
Expected result
See discover
Actual result
Discover is not launched and there are no error messages or output to terminal to debug.
Environment
- [x] Is system up to date?
Repo
Unstable
Desktop Environment
Plasma
System details
System:
Host: ryzenbook Kernel: 6.14.4-318.current arch: x86_64 bits: 64
Desktop: KDE Plasma v: 6.3.4 Distro: Solus 4.7 endurance
Machine:
Type: Laptop System: Framework product: Laptop 13 (AMD Ryzen 7040Series)
v: A5 serial:
Other comments
Sometimes when executing through the terminal, this is printed org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: true adding empty sources model QStandardItemModel(0x564e75dabbc0)
I've run into this on one of my two machines in the nightly build from git-master as well
I got the same bug, but on Stable. No error output from the konsole.
I got the same bug, but on Stable. No error output from the konsole.
Have you tried running
pkcon update
then
pkcon refresh
And try launching again
Done. But no cigar.
Done. But no cigar.
Couple of more steps we can try...
First, lets make sure it is not running in some state...
killall plasma-discover
Then try running it with only a single backend to see if it launches For example, we can launch it with just the flatpak backend with...
plasma-discover --backends flatpak-backend
If that does work, then try it with the packagekit backend to see if that is working, which is packagekit-backend
One last thing you can try to see if we get any feedback is plasma-discover --mode update
plasma-discover --backends flatpak-backend
This command works and starts Discover. However some output came with it;
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: true
QObject::startTimer: Timers cannot have negative intervals
qrc:/qt/qml/org/kde/discover/qml/BrowsingPage.qml:17:1: QML BrowsingPage: Created graphical object was not placed in the graphics scene.
@uni-dos , I just noticed that you missed the issue that had already been opened for this bug. We'll use this one to track progress, since it has more information. Just noting.
plasma-discover --backends flatpak-backendThis command works and starts Discover. However some output came with it;
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: true QObject::startTimer: Timers cannot have negative intervals qrc:/qt/qml/org/kde/discover/qml/BrowsingPage.qml:17:1: QML BrowsingPage: Created graphical object was not placed in the graphics scene.
That doesn't help, unfortunately. I see that output on a system where Discover launches normally (built from git-master)
On the system (VM on unstable) where Discover does not launch from the App Menu, it can be started with
plasma-discover --backends flatpak-backend
or
plasma-discover --backends packagekit-backend
but not
plasma-discover
even if there are no plasma-discover processes running.
Launching with kns-backend works as well as fwupd-backend.
This does not bring up the Discover UI:
plasma-discover --mode update
I was able to reproduce this on a fresh installation this morning on bare metal as well. I added all the backends in the command line...
plasma-discover --backends packagekit-backend,flatpak-backend,fwupd-backend,kns-backend
and got it to launch. Then I added the command line arguments to the menu entry for Discover, and it ran fine as well.
I was unable to start troubleshooting and digging into the logs at that time due to being at work. But, I have seen mention of this issue with other distros and versions of KDE, but not recently.
So I just loaded up a fresh VM here at home, ran through the same exercise of fresh install and installing Discover and it launches fine. I intended to try to troubleshoot it, but it worked here.
This is a strange issue in that it works fine on my existing install here at home as well as this test VM, but I was able to replicate it on one system, and others can replicate it.
Once I get into my office tomorrow, I will try to dig into the logs and see if I can trace it better.
This is the error I get on my work system...
PackageKitBackend: No distro component found for "us.getsol.solus"
Ironically after I launched with the
plasma-discover --backends packagekit-backend,flatpak-backend,fwupd-backend,kns-backend
I was able to launch Discover normally after, but it would still log that error.
Ping @sheepman4267 since you had this happen on your machine.
There's now an upstream report
This is an upstream issue caused by a backend failing, probably knewstuff. As such, this isn't something Solus can fix.