Bug 72120 - view advisory => traceback
Summary: view advisory => traceback
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: up2date
Version: 8.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Adrian Likins
QA Contact: Jay Turner
URL:
Whiteboard:
: 72425 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-08-21 08:50 UTC by Michael Schwendt
Modified: 2015-01-07 23:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-27 00:24:24 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Schwendt 2002-08-21 08:50:53 UTC
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[1])
TypeError: unsubscriptable object


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

How reproducible:
Always

Comment 1 Adrian Likins 2002-08-21 19:59:22 UTC
taking a look...

Comment 2 Adrian Likins 2002-08-22 02:35:17 UTC
fixed in 2.9.53

Comment 3 Adrian Likins 2002-08-23 19:25:06 UTC
*** Bug 72425 has been marked as a duplicate of this bug. ***

Comment 4 Michael Schwendt 2002-12-31 14:14:55 UTC
On redhat-list someone reported this bug to be still present in Psyche:
https://listman.redhat.com/pipermail/redhat-list/2002-December/162634.html

Comment 5 Adrian Likins 2003-08-06 22:35:42 UTC
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

Comment 6 Michael Schwendt 2003-09-02 09:09:43 UTC
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?

Comment 7 Adrian Likins 2003-09-02 21:28:48 UTC
work around?

Not really. You have to select a package before it
can get the advisory info for it. 

Comment 8 Michael Schwendt 2003-09-02 21:51:07 UTC
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?


Comment 9 Adrian Likins 2003-09-02 22:20:56 UTC
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. 


Comment 10 Michael Schwendt 2003-09-02 22:57:32 UTC
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. ;)



Note You need to log in before you can comment on or make changes to this bug.