Bug 82821

Summary: Close "Progress" window, goes ahead anyway
Product: [Retired] Red Hat Linux Reporter: Warren Togami <wtogami>
Component: up2dateAssignee: Bret McMillan <bretm>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 9CC: gafton, mihai.ibanescu
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-04-22 15:00:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 79579, 100644, 120092    

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
    self.pList.run()
  File "/usr/share/rhn/up2date_client/packageList.py", line 81, in run
    self.progressCallback)
  File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 151, in
availablePackageList
    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
    progressCallback(100,100)
  File "/usr/share/rhn/up2date_client/progress.py", line 50, in setProgress
    self.xml.get_widget("progressBar").set_fraction(i)
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):
up2date-3.1.1-1

How reproducible:
Always

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.