Description of problem: The python-urlgrabber module fails to raise an exception from ftp errors. Try to urlgrab() a non-existing file from an ftp server and urlgrab() will not raise an exception and just create an empty file. This bug is breaking anaconda's ability to correctly determine if the RHEL CD-ROM ISOs are loopback mounted on an ftp server. Version-Release number of selected component (if applicable): python-urlgrabber-3.1.0-5.el5.noarch How reproducible: every time Steps to Reproduce: 1. use attached script to download the non-existing file ftp://ftp.redhat.com/pub/foo.txt Actual results: script reports a successful download Expected results: urlgrab should raise an exception Additional info: ftp://ftp.redhat.com/pub/foo.txt really does not exist $ lftp -e 'get pub/foo.txt; exit' ftp.redhat.com get: Access failed: 550 Failed to open file. (pub/foo.txt)
Created attachment 330299 [details] demo script
Example run of demo script from comment #1 $ ./get-redhat-foo.py Saved as foo.txt $ cat foo.txt $
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?".
There's no patch, urlgrabber in RHEL-6 is v. different and there's no IT linked ... so I'm going to NAK this.
Development Management has reviewed and declined this request. You may appeal this decision by reopening this request.