https://bugs.kde.org/show_bug.cgi?id=527824
Bug ID: 527824
Summary: Discover: orphaned items in knsregistry (OCS 999)
disable the whole category
Classification: Applications
Product: Discover
Version First 6.7.5
Reported In:
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: KNewStuff Backend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: ---
Discover displays the message “Nothing found” in some add-on categories. I took
a closer look and discovered the cause: my
`~/.local/share/knewstuff3/*.knsregistry` contained items that had been removed
from the store. Discover receives an OCS 999 error for these items and disables
the entire category. Removing these entries solved the problem for me. The log
files is in portuguese.
┌ saulo@lain // ~ via Py v3.14.8
└─❯❯❯ grep -B1 -A3 'KNS error in "Temas globais"' ~/discover.log
kf.newstuff.core: job error: 2 status code: 999 "unknown request"
KNS error in "Temas globais" : KNSCore::ErrorCode::OcsError "Erro desconhecido
da API de Serviços de Colaboração Abertos. (999)" QVariant(int, 999)
invalid kns backend! "/usr/share/knsrcfiles/lookandfeel.knsrc" because:
"Infraestrutura Temas globais inválida, contate sua distribuição."
Invalidated backend, deactivating "lookandfeel.knsrc"
kns error "/usr/share/knsrcfiles/lookandfeel.knsrc" "Infraestrutura Temas
globais inválida, contate sua distribuição."
The curl command shows that API returns 999 for an item that does not exist
┌ saulo@lain // ~ via Py v3.14.8
└─❯❯❯ curl -s "https://api.kde-look.org/ocs/v1/content/data/999999999" | grep
-o '<statuscode>[0-9]*</statuscode>'
<statuscode>999</statuscode>
- 6 orphaned entries out of 448
- after removing them: Discover worked 5 out of 5 launches (before: 0-1 out of
5)
- affected: CachyOS, openSUSE Tumbleweed, Fedora 44
- reason: the registry is in $HOME, so it followed me between distros
- a new user does not have the problem
- maybe related: bug 511468
Operating System: Fedora Linux 44
KDE Plasma Version: 6.7.5
KDE Frameworks Version: 6.31.0
Qt Version: 6.11.2
Kernel Version: 7.2.11-200.fc44.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz
Memory: 32 GiB of RAM (31.1 GiB usable)
Graphics Processor 1: Intel® UHD Graphics
Graphics Processor 2: NVIDIA GeForce RTX 3050 Laptop GPU
Manufacturer: Acer
Product Name: Nitro AN515-57
System Version: V1.20
--
You are receiving this mail because:
You are watching all bug changes.