Red Hat Bugzilla – Bug 864127
gpk-update-viewer fails to show package description with
Last modified: 2017-09-14 07:58:20 EDT
Description of problem:
Selecting an update in the list fails to show the summary (emptied), instead an error is thrown to stdout.
Version-Release number of selected component (if applicable):
gnome-packagekit-2.28.3-4 (EL 6.3, x64)
Any time, having gpk-update-viewer lanched with LANG=fr_FR or LANG=fr_FR.UTF-8.
Does not apply to LANG=en_US.
Steps to Reproduce:
1. Open a console
2. Type LANG=fr_FR gpk-update-viewer
3. Select a base repo package to update in the list
Throws to the console :
WARNING **: Invalid markup string: Erreur la ligne 1: Le nom d'entit nbsp n'est pas connu.
The above message (missing the letters with diacritics) means : Error on line 1: The entity name nbsp is unknown.
No error thrown to stdout but summary shown, like it is acting with the locale en_US.
"nbsp" in the error message probably refers to XML entity.
The system is set to LANG=fr_FR.UTF-8 default locale.
Bug 744906 seems at first similar but is about dual arch (x86 + x64) simultaneous package update.
Some none RHEL base repo packages show correctly in summary.
Created attachment 626883 [details]
Working case (LANG=en_US)
Update package description shows, no error thrown to STDOUT/STDERR.
Created attachment 626884 [details]
Non working case (LANG=fr_FR)
Update package description doesn't show, error thrown to STDOUT/STDERR : ** (gpk-update-viewer:24185): WARNING **: Invalid markup string: Erreur à la ligne 1: Le nom d'entité <<nbsp>> n'est pas connu
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
GMarkupParser does not know about -- I'm not sure this is a gnome-packagekit bug more of a PackageKit not parsing the yum data correctly. Some questions first, if I may:
* What desktop type is that?
* Is this happening for every package, or just one?
* What repos are installed? Satellite or RHN should give you a proper package description, rather than falling back to the ChangeLogs
Repos activated :
CentOS-6 - Base
CentOS-6 - Plus
CentOS-6 - Contrib
CentOS-6 - CR
CentOS-6 - Extras
CentOS-6 - Updates
Note that descriptions always show with LANG=en_US while never with above repos.
My usual desktop is KDE 4.3.4 (kdebase-4.3.4-6.el6.x86_64).
The present version of GPK (gnome-packagekit-2.28.3-7.el6.x86_64) still have presents this bug.
Having a couple of new updates, I tested gpk-update-viewer with :
and it always shows :
** (gpk-update-viewer:19768): WARNING **: Invalid markup string: Erreur à la ligne 1: L'entité nommée nbsp est inconnue
and only when a description has to be shown. Is this case, with en_US, en_EN, es_ES, it_IT, whether ISO or UTF8 is used it would have showned the description.
I've just installed a fresh Centos 6.5 x64 in a VirtualBox instance, choosing French as the language. I also choosed French for the interface in Gnome. Today gpk-update-viewer showed the same bug. I was logged on with a non privileged user.
(In reply to Richard Hughes from comment #5)
> GMarkupParser does not know about -- I'm not sure this is a
> gnome-packagekit bug more of a PackageKit not parsing the yum data
> correctly. Some questions first, if I may:
> * What desktop type is that?
> * Is this happening for every package, or just one?
> * What repos are installed? Satellite or RHN should give you a proper
> package description, rather than falling back to the ChangeLogs
> -- Thanks.
I can provide you the VirtualBox VM to speed your tests, if it can help.