Bug 85837

Summary: can't show advisory: TypeError: unsubscriptable object
Product: [Retired] Red Hat Linux Reporter: Robert M. Riches Jr. <rm.riches>
Component: up2dateAssignee: Adrian Likins <alikins>
Status: CLOSED CURRENTRELEASE QA Contact: Fanny Augustin <fmoquete>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: dzinck, gafton, mihai.ibanescu
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-08-20 20:14:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Robert M. Riches Jr. 2003-03-08 23:49:20 UTC
Description of problem:
When attempting to view the advisory on kernel-2.4.18-26.8.0, update
responds with an error message instead of the advisory window.

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

How reproducible:
Every time I tried it.

Steps to Reproduce:
1.Don't have kernel-2.4.18-26.8.0 installed.
2.Bring up up2date.
3.Select kernel-2.4.18-26.8.0.
4.Click on 'View Advisory'.
    
Actual results:
(indentation by four spaces mine)

    Traceback (most recent call last):
      File "/usr/share/rhn/up2date_client/gui.py", line 954, in showAdvisory
        advisories = rhnErrata.getAdvisoryInfo(rowData[1])
    TypeError: unsubscriptable object

Expected results:
Up2date should display the advisory in a window.

Additional info:

Comment 1 Need Real Name 2003-08-08 06:27:52 UTC
Same happens to me, except I'm running Redhat Linux 9 and when I tried to view
the advisory for the bash update, and the error number differs:

Traceback (most recent call last):
  File "/usr/share/rhn/up2date_client/gui.py", line 1063, in showAdvisory
    advisories = rhnErrata.getAdvisoryInfo(rowData[1])
TypeError: unsubscriptable object


Comment 2 dave 2003-09-16 07:33:09 UTC
Same as Comment 1 except this was the first execution of up2date --register
after installing the new key rpm's. Was able to continue downloading packages
and scheduling.
Error msg:
[root@localhost root]# up2date --register
Traceback (most recent call last):
  File "/usr/share/rhn/up2date_client/gui.py", line 1063, in showAdvisory
    advisories = rhnErrata.getAdvisoryInfo(rowData[1])
TypeError: unsubscriptable object