Issue 507 in psutil: Enter one-line summary

1 view
Skip to first unread message

psu...@googlecode.com

unread,
May 22, 2014, 8:13:12 AM5/22/14
to psutil-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 507 by caca...@gmail.com: Enter one-line summary
http://code.google.com/p/psutil/issues/detail?id=507

What steps will reproduce the problem?
import psutil
psutil.disk_io_counters()

What is the expected output?
Something like:
sdiskio(read_count=8141, write_count=2431, read_bytes=290203,
write_bytes=537676, read_time=5868, write_time=94922)

What do you see instead?
>>> psutil.disk_io_counters()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>

File "/opt/python/lib/python2.6/site-packages/psutil-2.1.1-py2.6-linux-x86_64.egg/psutil/__init__.py",
line 1724, in disk_io_counters

File "/opt/python/lib/python2.6/site-packages/psutil-2.1.1-py2.6-linux-x86_64.egg/psutil/_pslinux.py",
line 645, in disk_io_counters
ValueError: need more than 7 values to unpack

What version of psutil are you using? What Python version?
Python-2.6.6
psutil-2.1.1


On what operating system? Is it 32bit or 64bit version?


Please provide any additional information below.


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

psu...@googlecode.com

unread,
May 22, 2014, 8:14:32 AM5/22/14
to psutil-...@googlegroups.com

Comment #1 on issue 507 by caca...@gmail.com: Enter one-line summary
http://code.google.com/p/psutil/issues/detail?id=507

Forget to append, OS is CensOS 5.4 64bit version

psu...@googlecode.com

unread,
May 26, 2014, 11:04:04 AM5/26/14
to psutil-...@googlegroups.com

Comment #2 on issue 507 by g.rodola: Enter one-line summary
http://code.google.com/p/psutil/issues/detail?id=507

psutil has been migrated from Google Code to Github (see:
http://grodola.blogspot.com/2014/05/goodbye-google-code-im-moving-to-github.html).
Please do NOT reply here but use this instead:
https://github.com/giampaolo/psutil/issues/507
Reply all
Reply to author
Forward
0 new messages