Package: pydf
Version: 0.9.9
Severity: normal
% df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb1 1929068 285488 1545588 16% /
tmpfs 1038364 0 1038364 0% /lib/init/rw
udev 10240 112 10128 2% /dev
tmpfs 1038364 16 1038348 1% /dev/shm
AFS 162129586583720873246720 0
162129586583720873246720 0% /afs
% pydf
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 1884M 279M 1509M 14.8 [# ] /
Traceback (most recent call last):
File "/usr/bin/pydf", line 402, in ?
display_mp(mp)
File "/usr/bin/pydf", line 267, in display_mp
size_f = myformat(size, sizeformat, fs_blocksize)
File "/usr/bin/pydf", line 158, in myformat
return hfnum(size, 1024)
File "/usr/bin/pydf", line 124, in hfnum
power = int(log(size)/log(base))
ValueError: math domain error
%
Well, 137+ ZiB is obviously too big for Python.
Peter
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-1-686
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages pydf depends on:
ii python 2.4.3-11 An interactive high-level object-o
pydf recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]