On Sat, Sep 24, 2005 at 12:38:37AM +0200, Adrian Neumaier wrote:
> Package: pydf
> Version: 0.9.8.5
> Severity: grave
> Justification: renders package unusable
> 
> After doing an 'apt-get install pydf' and trying to start it i get the
> following output:
> 
> [EMAIL PROTECTED]:~$ pydf
> Filesystem        Size   Used  Avail  Use%         Mounted on
> Traceback (most recent call last):
>   File "/usr/bin/pydf", line 395, in ?
>     display_mp(mp)
>   File "/usr/bin/pydf", line 261, in display_mp
>     used_f = myformat(used, sizeformat, fs_blocksize)
>   File "/usr/bin/pydf", line 151, in myformat
>     return hfnum(size, 1024)
>   File "/usr/bin/pydf", line 117, in hfnum
>     power = int(log(size)/log(base))
> ValueError: math domain error
>

ok, as usual :-), send me the output of:

stat -f /mnt
python -c 'import os; print os.statvfs("/mnt")'

where /mnt is the mountpoint that is problematic (if you do not have
many, could you check them all?)

if you see any negative numbers in the last statement, re-run it with
different versions of python - and we should file a bug against python
(and I'll make some extra checks in pydf so that it is more robust)

I checked it on escher.debian.org and could not reproduce the bug.


-- 
 -----------------------------------------------------------
| Radovan GarabĂ­k http://kassiopeia.juls.savba.sk/~garabik/ |
| __..--^^^--..__    garabik @ kassiopeia.juls.savba.sk     |
 -----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!

Reply via email to