Because of Bug 395718, .knsrc files that are removed or renamed, often don't get properly deleted from users' systems by their distro's packaging. This eventually leads to errors from invalid links in those files that Discover dutifully passes along.
We've gotten a *ton* of bug reports about this that are benign but annoying for our users, and aren't actionable for us. I'd like to propose discarding any error message ending with the string ".knsrc: All categories missing" so that we can stop this cycle of madness! :)
*** This bug has been marked as a duplicate of bug 395934 ***
*** Bug 395934 has been marked as a duplicate of this bug. ***
This is already the case.
Reopening. I still observe this bug in Plasma 5.14.0 and in the latest Git version of Discover (‘master’ branch).
knewstuff now translates the error message so we can't compare to it. Will have to find an alternative fix.
author Dan Leinir Turthra Jensen <email@example.com> 2018-11-13 09:07:53 (GMT)
committer Dan Leinir Turthra Jensen <firstname.lastname@example.org> 2018-11-13 09:07:53 (GMT)
commit 7f6caf385809ce8c8087d8e56e9f3c6bd8c9170a (patch)
parent d783ebd003c9ffc66a0fdd5aca28045f10bf9937 (diff)
Better error handling in KNewStuff backendHEADmaster
Previously error handling was done using a string matching method,
as that was all KNewStuffCore offered. A newly modified
KNewStuffCore error signal (found in D16665) gives much better
opportunities to handle error conditions, and this patch modifies
the old functionality in Discover's KNewStuff backend to take
advantage of this.
Differential Revision: https://phabricator.kde.org/D16776