Package: dstat
Version: 0.6.2-1
Severity: normal

Hi,
after an upgrade from sarge to etch dstat stopped working with my setup:

$ dstat
--cputotal- -disk/total -net/total- ---paging-- ---system--
usr sys idl|_read write|_recv _send|__in_ _out_|_int_ _csw_
Traceback (most recent call last):
  File "/usr/bin/dstat", line 1799, in ?
    main()
  File "/usr/bin/dstat", line 1750, in main
    o.extract()
  File "/usr/bin/dstat", line 728, in extract
    if not re.match('(md[0-9]+)', name):
  File "/usr/lib/python2.3/sre.py", line 132, in match
    return _compile(pattern, flags).match(string)
TypeError: expected string or buffer

of course this looks like a problem in parsing disk info, in fact:

$ dstat -cngy
--cputotal- -net/total- ---paging-- ---system--
usr sys idl|_recv _send|__in_ _out_|_int_ _csw_
  4   2  94|   0     0 | 179k   46k|  12    52
100   0   0| 234B  575B|  76k    0 | 154   644

my setup:

$ mount
/dev/ubd/disc2/disc on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw)

please tell me if you need further informations.
as a side note it might be worth adding a reportbug hook to
automatically list additional informations about the target system.

thanks,
filippo

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-bytemark-uml-20040706-1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dstat depends on:
ii  python                        2.3.5-11   An interactive high-level object-o

-- no debconf information


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

Reply via email to