Discover does not recognize plasma addons

I am on EndeavourOS

As the title says. Discover does not recognize plasma addons. Every other thing is working well.

If i started discover in terminal i got the following output.

➜  plasma-discover
libs QList("/usr/lib/qt6/plugins", "/usr/bin")
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: false
adding empty sources model QStandardItemModel(0x5ebbc6d74890)
qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:330:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"
qrc:/qt/qml/org/kde/discover/qml/BrowsingPage.qml:17:1: QML BrowsingPage: Created graphical object was not placed in the graphics scene.
PackageKitBackend: No distro component found for "com.endeavouros.endeavouros"
AppStreamIntegration: No distro component found for "com.endeavouros.endeavouros"
kf.newstuff.core: Could not find category "Cantor (Python 2)"
kf.newstuff.core: Could not find category "Cantor (Python 3)"
kf.newstuff.core: Could not find category "Cantor (Python 2)"
kf.newstuff.core: Could not find category "Cantor (Python 3)"
kf.newstuff.core: Could not find category "Cantor (Python 2)"
kf.newstuff.core: Could not find category "Cantor (Python 3)"
kf.newstuff.core: Could not find category "Cantor (Python 2)"
kf.newstuff.core: Could not find category "Cantor (Python 3)"
kf.newstuff.core: Could not find category "Cantor (Python 2)"
kf.newstuff.core: Could not find category "Cantor (Python 3)"
kf.newstuff.core: Could not find category "Cantor (Python 2)"
kf.newstuff.core: Could not find category "Cantor (Python 3)"
kf.newstuff.core: Could not find category "Cantor (Python 2)"
kf.newstuff.core: Could not find category "Cantor (Python 3)"
kf.newstuff.core: Could not find category "Cantor (Python 2)"
kf.newstuff.core: Could not find category "Cantor (Python 3)"

Applications works

Addons don’t works

packagekit *-qt5 *-qt6 an all other dependencies of Discover is installed. Pic recorded from pacseek

EDIT:

➜  LANG=C pacman -Qi discover
Name            : discover
Version         : 6.0.2-3
Description     : KDE and Plasma resources management GUI
Architecture    : x86_64
URL             : https://kde.org/plasma-desktop/
Licenses        : LGPL-2.0-or-later
Groups          : plasma
Provides        : None
Depends On      : appstream-qt  archlinux-appstream-data  attica  discount  gcc-libs  glib2  glibc  kcmutils  kconfig  kcoreaddons  kcrash  kdbusaddons  ki18n  kidletime  kio  kirigami
                  kirigami-addons  kjobwidgets  knewstuff  knotifications  kservice  kstatusnotifieritem  kuserfeedback  kwidgetsaddons  kwindowsystem  purpose  qt6-base  qt6-declarative
                  qt6-webview
Optional Deps   : flatpak: Flatpak packages support [installed]
                  fwupd: firmware update support [installed]
                  packagekit-qt6: to manage packages from Arch Linux repositories (not recommended, use at your own risk) [installed]
Required By     : plasma-meta
Optional For    : plasma-workspace
Conflicts With  : None
Replaces        : None
Installed Size  : 5,81 MiB
Packager        : Tomaz Canabrava <tcanabrava@archlinux.org>
Build Date      : Mi 13 M
Install Date    : Do 14 M
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature


➜  LANG=C pacman -Qi knewstuff
Name            : knewstuff
Version         : 6.0.0-4
Description     : Support for downloading application assets from the network
Architecture    : x86_64
URL             : https://community.kde.org/Frameworks
Licenses        : LGPL-2.0-only  LGPL-3.0-only
Groups          : kf6
Provides        : None
Depends On      : attica  gcc-libs  glibc  karchive  kconfig  kcoreaddons  ki18n  kpackage  kwidgetsaddons  qt6-base  syndication
Optional Deps   : kirigami: QML components [installed]
                  knewstuff: QML components [installed]
                  qt6-5compat: QML components [installed]
                  qt6-declarative: QML components [installed]
Required By     : discover  dolphin  frameworkintegration  grantleetheme  kate  kdenlive  kdeplasma-addons  khangman  knotes  konsole  korganizer  kpat  kwin  libkdegames  libksysguard
                  pimcommon  plasma-desktop  plasma-sdk  plasma-systemmonitor  plasma-welcome  plasma-workspace  plymouth-kcm  sddm-kcm  yakuake
Optional For    : knewstuff
Conflicts With  : None
Replaces        : None
Installed Size  : 3,18 MiB
Packager        : Antonio Rojas <arojas@archlinux.org>
Build Date      : Mo 11 M
Install Date    : Mo 11 M
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

➜  LANG=C pacman -Qi frameworkintegration
Name            : frameworkintegration
Version         : 6.0.0-1
Description     : Framework providing components to allow applications to integrate with a KDE Workspace
Architecture    : x86_64
URL             : https://community.kde.org/Frameworks
Licenses        : LGPL-2.0-only  LGPL-3.0-only
Groups          : kf6
Provides        : None
Depends On      : gcc-libs  glibc  kcolorscheme  kconfig  ki18n  kiconthemes  knewstuff  knotifications  kwidgetsaddons  qt6-base
Optional Deps   : appstream-qt: dependency resolving via AppStream [installed]
                  packagekit-qt6: dependency resolving via AppStream [installed]
Required By     : breeze  klassy  oxygen
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 241,00 KiB
Packager        : Antonio Rojas <arojas@archlinux.org>
Build Date      : Mi 21 Feb 2024 15:05:24 CET
Install Date    : Mi 06 M
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Is there a way to fix this and how?

I would appreciate any help!

Although I don’t use Discover in my Arch, checking it in a KDE Neon User VM shows the same problem, it’s a neverending spinning cogwheel with no results when clicking on either Addons (Application or Plasma).

Every Addon has its *.knsrc file which according to the log:

*.knsrc is not a valid XDG category name, search results might be invalid or empty.

You may check it in your terminal as well if you click on Addons. Maybe worth a bug search or report: https://bugs.kde.org

1 Like

That indeed seems like a bug. When I run Discover on Neon testing, with full debug logging enabled, I get these logs (when I click on “Wallpaper plugins” for example:

org.kde.plasma.libdiscover: last stream isn't over yet Filters(category: Category(0x60f03f2e4880, name = "Wallpaper Plugins"),) ResourcesProxyModel_QML_268(0x60f0402c1c00)

** (process:2634834): WARNING **: 20:05:46.631: 'wallpaperplugin.knsrc' is not a valid XDG category name, search results might be invalid or empty.

** (process:2634834): WARNING **: 20:05:46.638: 'wallpaperplugin.knsrc' is not a valid XDG category name, search results might be invalid or empty.
kf.newstuff.core: from cache "0,,,0,100"
kf.attica: creating list job: QUrl("https://api.kde-look.org/ocs/v1/content/data?categories=715&distribution&license&search&sortmode=new&page=0&pagesize=100")

** (process:2634834): WARNING **: 20:05:46.639: 'wallpaperplugin.knsrc' is not a valid XDG category name, search results might be invalid or empty.
kf.attica: executing Get request for QUrl("https://api.kde-look.org/ocs/v1/content/data?categories=715&distribution&license&search&sortmode=new&page=0&pagesize=100")
kf.attica: received categories: 4
kf.newstuff.core: Created InequalityValidator for tag "ghns_excluded" with value "1"
kf.newstuff.core: Checking tags list QList("wallpaper", "web", "linux", "kde", "lgplv2", "html", "original-product", "plasma", "unix", "extension") against validators with keys QList("ghns_excluded")
kf.newstuff.core: Checking tags list QList("data##mimetype=application/zip") against validators with keys QList()
kf.newstuff.core: Checking tags list QList("plasma", "original-product", "gplv2-later", "extension", "unix", "linux", "kde") against validators with keys QList("ghns_excluded")
kf.newstuff.core: Checking tags list QList("data##mimetype=application/zip") against validators with keys QList()
kf.newstuff.core: Checking tags list QList("blur", "wallpaper", "linux", "kde", "kde-plasma", "extension", "gplv3", "unix", "original-product", "plasma") against validators with keys QList("ghns_excluded")
kf.newstuff.core: Checking tags list QList("data##mimetype=application/x-gzip") against validators with keys QList()
kf.newstuff.core: Checking tags list QList("extension", "gplv3", "dark", "color", "linux", "kde", "unix", "original-product", "plasma", "random") against validators with keys QList("ghns_excluded")
kf.newstuff.core: Checking tags list QList("data##mimetype=application/gzip") against validators with keys QList()
kf.newstuff.core: loaded:  "0,,,0,100"  count:  4
org.kde.plasma.libdiscover: stream took really long "KNS-search-wallpaperplugin.knsrc"
org.kde.plasma.libdiscover: stream took really long "AggregatedResultsStream"

The URL is valid and answers correctly - there’s something broken with attica or kf.newstuff.

1 Like

@rockandstone & @guss77
Thanks for testing. That was also my worry, since it’s only about the addons.
Opened a bug
https://bugs.kde.org/show_bug.cgi?id=483880

2 Likes

Updated to Plasma 6.0.3. Issue fixed!
Thanks KDE-Team!!

Do they also work? Can you install them from there?

You can install and use them, but nothing shows up under the “installed” tab and I don’t know if updates work.

Edit: the installed tab thing has now been fixed by an update to knewstuff, whether updates work is still tbd

Couldn’t resist trying it on Arch (which is not advised) for the sake of it…

I get this when clicking an addon :smile:

image

It installs using the install button in the description though.

Also you are right it doesn’t show pending updates (edit: in this case it was a library package).