Bug 402891 - Installation exception for Development -> Java from GUI
Installation exception for Development -> Java from GUI
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: pirut (Show other bugs)
8
x86_64 Linux
low Severity low
: ---
: ---
Assigned To: Jeremy Katz
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-28 09:57 EST by Herb Holyst
Modified: 2007-12-31 09:52 EST (History)
1 user (show)

See Also:
Fixed In Version: 1.3.28
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-12-31 09:52:02 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Herb Holyst 2007-11-28 09:57:35 EST
Description of problem:


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


How reproducible: 

I attempted to install Development->Java and got an exception.
I got the following error, so I reported it.

Component: pirut
Summary: TBf0b8b6ca grabber.py:1208:_do_grab:IOError: [Errno 5] Input/output error

Traceback (most recent call last):
  File "/usr/sbin/pirut", line 363, in _apply
    output = self.applyChanges(self.mainwin)
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 802, in
applyChanges
    dlpkgs = self.downloadPackages(mainwin)
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 500, in
downloadPackages
    probs = self.downloadPkgs(dlpkgs)
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 891, in downloadPkgs
    cache=po.repo.http_caching != 'none',
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 640, in getPackage
    cache=cache
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 574, in _getFile
    result = self.mediafunc(local = local, checkfunc = checkfunc, relative =
relative, text = text, copy_local = copy_local, url = url, mediaid =
self.mediaid, name = self.name, discnum = discnum, range = (start, end))
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 206, in
pirutCDHandler
    range=kwargs["range"], copy_local=1)
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 928, in
urlgrab
    return self._retry(opts, retryfunc, url, filename)
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 846, in _retry
    r = apply(func, (opts,) + args, {})
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 916, in
retryfunc
    fo._do_grab()
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 1208, in
_do_grab
    block = self.read(bs)
IOError: [Errno 5] Input/output error

Local variables in innermost frame:
self: <addinfourl at 243455040 whose fp = None>
amount: None
new_fo: <open file
u'//var/cache/yum/InstallMedia/packages/xerces-j2-javadoc-apis-2.7.1-7jpp.2.x86_64.rpm',
mode 'wb' at 0xe82af30>
bs: 8192
ValueError: 'NoneType' object is not iterable
size: 0
 


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Jeremy Katz 2007-11-28 10:15:19 EST
Fixed in git.  You might want to verify the burn of your CD or you can work
around by disabling the InstallMedia repo from the repository editor
Comment 2 Jeremy Katz 2007-12-31 09:52:02 EST
New versions of pirut have been released that should address these issues

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