Bug 82821 - Close "Progress" window, goes ahead anyway
Summary: Close "Progress" window, goes ahead anyway
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: up2date
Version: 9
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Bret McMillan
QA Contact:
Depends On:
Blocks: 79579 CambridgeTarget 120092
TreeView+ depends on / blocked
Reported: 2003-01-27 10:49 UTC by Warren Togami
Modified: 2006-04-22 15:00 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-04-22 15:00:27 UTC

Attachments (Terms of Use)

Description Warren Togami 2003-01-27 10:49:40 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030115

Description of problem:
Between the "Channels" and "Packages Flagged to be Skipped" screen there is a
momentary "Progress Dialog" while it downloads the package list and headers.  If
you close (accidentally or on purpose because it is taking too long) the
"Progress Dialog" it displays the following traceback in the terminal and goes
ahead to the next screen.  This isn't deadly, but it probably shouldn't have
gone ahead to the next page.

TypeError: hide() takes no arguments (2 given)
Traceback (most recent call last):
  File "/usr/share/rhn/up2date_client/gui.py", line 1094, in onChannelsPageNext
  File "/usr/share/rhn/up2date_client/packageList.py", line 81, in run
  File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 151, in
    progressCallback = progressCallback )
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 112, in doCall
    ret = apply(method, args, kwargs)
  File "/usr/share/rhn/up2date_client/rpmSource.py", line 259, in listPackages
    msgCallback, progressCallback)
  File "/usr/share/rhn/up2date_client/rpmSource.py", line 583, in listPackages
  File "/usr/share/rhn/up2date_client/progress.py", line 50, in setProgress
AttributeError: 'NoneType' object has no attribute 'set_fraction'
Traceback (most recent call last):
  File "/usr/share/rhn/up2date_client/gui.py", line 1138, in onSkippedPagePrepare
    maxlength = max(map(lambda x: len(x[0][0]), self.skipPkgList)) * 8
ValueError: min() or max() arg is an empty sequence

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

How reproducible:

Steps to Reproduce:
1. Close "Progress Dialog" before it finishes.
Actual Results:  
Goes to next step when it shouldn't.

Expected Results:  
Probably should go back to the last screen (re-enable the forward button too).

Comment 1 John Thacker 2006-04-22 15:00:27 UTC
up2date is no longer shipped with Fedora Core; it's functionality 
has been replaced by pup, found in the pirut package.  The only fixes 
likely to be made to up2date in RedHat Linux and earlier Fedora Core 
versions are security fixes by Fedora Legacy.  This does not seem to 
be a security bug, so I'm closing it.

If the problem is appropriate to RHEL and occurs to a user there, it 
can be filed as such.

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