Your message dated Fri, 6 Feb 2015 15:22:14 +0100
with message-id <[email protected]>
and subject line Re: Bug#776588: python3-psutil: import fails with TypeError in
LXC
has caused the Debian Bug report #776588,
regarding python3-psutil: import fails with TypeError in LXC
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
776588: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776588
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-psutil
Version: 2.1.1-1
Hello,
trying to import "psutil" in an LXC container (amd64 guest and host)
fails both for Python 2:
| $ python -c 'import psutil'
| Traceback (most recent call last):
| File "<string>", line 1, in <module>
| File "/usr/lib/python2.7/dist-packages/psutil/__init__.py", line 1444, in
<module>
| _last_cpu_times = cpu_times()
| File "/usr/lib/python2.7/dist-packages/psutil/__init__.py", line 1439, in
cpu_times
| return _psplatform.cpu_times()
| File "/usr/lib/python2.7/dist-packages/psutil/_pslinux.py", line 231, in
cpu_times
| return scputimes(*fields)
| TypeError: __new__() takes exactly 8 arguments (1 given)
... and Python 3:
| Traceback (most recent call last):
| File "<string>", line 1, in <module>
| File "/usr/lib/python3/dist-packages/psutil/__init__.py", line 1444, in
<module>
| _last_cpu_times = cpu_times()
| File "/usr/lib/python3/dist-packages/psutil/__init__.py", line 1439, in
cpu_times
| return _psplatform.cpu_times()
| File "/usr/lib/python3/dist-packages/psutil/_pslinux.py", line 231, in
cpu_times
| return scputimes(*fields)
| TypeError: __new__() missing 7 required positional arguments: 'user', 'nice',
'system', 'idle', 'iowait', 'irq', and 'softirq'
This does not happen on my host system or in a schroot, so I suppose
this is somehow platform specific? LXC should be fairly reproducible,
but of course I'm happy to try additional debugging steps/test
potential fixes.
I tried some older versions (1.2.1 and 1.1.3) and they fail in the
same way, so it's not a (recent) regression.
Thanks,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Hey Sandro,
sorry for the delay!
Sandro Tosi [2015-01-29 23:34 +0000]:
> I just uploaded 2.2.0 to experimental, as soon as it reaches a mirror
> near you, could you give it a try and see if something changes? I dont
> expect to, but upstream will ask that information anyway ;)
It seems this issue got fixed with the latest LXC 1.1. Now both the
current unstable as well as 2.2 in experimental work fine. Thus
closing this bug, sorry for the noise!
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
signature.asc
Description: Digital signature
--- End Message ---