Package: iotop
Version: 0.4-2
Severity: important

While I am not quite certain where iotop found a non-ascii character from,
I am certain it should not do this when it does:

Traceback (most recent call last):
  File "/usr/bin/iotop", line 16, in <module>
    main()
  File "/usr/lib/pymodules/python2.6/iotop/ui.py", line 547, in main
    main_loop()
  File "/usr/lib/pymodules/python2.6/iotop/ui.py", line 537, in <lambda>
    main_loop = lambda: run_iotop(options)
  File "/usr/lib/pymodules/python2.6/iotop/ui.py", line 450, in run_iotop
    return run_iotop_window(None, options)
  File "/usr/lib/pymodules/python2.6/iotop/ui.py", line 446, in run_iotop_window
    ui.run()
  File "/usr/lib/pymodules/python2.6/iotop/ui.py", line 126, in run
    self.process_list.duration)
  File "/usr/lib/pymodules/python2.6/iotop/ui.py", line 405, in refresh_display
    print l
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 
138: ordinal not in range(128)

The unicode character (LATIN SMALL LETTER A WITH DIAERESIS) in question is
part of the Finnish alphabet, so it probably will occur every now and then
on command lines.

And even if it does not, iotop should be unicode clean.

Cheers,
-Juha



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages iotop depends on:
ii  python [python-ctypes]  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-support          1.0.11           automated rebuilding support for P

iotop recommends no packages.

iotop suggests no packages.

-- no debconf information



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

Reply via email to