Package: linhdd
Version: 0.4-2
Severity: grave
Justification: renders package unusable


When I try to run linHDD it gives this error:
Traceback (most recent call last):
  File "/usr/bin/linHDD", line 559, in ?
    main()
  File "/usr/bin/linHDD", line 554, in main
    DriveWin()
  File "/usr/bin/linHDD", line 411, in __init__
    self.frac = float(self.perc.rstrip("%")) / 100
AttributeError: 'NoneType' object has no attribute 'rstrip'

The source code on this lines is:

self.prt_lst = []
self.prt_lst = self.get_prt_lst(init_drv)
self.d1 = self.get_params(init_drv)
self.perc = self.get_free(self.prt_lst[0])
if self.perc == '':
    self.perc = "0%"
    self.frac = 0
else:
    self.frac = float(self.perc.rstrip("%")) / 100
hdico = gtk.gdk.pixbuf_new_from_xpm_data(hdd_xpm)

Thanks for packing for debian !!!

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=es_MX, LC_CTYPE=es_MX (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages linhdd depends on:
ii  hdparm                        7.7-1      tune hard disk parameters for high
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-gtk2                   2.12.0-1   Python bindings for the GTK+ widge

linhdd recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to