Red Hat Bugzilla – Bug 72120
view advisory => traceback
Last modified: 2015-01-07 18:59:35 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020809
Description of problem:
For the "kernel" package I clicked on the "View Advisory" button on the
"Packages Flagged to be Skipped" page:
Traceback (most recent call last):
File "/usr/share/rhn/up2date_client/gui.py", line 934, in showAdvisory
advisories = rhnErrata.getAdvisoryInfo(rowData)
TypeError: unsubscriptable object
Version-Release number of selected component (if applicable):
taking a look...
fixed in 2.9.53
*** Bug 72425 has been marked as a duplicate of this bug. ***
On redhat-list someone reported this bug to be still present in Psyche:
Should be fixed in 3.1.50 or so. Or at least, every way/time/place I can
possibly think of hitting "view advisory" seems to work
up2date 3.1.46-2 in Severn gives:
No package selected. Select a package first.
Is that a work-around for empty advisories or unexpected behaviour?
Not really. You have to select a package before it
can get the advisory info for it.
Funny that you think I'm *that* stupid. Of course did I select a package
beforehand. But this is Severn -- a beta -- so, what should I get instead of "No
package selected. Select a package first."? An empty advisory maybe?
Not assuming anyone is stupid (aside from myself, and thats no assumption...).
But there is a distinction between selecting
package to be updated (check the check mark) and
selecting it for seeing advisory info (click the
row so that it's highlighted in blue) that is
fairly non obvious. (to be fixed, but low on
the priority list...).
I should probabaly add a comment about that
in the error text, if I can come up with wording
that doesnt confuse the matter more.
Well, that's a bad wording indeed, especially due to the "Select all packages"
checkbox at the top. At least the error message could say to "highlight" a
package. That would have helped [me].
Or you could highlight the top entry by default. ;)