Your message dated Fri, 17 Jan 2020 23:07:45 -0500
with message-id <20200118040745.GA33983@DarthVader>
and subject line Re: Bug#948404: glances crashes on startup
has caused the Debian Bug report #948404,
regarding glances crashes on startup
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 ow...@bugs.debian.org
immediately.)


-- 
948404: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948404
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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 <module>
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  adduser                3.118
ii  init-system-helpers    1.57
ii  lsb-base               11.1.0
ii  node-normalize.css     8.0.1-3
ii  python3                3.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-influxdb    5.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-pystache    0.5.4-6.1

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

-- no debconf information

--- End Message ---
--- Begin Message ---
On Fri, Jan 17, 2020 at 09:16:29AM +0530, Vasudev Kamath wrote:
> 
> Hi Daniel,
> 
> Daniel Echeverry <epsi...@debian.org> 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: <LOOPBACK,UP,LOWER_UP> 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: <NO-CARRIER,BROADCAST,MULTICAST,UP> 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: <BROADCAST,MULTICAST,UP,LOWER_UP> 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

Hi!

Thanks for your confirmation!

Regards

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to