Bug 450328

Summary: Discover gets stuck when I try to update an specific icon theme from KDE Store
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Dan Leinir Turthra Jensen <admin>
Status: RESOLVED WORKSFORME    
Severity: normal CC: aleixpol, alexander.lohnau, kdelibs-bugs-null, nate, postix
Priority: NOR    
Version First Reported In: 5.102.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot showing the error message when Discover gets stuck
GHNS window showing the same error message

Description Patrick Silva 2022-02-15 18:07:55 UTC
SUMMARY
I'm trying to update newaita-reborn icon theme from KDE Store, Discover gets stuck and gives no feedback.
I see this output in Konsole:

kf.newstuff.core: "Error transferring https://codeload.github.com/cbrnix/Newaita-reborn/zip/refs/heads/main - server replied: "
kf.newstuff.core: "Download of \"Newaita-reborn\" failed, error: Error transferring https://codeload.github.com/cbrnix/Newaita-reborn/zip/refs/heads/main - server replied: "
KNS error in "Icons" : KNSCore::InstallationError "Download of \"Newaita-reborn\" failed, error: Error transferring https://codeload.github.com/cbrnix/Newaita-reborn/zip/refs/heads/main - server replied: " QVariant(Invalid)
kns error "/usr/share/knsrcfiles/icons.knsrc" "Download of \"Newaita-reborn\" failed, error: Error transferring https://codeload.github.com/cbrnix/Newaita-reborn/zip/refs/heads/main - server replied: "
qml: message: icons.knsrc: Download of "Newaita-reborn" failed, error: Error transferring https://codeload.github.com/cbrnix/Newaita-reborn/zip/refs/heads/main - server replied:

EXPECTED RESULT
Discover does not get stuck and give us feedback when a failure occurs

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.1
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 1 Patrick Silva 2022-05-15 14:17:50 UTC
Created attachment 148851 [details]
screenshot showing the error message when Discover gets stuck

In fact there is feedback. Please see the screenshot attached to this comment.
Comment 2 Patrick Silva 2022-05-15 14:20:49 UTC
Created attachment 148852 [details]
GHNS window showing the same error message

GHNS shows the same error message and gets stuck at 'Updating...'.
Comment 3 Nate Graham 2022-05-16 15:57:08 UTC
Seems like a bug in the KNS framework code.