Bug 53139 - traceback after selection of skipped packages
Summary: traceback after selection of skipped packages
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: up2date   
(Show other bugs)
Version: 7.3
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Adrian Likins
QA Contact: Jay Turner
Depends On:
TreeView+ depends on / blocked
Reported: 2001-09-04 14:22 UTC by James Manning
Modified: 2015-01-07 23:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-09-04 17:31:49 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description James Manning 2001-09-04 14:22:04 UTC
Description of Problem:
RC1->RC2 up2date already completed in text mode.  doing up2date in GUI 
mode. after seeing the list of skipped packages and selecting 4 of them 
(i686 kernel, kernel-headers, kernel-source, XFree86-xfs), I get to the next 
screen "Available Package Updates", but the konsole I launched up2date 
from has a traceback on it:

jmm@jmm:/home/jmm> up2date
Traceback (innermost last):
  File "/usr/lib/python1.5/site-packages/libglade.py", line 28, in __call__
    ret = apply(self.func, a)
  File "/usr/share/rhn/up2date_client/gui.py", line 467, in 
onPackagePagePrepare    maxlength = max(map(lambda x: len(x[0]), 
self.pkgList)) * 8
ValueError: min() or max() of empty sequence

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

How Reproducible:

Steps to Reproduce:
1.  RC1->RC2 up2date
2.  RC2 up2date run
3.  select specified normally-skipped packages, click next

Actual Results:
traceback from above

Expected Results:
no traceback :)

Additional Information:
 the channel says 7.1.94, my redhat-release is 7.1.94, but the packages (like 
2.4.7-6 kernel) seem to be from 7.1.95.  I'm going to try and manually 
upgrade redhat-release and see if that changes behavior.

Comment 1 Adrian Likins 2001-09-04 17:31:43 UTC
hmm. Interesting.

Looks like all the packages you selected somehow got flagged as packages
to skip (kernel by name, Xfree-xfs by config file probabaly) and some
recently introduced gui code couldnt handle the pkgList being empty. 

Adding a check now that will/should fix this. Should be fix in 
the next version.

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