Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #204366 > unrolled thread
| Started by | Rob McCathie <korrode@gmail.com> |
|---|---|
| First post | 2019-01-13 08:20 +0100 |
| Last post | 2019-01-13 09:50 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.user
iotop not working Rob McCathie <korrode@gmail.com> - 2019-01-13 08:20 +0100
Re: iotop not working Curt <curty@free.fr> - 2019-01-13 09:50 +0100
| From | Rob McCathie <korrode@gmail.com> |
|---|---|
| Date | 2019-01-13 08:20 +0100 |
| Subject | iotop not working |
| Message-ID | <xfIdP-3Jd-1@gated-at.bofh.it> |
Hi List,
I run Stretch, I've just installed iotop and when I try to run it I get
this:
# iotop
Traceback (most recent call last):
File "/usr/sbin/iotop", line 17, in <module>
main()
File "/usr/lib/python3/dist-packages/iotop/ui.py", line 620, in main
main_loop()
File "/usr/lib/python3/dist-packages/iotop/ui.py", line 610, in <lambda>
main_loop = lambda: run_iotop(options)
File "/usr/lib/python3/dist-packages/iotop/ui.py", line 508, in run_iotop
return curses.wrapper(run_iotop_window, options)
File "/usr/lib/python3.5/curses/__init__.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/lib/python3/dist-packages/iotop/ui.py", line 501, in
run_iotop_window
ui.run()
File "/usr/lib/python3/dist-packages/iotop/ui.py", line 155, in run
self.process_list.duration)
File "/usr/lib/python3/dist-packages/iotop/ui.py", line 434, in
refresh_display
lines = self.get_data()
File "/usr/lib/python3/dist-packages/iotop/ui.py", line 415, in get_data
return list(map(format, processes))
File "/usr/lib/python3/dist-packages/iotop/ui.py", line 388, in format
cmdline = p.get_cmdline()
File "/usr/lib/python3/dist-packages/iotop/data.py", line 292, in
get_cmdline
proc_status = parse_proc_pid_status(self.pid)
File "/usr/lib/python3/dist-packages/iotop/data.py", line 196, in
parse_proc_pid_status
key, value = line.split(':\t', 1)
ValueError: not enough values to unpack (expected 2, got 1)
Any help appreciated.
--
Regards,
Rob McCathie
[toc] | [next] | [standalone]
| From | Curt <curty@free.fr> |
|---|---|
| Date | 2019-01-13 09:50 +0100 |
| Message-ID | <xfJCW-4s6-5@gated-at.bofh.it> |
| In reply to | #204366 |
On 2019-01-13, Rob McCathie <korrode@gmail.com> wrote:
> Hi List,
>
> I run Stretch, I've just installed iotop and when I try to run it I get
> this:
<snip>
> parse_proc_pid_status
> key, value = line.split(':\t', 1)
> ValueError: not enough values to unpack (expected 2, got 1)
>
>
> Any help appreciated.
>
>
Looks like this bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844173
For which this is the fix:
https://repo.or.cz/iotop.git/commitdiff/7814f30a5ed65acd07f284bba991ca557788ee80
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web