Bug 61541 - unhandled PartialReadError() in up2date
Summary: unhandled PartialReadError() in up2date
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: up2date
Version: 7.1
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Adrian Likins
QA Contact: Jay Turner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-03-21 09:13 UTC by Martin Norback
Modified: 2015-01-07 23:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-05-22 13:04:07 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2002:050 0 normal SHIPPED_LIVE Updated up2date and rhn_register clients available 2002-03-22 05:00:00 UTC

Description Martin Norback 2002-03-21 09:13:35 UTC
Description of Problem:
When using up2date to update, I got an uncaught PartialReadError()

How Reproducible:
Use up2date when up2date server fails :)

Actual Results:
  File "/usr/sbin/up2date", line 1131, in ?
    main()
  File "/usr/sbin/up2date", line 388, in main
    sys.exit(batchRun(argObj.getLong("list"), pkgNames, fullUpdate))
  File "/usr/sbin/up2date", line 1077, in batchRun
    up2date.getPackage(pkg, printPkg, printRetrieveHash)
  File "/usr/share/rhn/up2date_client/up2date.py", line 1120, in getPackage
    buffer = doCall(packageSource.getPackage, pkg, msgCallback, progressCallback)
  File "/usr/share/rhn/up2date_client/up2date.py", line 400, in doCall
    ret = apply(method, args, kwargs)
  File "/usr/share/rhn/up2date_client/rpmSource.py", line 124, in getPackage
    package = source.getPackage(pkg, MsgCallback, progressCallback)
  File "/usr/share/rhn/up2date_client/rpmSource.py", line 557, in getPackage
    buffer = self._readFD(fd, size, filePath, progressCallback = progressCallback)
  File "/usr/share/rhn/up2date_client/rpmSource.py", line 509, in _readFD
    raise PartialReadError()

Expected Results:
Better error reporting

Comment 1 Adrian Likins 2002-03-26 00:11:28 UTC
This should be fixed in version 2.7.61 or higher (already fixed in cvs)

Those versions should be available soon.

Comment 2 Matt Jamison 2003-05-22 13:04:07 UTC
closing bug.


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