Bug 443513

Summary: GHNS window says 'Unknown Open Collaboration Service API error. (0)' when I select 'Show only updateable entries' filter immediately on opening
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Dan Leinir Turthra Jensen <admin>
Status: RESOLVED FIXED    
Severity: normal CC: kdelibs-bugs-null, nate, postix, shubhamarora
Priority: NOR    
Version First Reported In: 6.0.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot
screenshot of "Unknown Open Collaboration Service API error. (0)" error

Description Patrick Silva 2021-10-09 11:53:05 UTC
SUMMARY
I can't reproduce this bug consistently, sometimes it occurs on Arch Linux
and neon unstable after the steps below.

STEPS TO REPRODUCE
1. open a GHNS window
2. immediately click on the second combobox on top and choose "Show only updateable entries"
3. 

OBSERVED RESULT
error message seen in the attached screenshot

EXPECTED RESULT
no error message

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.22.90
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Graphics Platform: Wayland

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 1 Patrick Silva 2021-10-09 11:54:45 UTC
Created attachment 142278 [details]
screenshot
Comment 2 postix 2022-08-16 11:16:07 UTC
I can reproduce this bug on

Operating System: openSUSE Tumbleweed 20220813
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5

however, my steps to reproduce are different:

1. Open "Window Manager Scripts" KCM
2. Open "Get New Scripts"
3. Search a term like "KDE Snap Assist"
4. Search something else like "1875687" (the script's ID in the store)
5. Search the same term as in step 3.

The message `Network error 5: operation canceled` appears.
Comment 3 postix 2022-08-16 11:20:37 UTC
So if I 

1) search for the exact term like `KDE Snap Assist` (in the effects' GHNS window), which just gives a single result and then
2) search something else, which may give any result and
3) finally search the exact term `KDE Snap Assist` again

the error is always reproducible for me.
Comment 4 Nate Graham 2022-08-17 16:07:04 UTC
Hmm, I can't reproduce that.
Comment 5 postix 2022-08-17 16:10:07 UTC
(In reply to Nate Graham from comment #4)
> Hmm, I can't reproduce that.

When I tried to reproduce it today, using Frameworks 5.97, I get the error `Unknown Open Collaboration Service API error. (0)` instead.
Comment 6 Nate Graham 2022-08-17 16:10:40 UTC
I can reproduce that.
Comment 7 Patrick Silva 2023-02-16 20:14:50 UTC
Created attachment 156321 [details]
screenshot of "Unknown Open Collaboration Service API error. (0)" error

Currently I get a different error after the provided steps:
"Unknown Open Collaboration Service API error. (0)"

Please see the screenshot attached to this comment.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Graphics Platform: Wayland
Comment 8 Patrick Silva 2025-04-23 15:31:26 UTC
Cannot reproduce.

Operating System: Arch Linux 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.12.24-1-lts (64-bit)
Graphics Platform: Wayland