Re: anaconda barfs (ZeroDivisionError)

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

 



On Tue, Sep 02, 2003 at 03:45:34PM +0200, Armijn Hemel wrote:

[cut]
> Looking at the source, it seems like  something goes wrong in 's the code
> that updates the progress bar. I added a "try" statement in the function
> where it fails, I rebuilt anaconda and I'm about to test it. But, it
> feels very hackish, so I was wondering if this is a known problem and if
> there is a proper fix available.

I "solved" this by setting the progress bar to be at 50% all the time.

In anaconda-9.0/textw/progress_text.py I did the following.

    def setPackageScale(self, amount, total):
        #self.s.set(int(((amount * 1.0)/ total) * 100))
        self.s.set(50)

I tried to use newer versions of anaconda, but couldn't even get them
compiled...

Ah well, at least it's working :)

armijn

-- 
 ---------------------------------------------------------------------------
   armijn@xxxxxxxxxxxx | http://people.nl.linux.org/~armijn/ | Penguin Power
 ---------------------------------------------------------------------------
                 http://nl.linux.org/ | Alles over Linux
 ---------------------------------------------------------------------------




[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