Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 82821 - Close "Progress" window, goes ahead anyway
Summary: Close "Progress" window, goes ahead anyway
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: up2date
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Bret McMillan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 79579 CambridgeTarget
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:
Environment:
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
    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.


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