Bug 107861 - IOError: Not a gzipped file; ValueError: min() or max() arg is an empty sequence
Summary: IOError: Not a gzipped file; ValueError: min() or max() arg is an empty sequence
Alias: None
Product: Fedora
Classification: Fedora
Component: up2date   
(Show other bugs)
Version: rawhide
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Adrian Likins
QA Contact: Fanny Augustin
Depends On:
Blocks: CambridgeBlocker
TreeView+ depends on / blocked
Reported: 2003-10-23 20:34 UTC by John Reiser
Modified: 2007-11-30 22:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-11-05 14:43:09 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 John Reiser 2003-10-23 20:34:25 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031014

Description of problem:
Running up2date in the background ("up2date &") gave this python traceback:
Traceback (most recent call last):
  File "/usr/share/rhn/up2date_client/gui.py", line 1368, in onChannelsPageNext
    self.pkgList = self.pList.getPackagesToInstall()
  File "/usr/share/rhn/up2date_client/packageList.py", line 519, in
    result = self.__skipPackages(result)
  File "/usr/share/rhn/up2date_client/packageList.py", line 548, in __skipPackages
    packageList = self.__skipFiles(packageList)
  File "/usr/share/rhn/up2date_client/packageList.py", line 569, in __skipFiles
    ignoreMsgCallback = self.ignoreMsgCallback)
  File "/usr/share/rhn/up2date_client/packageList.py", line 608, in buildHeaderList
    hdr = headerList[pkg]
  File "/usr/share/rhn/up2date_client/headers.py", line 37, in __getitem__
  File "/usr/share/rhn/up2date_client/headers.py", line 42, in __retrievePackage
   hdr, sourceType = rpcServer.doCall(self.repos.getHeader, item)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 109, in doCall
    ret = apply(method, args, kwargs)
  File "/usr/share/rhn/up2date_client/repoDirector.py", line 31, in getHeader
    return self.handlers[channel['type']].getHeader(pkg, msgCallback,
  File "/usr/share/rhn/up2date_client/rpmSource.py", line 210, in getHeader
    header = source.getHeader(pkg, progressCallback = progressCallback)
  File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line 94, in
    hdrBuf = fh.read()
  File "/usr/lib/python2.2/gzip.py", line 156, in read
  File "/usr/lib/python2.2/gzip.py", line 198, in _read
  File "/usr/lib/python2.2/gzip.py", line 110, in _read_gzip_header
    raise IOError, 'Not a gzipped file'
IOError: Not a gzipped file
Traceback (most recent call last):
  File "/usr/share/rhn/up2date_client/gui.py", line 1447, 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. up2date &  ## as root
2. click "Forward" twice
3. wait for a couple of progress dialogs.

Actual Results:  The GUI becomes non-responsive, and the terminal gets the
python traceback.

Expected Results:  GUI remains responsive and delivers up-to-date packages,
without python tracebacks.

Additional info:

Subscribed to yum channel on rawhide.

Comment 1 Paul W. Frields 2003-10-24 12:50:49 UTC
I'm pretty sure this was due to the recent rawhide tree reorganization, to which
we were alerted on fedora-test-list by Mike Harris (thank you, btw). This
problem does not seem to occur currently under up2date-4.1.9-1.

Comment 2 Max Kanat-Alexander 2003-10-29 22:16:28 UTC
This is resolved in recent up2date releases. This bug should probably be CLOSED


Comment 3 Chris Ricker 2003-11-05 14:43:09 UTC
closing -- fixed in newer releases

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