Bug 483880 - Discover does not recognize plasma addons
Summary: Discover does not recognize plasma addons
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 6.0.2
Platform: Arch Linux Other
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL: https://discuss.kde.org/t/discover-do...
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-18 07:05 UTC by swh
Modified: 2024-04-06 14:42 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description swh 2024-03-18 07:05:55 UTC
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)"
***
I opened a topic on discuss.kde
https://discuss.kde.org/t/discover-does-not-recognize-plasma-addons/12500

STEPS TO REPRODUCE
1. open Discover
2. click on "Plasma addons" in the sidebar
3. 

OBSERVED RESULT
Discover gets stuck at "Still looking" and never loads the list of plasma/app addons


EXPECTED RESULT
list of available addons

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE EndeavourOS/ Plasma: 6.02
(available in About System)
KDE Plasma Version: 6.02
KDE Frameworks Version: 
Qt Version: 6.0

ADDITIONAL INFORMATION
Comment 1 Oded Arbel 2024-03-18 07:12:20 UTC
I can confirm the issue in Plasma 6.0.2 on Neon testing:

Operating System: KDE neon Testing Edition
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-25-generic (64-bit)
Graphics Platform: Wayland
Processors: 20 × 12th Gen Intel® Core™ i7-12700H
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® Graphics

When clicking on the "Plasma addons" category in discover, the side bar populates with various Plasma addon categories, but the main view shows the loading gear and it doesn't change until I give up.

When starting Discover from the console with QT logging enabled, I can see that when I click any addon category (for example, "wallpaper plugins") the output shows something like this:

---8<---
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"
---8<---

Specifically the "stream took really long" message is worrying.
Comment 2 Doug 2024-03-18 07:17:23 UTC
Can reproduce.

Operating System: KDE neon Testing Edition
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-21-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 15.4 GiB of RAM
Graphics Processor: AMD Radeon Pro WX 3200 Series
Comment 3 Brycen Granville 2024-03-25 22:20:24 UTC
Can reproduce.

Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.9.0-0.rc1.316.vanilla.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Acer
Product Name: Predator PH315-54
System Version: V1.15
Comment 4 Harald Sitter 2024-04-05 03:41:47 UTC
Seems fixed in .3 Can anyone confirm?
Comment 5 Nils 2024-04-05 07:24:43 UTC
I can confirm that it Works again on my side with Plasma 6.0.3.
Comment 6 swh 2024-04-06 14:38:54 UTC
Can confirm. It works again with Plasma 6.0.3
Comment 7 Harald Sitter 2024-04-06 14:42:42 UTC
Thanks!