Created attachment 110642 [details] Video of API error and addon failed install behavior I see some other bugs with this error or similar, but other products. So this may be a backend framework item that I don't know about. But I'm filing it here since it's easily reproducible in Discover and affects a great portion of its usability. When clicking on an addon in Discover, a notification message appears stating "icons.knsrc: Unknown Open Collaboration Service API error (0)" displays. If you click Install, it quickly responds that it is finished. But the addon is not installed. When you click Remove, a button showing "done" gets stuck, and you have to click away and back into the same addon for the Install button to appear again. Attached is a video of this message and behavior. KDE Plasma Version: 5.12.0 KDE Frameworks Version: 5.42.0 Qt Version: 5.9.3 Kernel Version 4.13.0-32-generic OS Type: 64-bit
Confirmed, I have the same issue in Neon and Kubuntu. Here's the full error (printed to the console): parse():: XML Error: "Premature end of document." In XML: "" kns error "/etc/xdg/colorschemes.knsrc" "Unknown Open Collaboration Service API error. (0)" qml: message: colorschemes.knsrc: Unknown Open Collaboration Service API error. (0) Could not determine type of archive file ' "/tmp/wl2124-88853-ZvonMidnight.colors" ' The XML file that the knsrc file is point to is available at https://autoconfig.kde.org/ocs/providers.xml It doesn't look like any XML file I've ever seen. Aleix, is any of this valid? I'm beginning to suspect that the bug is with our KNS data provider rather than with Discover.
Git commit a6d70b828d805f2cca271318d216344cec30204f by Aleix Pol. Committed on 18/02/2018 at 16:17. Pushed by apol into branch 'master'. Remove wrong icon CCMAIL: notmart@gmail.com M +0 -3 ocs/providers.xml https://commits.kde.org/websites/autoconfig-kde-org/a6d70b828d805f2cca271318d216344cec30204f
Uh different thing
This same "Unknown Open Collaboration Error" code 103 occurs in Discover and any of the "Get New <X>" items from System Settings. I presume it's caused by packages that aren't Plasma 5 compatible. As a new (but enthusiastic) KDE user, I'm intrigued by all the available eye candy. Ideally, themes, icon packs, etc., that aren't Plasma 5 compatible would be filtered out. It's a bummer to see some item that's 5-star rated only to get a cryptic error. Or to check it out on store.kde.org and see that it's 9 years old. If I could help fix this, I gladly would.
Scott, we are currently discussing plans to improve and curate the KNS content. It's great to hear that you're like to help out with this! Once we have more concrete details, I'll let you know how you can participate.
Created attachment 111242 [details] notification error Not sure whether it's related but I also have many notification errors involving knsrc so I'll just leave the attachment here for verification.
Created attachment 111243 [details] notification error 2 Another one. I have many notification errors before 5.12.3 concerning <something>.knsc. Now with 5.12.3, I have still a few of those left which I provided in these two attachments.
kts, can you please file new bugs for those issues?
I cannot reproduce this anymore, so I'm guessing it was an error on the service provider.