[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: taking care of some IOErrors
- From: Jeremy Katz <katzj redhat com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: Re: taking care of some IOErrors
- Date: Sun, 18 May 2008 22:26:00 -0400
On Sun, 2008-05-18 at 10:53 -0400, Chris Lumens wrote:
> I know it's impossible to predict where all the IOErrors coming from bad
> media could happen. However I get the feeling that most are coming from
> repo.getPackage in yuminstall.py. With that said, I propose the
> following patch:
Honestly, I'd rather have them caught in yum (or even better perhaps --
urlgrabber) and then just have them fall over to the next mirror just
like if there were a timeout on downloading from a URL. We really
shouldn't have to be catching IOError in anaconda here :-/
But in any case, it should probably be falling over to the
_handleFailure handler and not just failing out entirely with a custom
string, etc. Given the crappiness of CD drives, even just a retry could
end up fixing things. Plus, that will then let a user fall over to the
network once we get that hooked up.
Jeremy
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]