https://bugs.kde.org/show_bug.cgi?id=397531
Bug ID: 397531
Summary: AppStream Krunner does not return any results if there
are nonfatal errors
Product: krunner
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
According to
https://www.freedesktop.org/software/appstream/docs/api/AsPool.html#as-pool-load
---
as_pool_load
Builds an index of all found components in the watched locations. The function
will try to get as much data into the pool as possible, so even if the update
completes with FALSE, it might still have added components to the pool.
---
The journal is filled with "no appstream for you" messages after as_pool_load
returned false, and nothing is returned.
Just ignoring the return value and calling as_poll_search (via the AppStreamQt
wrapper) returns correct results.
--
You are receiving this mail because:
You are watching all bug changes.