Bug 53139 - traceback after selection of skipped packages
traceback after selection of skipped packages
Product: Red Hat Linux
Classification: Retired
Component: up2date (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Adrian Likins
Jay Turner
Depends On:
  Show dependency treegraph
Reported: 2001-09-04 10:22 EDT by James Manning
Modified: 2015-01-07 18:51 EST (History)
3 users (show)

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

Attachments (Terms of Use)

  None (edit)
Description James Manning 2001-09-04 10:22:04 EDT
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 13:31:43 EDT
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.