Re: taking care of some IOErrors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux