Bug 1963189

Summary: "Games" and "Education and Science" categories are empty in Gnome Software application
Product: Red Hat Enterprise Linux 8 Reporter: doug.baggett
Component: gnome-softwareAssignee: Milan Crha <mcrha>
Status: CLOSED NOTABUG QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.4CC: jwakely, klember, rhughes
Target Milestone: beta   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-26 05:23:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Tar archive of Log file from executing "gnome-software --verbose" and Screenshot of empty category
none
Screenshot none

Description doug.baggett 2021-05-21 16:05:05 UTC
Created attachment 1785640 [details]
Tar archive of Log file from executing "gnome-software --verbose" and Screenshot of empty category

Created attachment 1785640 [details]
Tar archive of Log file from executing "gnome-software --verbose" and Screenshot of empty category

Description of problem:

When choosing the "Games" or "Education and Science" categories in the gnome-software application the page are empty. This worked in RHEL 8.3. Other categories are working fine so the issue is restricted to those two categories. This is a vanilla fresh install of RHEL 8.4.


Version-Release number of selected component (if applicable):

3.36.1-5.el8

How reproducible:

Every time


Steps to Reproduce:
1.Launch Gnome Software from dock
2.Choose "Education and Science" or "Games"
3.

Actual results:

Empty page


Expected results:

Apps should be populated on page

Additional info:

Tar archive of log from "gnome-sofware --verbose" attached for more details and troubleshooting along with screenshot of empty category

Comment 1 Milan Crha 2021-05-24 11:16:32 UTC
Thanks for a bug report. it looks like there was not found any application in the category, at least the log suggests that. It had been checking the flatpak plugin. The log also shows there's some issue with the PackageKit plugin, but I do not see what it is from the log.

Comment 2 doug.baggett 2021-05-24 11:24:39 UTC
I agree. It's odd. in looking at the log I uploaded it's clear that it's trying. Stellarium is a Scientific app for example and I see the GSPluginpackagekit fails.

Is there a way to get increased verbosity? I'm happy to assist in troubleshooting in any way that I can.
---
15:53:49:0115 PK  role now resolve
15:53:49:0115 GsPluginPackageKit Failed to find all packages for:
GsApp: [0x7f08bc007660]
kind:                desktop
state:               unknown
id:                  org.stellarium.Stellarium
unique-id:           system/package/*/desktop/org.stellarium.Stellarium/*
scope:               system
bundle-kind:         package
kudo-percentage:     0
name:                Stellarium
icon-kind:           cached
icon-name:           org.stellarium.Stellarium.png
icon-prefix:         /usr/share/app-info/icons/epel-8
summary:             Desktop Planetarium
source-00:           stellarium
content-age:         0
content-rating:      oars-1.1
launchable{desktop-id}: stellarium.desktop
reviews:             0
provides:            2
category:            Astronomy
category:            Education
category:            Science
{GnomeSoftware::Creator}: appstream
{appstream::source-file}: /usr/share/app-info/xmls/epel-8.xml.gz

Comment 3 doug.baggett 2021-05-24 11:35:50 UTC
Not sure if this is related (would seem to be) but I opened up the appstream source file referenced at the bottom. There are some URLs in the xml file that point to thumbnails, I checked and they aren't on the server. 

https://access.redhat.com/webassets/avalon/g/gnome-software/screenshots/
624x351/org.stellarium.Stellarium-2ca37ab8df3c343a1de80d02776c7ac0.png

Comment 4 Milan Crha 2021-05-24 12:37:41 UTC
The log you provided is at the maximum debug verbosity level, pity it doesn't claim also the error for the failure. I checked the code and the applications are gathered from the appstream files (mostly). The Stellarium example you pasted above has three categories.

I've enabled EPEL too, but I do not face this, I can see the applications in the Games and the Education & Science sections with no problem.

Comment 5 Milan Crha 2021-05-24 12:45:34 UTC
I see I had added also Flathub in the Flatpak. Once I removed it the view of the applications is heavily limited. There are many Education & Science applications (24), but only a few games (5, all coming from the EPEL). The PackageKit plugin doesn't claim any error here, maybe that's the reason, why it works here.

Comment 6 Milan Crha 2021-10-25 09:44:15 UTC
Thinking of it, maybe the PackageKit cache is broken in some way. Could you run :

   $ pkcon refresh force

then close the gnome-software:

  $ gnome-software --quit

or just `pkill gnome-software`, and then run the gnome-software from a terminal, to see whether it helped, please?

I verified in the Software Repositories dialog in the GNOME Software (under the menu button on the right of the window's title bar) that the "Extra EPEL" repository is enabled before I ran the pkcon command.

Comment 7 doug.baggett 2021-10-26 00:03:33 UTC
Tried the pkcon commands. Still nothing. Looked for the "Extra EPEL" repository. It's not in the list of repositories in the vanilla base install. 

I loaded RHEL 8.4 vanilla in a VM to confirm. But is still there.

Comment 8 doug.baggett 2021-10-26 00:04:19 UTC
Created attachment 1837051 [details]
Screenshot

Comment 9 Milan Crha 2021-10-26 05:23:49 UTC
(In reply to doug.baggett from comment #7)
> Looked for the "Extra EPEL" repository. It's not in the list of repositories in the vanilla base install. 

That's correct, users can add it, but the default installation doesn't have it.

> I loaded RHEL 8.4 vanilla in a VM to confirm. But is still there.

Right. From my point of view the behaviour is correct. The default repositories do not have any Game, neither Education and Science application, thus the categories are empty. Once the repositories are added, being it EPEL or Flathub.org, the categories will show the applications.

Comment 10 doug.baggett 2021-10-26 09:47:32 UTC
Was this a change documented somewhere? I filed the bug because it was part of the prior releases.

Not complaining, I just wouldn't of filed it had I known that was the case.

Comment 11 Milan Crha 2021-10-26 12:08:25 UTC
I'm sorry, I'm not sure what change you mean. I do not think there changed anything on the gnome-software side. When no application is available in certain category, then the category is empty, or with a limited content only (when only few applications are available in that category).

I do not know whether anything changed with respect of the default repositories setup, I'm sorry.

Comment 12 Hison 2022-05-30 11:58:55 UTC Comment hidden (spam)
Comment 13 Tapor 2022-06-20 14:29:07 UTC Comment hidden (spam)
Comment 14 Dafur 2022-06-22 22:35:37 UTC Comment hidden (spam)
Comment 15 sandiecotsisjgn 2022-07-29 13:48:26 UTC Comment hidden (spam)
Comment 16 sandiecotsisjgn 2022-08-01 12:38:14 UTC Comment hidden (spam)
Comment 17 beulahperrotgpx62 2022-08-01 13:54:07 UTC Comment hidden (spam)
Comment 18 beulahperrotgpx62 2022-08-01 13:56:00 UTC Comment hidden (spam)
Comment 19 KevinDilley 2022-10-24 22:30:15 UTC Comment hidden (spam)
Comment 20 JaneJLocane 2023-04-12 17:16:46 UTC Comment hidden (spam)
Comment 21 Wasquez Franq 2023-05-31 04:09:46 UTC Comment hidden (spam)