Bug#948404: glances crashes on startup

2020-01-16 Thread Vasudev Kamath


Hi Daniel,

Daniel Echeverry  writes:

> On Wed, Jan 08, 2020 at 11:25:05PM -0500, Daniel Echeverry wrote:
>> tags 948404 + moreinfo unreproducible
>> thanks
>> 
>> Hi!
>> 
>> Thanks for your report! Unfortunately I can't reproduce this bug, I install 
>> glances via ap-get install and works fine, However, I think that bug is 
>> related with this other bug[1], One Question, Do you have network interfaces?
>> 
>> Regards.
>> 
>> [1]: https://github.com/nicolargo/glances/issues/1535
>
> Hi!
>
> Excuse me, In the reply, I forgot to cc you, do you see the message? 

Yes I indeed have network interface

1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
3: docker0:  mtu 1500 qdisc noqueue state 
DOWN mode DEFAULT group default 
link/ether 02:42:11:40:33:45 brd ff:ff:ff:ff:ff:ff
8: wlp3s0:  mtu 1500 qdisc pfifo_fast state UP 
mode DORMANT group default qlen 1000
link/ether 64:5a:ed:e8:cc:87 brd ff:ff:ff:ff:ff:ff


But now I can launch glances fine. I'm not sure what really changed. I
did a couple of update of system initially glances from pip was only
getting launched.

I think for now the bug can safely be closed. Thanks for maintaining
glances in Debian

Cheers,
Vasudev



Bug#948404: glances crashes on startup

2020-01-08 Thread Daniel Echeverry
tags 948404 + moreinfo unreproducible
thanks

Hi!

Thanks for your report! Unfortunately I can't reproduce this bug, I install 
glances via ap-get install and works fine, However, I think that bug is related 
with this other bug[1], One Question, Do you have network interfaces?

Regards.

[1]: https://github.com/nicolargo/glances/issues/1535


signature.asc
Description: PGP signature


Bug#948404: glances crashes on startup

2020-01-08 Thread Vasudev Kamath
Package: glances
Version: 3.1.1-1
Severity: grave
Justification: Renders glances use less

Dear Maintainer,

I installed glances from Debian repository and when trying to launch It crashes 
with following stack trace

Error while initializing the ip plugin ('NoneType' object has no attribute 
'split')
Traceback (most recent call last):
File "/usr/bin/glances", line 11, in 
load_entry_point('Glances==3.1.3', 'console_scripts', 'glances')()
File "/usr/lib/python3/dist-packages/glances/__init__.py", line 143, in main
start(config=config, args=args)
File "/usr/lib/python3/dist-packages/glances/__init__.py", line 112, in start
mode.serve_forever()
File "/usr/lib/python3/dist-packages/glances/standalone.py", line 151, in 
serve_forever
loop = self.__serve_forever()
File "/usr/lib/python3/dist-packages/glances/standalone.py", line 138, in 
__serve_forever
ret = not self.screen.update(self.stats, duration=adapted_refresh)
File "/usr/lib/python3/dist-packages/glances/outputs/glances_curses.py", line 
982, in update
self.flush(stats, cs_status=cs_status)
File "/usr/lib/python3/dist-packages/glances/outputs/glances_curses.py", line 
957, in flush
self.display(stats, cs_status=cs_status)
File "/usr/lib/python3/dist-packages/glances/outputs/glances_curses.py", line 
581, in display
self.__display_header(__stat_display)
File "/usr/lib/python3/dist-packages/glances/outputs/glances_curses.py", line 
646, in __display_header
self.display_plugin(stat_display["ip"])
KeyError: 'ip'
 

I tried building newer version of glances from upstream, that too fails with 
same error. I installed glances using
pip (3.1.3) and it works fine. Let me know if I can provide any more 
information. 

Cheers,

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf, arm64

Kernel: Linux 5.3.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages glances depends on:
ii  adduser3.118
ii  init-system-helpers1.57
ii  lsb-base   11.1.0
ii  node-normalize.css 8.0.1-3
ii  python33.7.5-3
ii  python3-future 0.16.0-1
ii  python3-pkg-resources  41.4.0-1
ii  python3-psutil 5.6.7-1

Versions of packages glances recommends:
ii  hddtemp 0.3-beta15-53
ii  lm-sensors  1:3.6.0-2
ii  python3-bottle  0.12.15-2
ii  python3-docker  4.1.0-1
ii  python3-influxdb5.2.0-1.1
ii  python3-matplotlib  3.1.2-1
ii  python3-netifaces   0.10.9-0.1
ii  python3-pysnmp4 4.4.6+repack1-1
ii  python3-pystache0.5.4-6.1

Versions of packages glances suggests:
ii  glances-doc 3.1.1-1
pn  python3-pynvml  

-- no debconf information