Bug 1946121

Summary: "Please make sure that Appstream is properly set up on your system" toast
Product: [Fedora] Fedora Reporter: Alice McLafferty <xnwrsp>
Component: plasma-discoverAssignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 34CC: c245b3f7-05d0-4a82-8bb7-618d190f5658, kde-sig, massi.ergosum, nathan.lutterman, nope1000000, rdieter, u1g7pdbj
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-01 16:46:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1830709    
Bug Blocks:    

Description Alice McLafferty 2021-04-04 19:58:03 UTC
Description of problem:
There is always a toast message saying "Please make sure that Appstream is properly set up on your system" whenever I launch Discover.

Version-Release number of selected component (if applicable):
plasma-discover-5.20.5-3.fc33
plasma-discover-5.21.3-1.fc34

How reproducible:
Always, on both wayland and x11 sessions.

Steps to Reproduce:
1. Install Fedora 33/34 KDE spin
2. Launch Discover
3. Observe the toast message

Actual results:
There is always a toast error message.


Expected results:
There should be no error messages out of the box.

Additional info:

On F34:
$ plasma-discover
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/ActionToolBar.qml:109:18: QML ToolBarLayout: Binding loop detected for property "actions"
invalid kns backend! "/usr/share/knsrcfiles/servicemenu.knsrc" because: "Config group not found! Check your KNS3 installation."
kf.newstuff.core: The CustomName property is deprecated and will be removed in KF6
kf.newstuff.core: The ChecksumPolicy feature is defunct
kf.newstuff.core: The SignaturePolicy feature is defunct
kf.newstuff.core: The ChecksumPolicy feature is defunct
kf.newstuff.core: The SignaturePolicy feature is defunct
adding empty sources model QStandardItemModel(0x55f4f2bdf160)
org.kde.plasma.libdiscover: Couldn't find a category for  "fwupd-backend"
Could not open the AppStream metadata pool "Many components have been recognized as invalid. See debug output for details."
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:74:5: QML Binding: Binding loop detected for property "value"
warning: xnack 'Off' was requested for a processor that does not support it!
warning: xnack 'Off' was requested for a processor that does not support it!
The Theme singleton is deprecated (since 5.39). Import Kirigami 2.2 or higher and use the attached property instead.

Comment 1 Carlos 2021-05-10 07:34:21 UTC
It also happens to me since lot of fedora versions ago. Not on every computer with Plasma I need to say.

Comment 2 Rex Dieter 2021-05-10 15:50:43 UTC
I believe we'd debugged the source of this to some invalid appstream data provided by some fedora font packages.  I'll see if I can dig up the details.

Comment 3 Rex Dieter 2021-05-10 15:52:34 UTC
https://pagure.io/fedora-kde/SIG/issue/56

and bug #1830709

Comment 4 Rex Dieter 2021-08-01 16:46:38 UTC
I no longer see this since the aforementioned font issue being fixed, closing