Bug 446691

Summary: Discover Crash when clicking on About and fail to get update
Product: [Applications] Discover Reporter: Dimitri <dimitri.code>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED FIXED    
Severity: major CC: aleixpol, nate, xnagytibor
Priority: NOR    
Version First Reported In: 5.23.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The Update page from Discover
The backtrace (I suppose). The crash repport.

Description Dimitri 2021-12-08 17:10:31 UTC
SUMMARY

After the first time I try online updates (not the offline one), Discover and SystemSettings are no longer works. (Maybe it's just a coincidence and it's not related.)
The SystemSettings was already reported (crash at each start).
For Discover, it's different. Discover starts without problems. And I can see and navigate through the app library without problems.
However, when I click on the About page, it crashes instantly.
And when I click on the Update page, the page never appears. I can see there are update with the number of updates displayed on the page button. Doing updates by discover has become impossible.
This impossible update load is extremely similar to the loading for debug packet, which also no longer works.


STEPS TO REPRODUCE
1. Make the update for 5.23.3 to 5.23.4 (not offline is perhaps also a condition)
2. Start Discover
3. Click on Updates -> nothing work
4. Click on About page -> CRASH


OBSERVED RESULT
Can't access to updates or to about page.
(Also can't access to any setting from SystemSettings, which is another bug)

EXPECTED RESULT
Discover should load updates. I should be able to see them and to update what I want.
I should be able to access the about page (If I want to see info on Discover (like its version) to help solve the update issue.)


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
There's information I'm not sure about, given everything I don't have access to.
And since I'm French I probably made translation mistakes. Sorry about that.
Comment 1 Nate Graham 2021-12-08 20:57:39 UTC
Cannot reproduce. Can you get a backtrace of the crash? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Also what distro are you using?
Comment 2 Dimitri 2021-12-08 21:58:16 UTC
Created attachment 144361 [details]
The Update page from Discover

This is how the bug from the Update Page looks like. Nothing changes after waiting an hour.
There are nothing to show for the About Page, since it crash instantly.
Comment 3 Dimitri 2021-12-08 22:00:07 UTC
Created attachment 144362 [details]
The backtrace (I suppose). The crash repport.

This is what I can get.
I can't install debugging packages (it seems to be a similar bug).
Comment 4 Dimitri 2021-12-08 22:06:26 UTC
(In reply to Nate Graham from comment #1)
> Cannot reproduce. Can you get a backtrace of the crash? See
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports
> 
> Also what distro are you using?

As I followed the bug repporter, I assumed that everything the computer could give was given automatically. But it looks like I had to download the file and add it manually.
I can't install debugging packages, there is a similar bug for the installation of it.

I'm on KDE neon. Not the developer edition.
Comment 5 Dimitri 2021-12-08 22:15:36 UTC
It's been a long time since I'm on KDE neon without making a fresh install of the OS.
I have probably many things to clean. Maybe I should make a "sudo apt-get autoremove". I'm not sure if it is safe so I have not done it.
If necessary I will do a fresh reinstall.
Comment 6 Nagy Tibor 2021-12-08 22:20:05 UTC
I've also hit this previously, this is Bug 446555. How I recovered from this:

1. $ sudo apt install qml-module-org-kde-sonnet
2. Update the system through Discover
3. $ sudo apt-mark auto qml-module-org-kde-sonnet
Comment 7 Dimitri 2021-12-08 22:37:07 UTC
(In reply to Nagy Tibor from comment #6)
> I've also hit this previously, this is Bug 446555. How I recovered from this:
> 
> 1. $ sudo apt install qml-module-org-kde-sonnet
> 2. Update the system through Discover
> 3. $ sudo apt-mark auto qml-module-org-kde-sonnet

THANKS !!!  😄👍
Everything works now.
Comment 8 Dimitri 2021-12-08 22:55:00 UTC
I think it should be put as resolved.
And I think I have to do it that way.
Done.