anaconda barfs (ZeroDivisionError)

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

 



hi,

I'm preparing my own image for my machines. I added Ximian Desktop 2, I
adapted the comps file, regenerated the hdlist and hdlist2 files and
everything is going fine.

However, when I install a machine with it (local FTP server, so install
is in text mode) anaconda barfs with a "ZeroDivisionError: float division".
The weird thing is, it doesn't happen when I install just the Red Hat 9
packages, but it barfs when one of the Ximian packages is being installed.

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.

The traceback of the installer is included below.

Traceback (most recent call last):
  File "/usr/bin/anaconda", line 739, in ?
    intf.run(id, dispatch, configFileData)
  File "/usr/src/build/229094-i386/install//usr/lib/anaconda/text.py",
line 459, in run
  File
"/usr/src/build/229094-i386/install//usr/lib/anaconda/dispatch.py", line
157, in gotoNext
  File
"/usr/src/build/229094-i386/install//usr/lib/anaconda/dispatch.py", line
225, in moveStep
  File
"/usr/src/build/229094-i386/install//usr/lib/anaconda/packages.py", line
817, in doInstall
  File
"/usr/src/build/229094-i386/install//usr/lib/anaconda/packages.py", line
359, in cb
  File
"/usr/src/build/229094-i386/install//usr/lib/anaconda/textw/progress_text.py",
line 55, in setPackageScale
ZeroDivisionError: float division

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