Discover seems not working

Just in the last few minutes noticed this. I attempted to update with Discover and it doesn’t respond. So ran from cli, here’s output from cli:

$ plasma-discover
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/PageRow.qml:311: Error: Error while loading page: qrc:/qml/BrowsingPage.qml:28 module "org.kde.kirigami" version 2.1 is not installed

WARNING: Cannot find style "org.kde.desktop" - fallback: "/usr/lib64/qt5/qml/QtQuick/Controls/Styles/Desktop"
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/Icon.qml:35:5: QML Image: Cannot open: file:///usr/lib64/qt5/qml/org/kde/kirigami.2/icons/update-low.svg
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/Icon.qml:35:5: QML Image: Cannot open: file:///usr/lib64/qt5/qml/org/kde/kirigami.2/icons/settings.svg
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/Icon.qml:35:5: QML Image: Cannot open: file:///usr/lib64/qt5/qml/org/kde/kirigami.2/icons/go-previous.svg
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/Icon.qml:35:5: QML Image: Cannot open: file:///usr/lib64/qt5/qml/org/kde/kirigami.2/icons/go-up.svg
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/PageRow.qml:51: TypeError: Cannot read property 'page' of null
The file  "/home/ben79/.local/share/knewstuff3/discover_ktexteditor_codesnippets_core.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/skrooge_monthly.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/skrooge_unit.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/kdenlive_renderprofiles.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/ksieve_script.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/cgcgtk3.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/kfontinst.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/icons.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/wallpaper.knsregistry"  could not be opened.
invalid kns backend! "/etc/xdg/servicemenu.knsrc" because: "Config group not found! Check your KNS3 installation."
The file  "/home/ben79/.local/share/knewstuff3/kwinswitcher.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/k3btheme.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/kaddressbook_themes.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/kdenlive_titles.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/colorschemes.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/aurorae.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/emoticons.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/kwineffect.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/kdenlive_wipes.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/knotes_printing_theme.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/korganizer.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/sddmtheme.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/lookandfeel.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/xcursor.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/kdenlive_projectprofiles.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/cgcicon.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/kwinscripts.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/cgctheme.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/comic.knsregistry"  could not be opened.
invalid kns backend! "/etc/xdg/ksysguard.knsrc" because: "Config group not found! Check your KNS3 installation."
The file  "/home/ben79/.local/share/knewstuff3/messageviewer_header_themes.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/plasmoids.knsregistry"  could not be opened.
The file  "/home/ben79/.local/share/knewstuff3/accountwizard.knsregistry"  could not be opened.
Discarding invalid backend "servicemenu.knsrc"
Discarding invalid backend "ksysguard.knsrc"
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/Icon.qml:35:5: QML Image: Cannot open: file:///usr/lib64/qt5/qml/org/kde/kirigami.2/icons/go-next.svg
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/Icon.qml:35:5: QML Image: Cannot open: file:///usr/lib64/qt5/qml/org/kde/kirigami.2/icons/go-next.svg
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/Icon.qml:35:5: QML Image: Cannot open: file:///usr/lib64/qt5/qml/org/kde/kirigami.2/icons/go-next.svg
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/Icon.qml:35:5: QML Image: Cannot open: file:///usr/lib64/qt5/qml/org/kde/kirigami.2/icons/go-next.svg
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/Icon.qml:35:5: QML Image: Cannot open: file:///usr/lib64/qt5/qml/org/kde/kirigami.2/icons/go-next.svg
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/Icon.qml:35:5: QML Image: Cannot open: file:///usr/lib64/qt5/qml/org/kde/kirigami.2/icons/go-next.svg
failed PackageKit::Transaction::Exit(ExitUnknown) PackageKit::Transaction(0x19d1040)
Transaction error:  "Too few items to process" PackageKit::Transaction(0x19d1040)
failed PackageKit::Transaction::Exit(ExitFailed) PackageKit::Transaction(0x19d1040)
failed PackageKit::Transaction::Exit(ExitUnknown) PackageKit::Transaction(0x19d0e80)
Transaction error:  "Too few items to process" PackageKit::Transaction(0x19d0e80)
failed PackageKit::Transaction::Exit(ExitFailed) PackageKit::Transaction(0x19d0e80)
org.kde.knewstuff.core: Could not find category "KAddressbook Theme"
invalid kns backend! "/etc/xdg/kaddressbook_themes.knsrc" because: "All categories are missing"
Discarding invalid backend "kaddressbook_themes.knsrc"
qrc:/qml/DiscoverDrawer.qml:155: TypeError: Cannot read property 'name' of null
kns error "/etc/xdg/kaddressbook_themes.knsrc" "All categories are missing"
org.kde.knewstuff.core: "Error transferring https://kdenlive.org/data/mltprofilesources.xml - server replied: Not Found"
kns error "/etc/xdg/kdenlive_projectprofiles.knsrc" "Loading of providers from file: https://kdenlive.org/data/mltprofilesources.xml failed"
org.kde.knewstuff.core: Could not find category "Xfce Icon Theme"
invalid kns backend! "/etc/xdg/cgcicon.knsrc" because: "All categories are missing"
Discarding invalid backend "cgcicon.knsrc"
qrc:/qml/DiscoverDrawer.qml:155: TypeError: Cannot read property 'name' of null
kns error "/etc/xdg/cgcicon.knsrc" "All categories are missing"

This is ‘journalctl -mxe’ output:
journalctl-mxe.txt (148.3 KB)

Edit: When I open Discover it does tell me that (in this instance) there are 15 updates but simultaneously complains of “to few items to process” and then it won’t do anything.

And the:

omv-bug-report.log.xz (75.8 KB)

Thanks for the logs.

Oct 11 22:27:27 ben79-pc plasma-discover[5345]: file:///usr/lib64/qt5/qml/org/kde/kirigami.2/PageRow.qml:311: Error: Error while loading page: qrc:/qml/BrowsingPage.qml:28 module "org.kde.kirigami" version 2.1 is not installed

Discover should depend on kirigami2 (version 2.1) but

$ urpmq -i kirigami2 | grep Version
Version : 2.0.0

so kirigami2 should be updated.

Also:

Oct 11 22:27:27 ben79-pc plasma-discover[5345]: Failed to call flatpak_get_system_installations: Permission denied
Oct 11 22:27:27 ben79-pc plasma-discover[5345]: Failed to setup flatpak installations: Permission denied
Oct 11 22:27:27 ben79-pc plasma-discover[5345]: The file  "/home/ben79/.local/share/knewstuff3/discover_ktexteditor_codesnippets_core.knsregistry"  could not be opened.

Could you please check permissions and ownership of $HOME/.local/share/knewstuff3 and $HOME/.local/share/knewstuff3/*?

Oct 11 22:27:29 ben79-pc plasma-discover[5345]: org.kde.knewstuff.core: "Error transferring https://kdenlive.org/data/mltprofilesources.xml - server replied: Not Found"
Oct 11 22:27:29 ben79-pc plasma-discover[5345]: kns error "/etc/xdg/kdenlive_projectprofiles.knsrc" "Loading of providers from file: https://kdenlive.org/data/mltprofilesources.xml failed"

Is https://kdenlive.org/data/mltprofilesources.xml a valid link? What it is used for? I can’t open it in a browser.

$ rpm -qa | grep kiri
kirigami2-2.0.0-1-omv2015.0.x86_64

Permissions:

$ ls -ld $HOME/.local/share/knewstuff3 
drwxrwxr-x 2 ben79 ben79 4096 Sep 25 20:00 /home/ben79/.local/share/knewstuff3

$ ls -l $HOME/.local/share/knewstuff3* 
total 20
-rw-rw-r-- 1 ben79 ben79 9235 Sep 25 20:44 cgcgtk3.knsregistry
-rw-rw-r-- 1 ben79 ben79 5455 Oct  4 15:06 plasma-themes.knsregistry

The above files are XML documents.

What would help a lot is if someone would confirm that Discover is broke.

Edit: Whatever the permissions are is set by the installer or the package when it was installed.
This issue does occur on multiple systems here. And it is consistent, Discover never works.

1 Like

Bug report # 2241.

1 Like

Should be fixed with discover-5.10.5-2

Seems working here. So this should be fixed when packages reach your mirror. Then and update with ‘urpmi --auto-update’ and Discover should be working again.

OH, thanks @TPG. :smiley:

1 Like