Your message dated Thu, 13 Mar 2014 17:01:55 +0100
with message-id <[email protected]>
and subject line Re: Bug#741385: glances: Please test 1.7.5-1~beta0
has caused the Debian Bug report #741385,
regarding glances: KeyError / TypeError on launch
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.)


-- 
741385: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741385
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: glances
Version: 1.7.4-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

Since my update from 1.7.3-2 to 1.7.4-1, glances refuses to start :

$ glances
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/glances/glances.py", line 1222, in
__get_process_stats
self.cmdline_cache[procstat['pid']]
KeyError: 1
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/glances", line 9, in <module>
load_entry_point('Glances==1.7.4', 'console_scripts', 'glances')()
File "/usr/lib/python3/dist-packages/glances/glances.py", line 4892, in main
stats.update()
File "/usr/lib/python3/dist-packages/glances/glances.py", line 1790, in update
self.__update__(input_stats)
File "/usr/lib/python3/dist-packages/glances/glances.py", line 1760, in
__update__
self.glancesgrabprocesses.update()
File "/usr/lib/python3/dist-packages/glances/glances.py", line 1292, in update
procstat = self.__get_process_stats(proc)
File "/usr/lib/python3/dist-packages/glances/glances.py", line 1224, in
__get_process_stats
self.cmdline_cache[procstat['pid']] = ' '.join(proc.cmdline)
TypeError: can only join an iterable

Regards,

Sébastien KALT



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (980, 'unstable'), (970, 'testing'), (960, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-5.slh.4-aptosid-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages glances depends on:
ii  adduser         3.113+nmu3
ii  lsb-base        4.1+Debian12
ii  python3         3.3.4-1
ii  python3-psutil  1.2.1-1+b1
pn  python3:any     <none>

Versions of packages glances recommends:
ii  python3-jinja2  2.7.2-2

glances suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
On 13/03/2014 16:46, Sébastien Kalt wrote:
> 2014-03-13 13:28 GMT+01:00 Geoff <[email protected] 
> <mailto:[email protected]>>:
> […] 
> Ok, it seems there was some kind of conflict between python3-psutil and psutil
> version installed with pip3 (version 2.0.0).

Alright, I recommend playing with virtualenv to avoid conflicting with system
wide deployed packages.


>     The package is available here:
>             http://deb.kaliko.me/debian/pool/main/g/glances/
> 
> So, after uninstalling version 2.0.0 with pip, and only keeping 
> python3-psutil,
> both glances version (from unstable and from your link) work fine !

Great, thanks for the feedback :)

> It seems it isn't a Debian bug, sorry for the disturbance.

No problem, closing the bug report then :)

Cheers,
Geoff

--- End Message ---

Reply via email to