[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#816597: wicd-curses: Wicd crashes on keypress after start AttributeError



Package: wicd-curses
Version: 1.7.4+tb2-1
Severity: normal

Dear Maintainer,

i started wicd-curses and press "key down". Sometimes wicd crashes with
the following message:


---------
vh@box ~ [i] % wicd-curses 
Traceback (most recent call last):
  File "/usr/share/wicd/curses/wicd-curses.py", line 1149, in call_update_ui
    self.update_ui(True)
  File "/usr/share/wicd/curses/wicd-curses.py", line 97, in wrapper
    return func(*args, **kargs)
  File "/usr/share/wicd/curses/wicd-curses.py", line 1162, in update_ui
    self.handle_keys(input_data)
  File "/usr/share/wicd/curses/wicd-curses.py", line 1131, in handle_keys
    k = self.frame.keypress(self.size, k)
  File "/usr/lib/python2.7/dist-packages/urwid/container.py", line 1128, in keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/usr/lib/python2.7/dist-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python2.7/dist-packages/urwid/decoration.py", line 836, in keypress
    return self._original_widget.keypress((maxcol,), key)
  File "/usr/share/wicd/curses/wicd-curses.py", line 474, in keypress
    key = ComboBox.keypress(self, size, key)
  File "/usr/share/wicd/curses/curses_misc.py", line 497, in keypress
    return self._w.keypress(size, key)
  File "/usr/lib/python2.7/dist-packages/urwid/container.py", line 2269, in keypress
    key = w.keypress((mc,) + size[1:], key)
AttributeError: 'Text' object has no attribute 'keypress'
----------

This might be related to #814090.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (1000, 'testing'), (950, 'testing'), (300, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages wicd-curses depends on:
ii  python-urwid  1.3.1-2
pn  python:any    <none>
ii  wicd-daemon   1.7.4+tb2-1

Versions of packages wicd-curses recommends:
ii  sudo  1.8.15-1.1

wicd-curses suggests no packages.

Versions of packages wicd depends on:
ii  wicd-daemon  1.7.4+tb2-1

Versions of packages wicd-cli depends on:
pn  python:any   <none>
ii  wicd-daemon  1.7.4+tb2-1

Versions of packages wicd-cli recommends:
ii  sudo  1.8.15-1.1

Versions of packages wicd-gtk depends on:
ii  python-glade2  2.24.0-4
ii  python-gtk2    2.24.0-4
pn  python:any     <none>
ii  wicd-daemon    1.7.4+tb2-1

Versions of packages wicd-gtk recommends:
ii  gksu           2.0.2-9
ii  python-notify  0.1.1-4

Versions of packages wicd-daemon depends on:
ii  adduser          3.113+nmu3
ii  dbus             1.10.6-1
ii  debconf          1.5.58
ii  ethtool          1:4.2-1
ii  iproute2         4.3.0-1+b1
ii  iputils-ping     3:20121221-5+b2
ii  isc-dhcp-client  4.3.3-8
ii  lsb-base         9.20160110
ii  net-tools        1.60+git20150829.73cef8a-2
ii  psmisc           22.21-2.1+b1
ii  python-dbus      1.2.0-3
ii  python-gobject   3.18.2-2
ii  python-wicd      1.7.4+tb2-1
pn  python:any       <none>
ii  wireless-tools   30~pre9-8
ii  wpasupplicant    2.3-2.3

Versions of packages wicd-daemon recommends:
ii  rfkill  0.5-1

Versions of packages wicd-daemon suggests:
pn  pm-utils  <none>

Versions of packages python-wicd depends on:
pn  python:any  <none>

-- debconf information:
* wicd/users:


Reply to: