[pkg-wicd-maint] Bug#896600: wicd-curses: "AttributeError: 'Text' object has no attribute 'keypress'" in Preferences → Advance Settings → Backend when selecting "external"
Axel Beckert
abe at debian.org
Sun Apr 22 19:42:56 BST 2018
Package: wicd-curses
Version: 1.7.4+tb2-6
Severity: normal
Tags: upstream
In wicd-curses, a crash can be provoked when going into preferences by
pressing "P", then choosing the tab "Advanced Settings", then selecting
the pull-down select box, pressing Enter to see the list of options, and
then choosing "external" (the default) and pressing Enter again to
accept that setting.
It seems irrelevant which setting was set beforehand.
Backtrace of the crash:
~ → 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 1131, in keypress
return self.body.keypress( (maxcol, remaining), key )
File "/usr/share/wicd/curses/curses_misc.py", line 277, in keypress
key = self._w.keypress(size, key)
File "/usr/lib/python2.7/dist-packages/urwid/container.py", line 1131, in keypress
return self.body.keypress( (maxcol, remaining), key )
File "/usr/lib/python2.7/dist-packages/urwid/container.py", line 1590, in keypress
key = self.focus.keypress(tsize, key)
File "/usr/lib/python2.7/dist-packages/urwid/decoration.py", line 840, in keypress
return self._original_widget.keypress((maxcol,maxrow-top-bottom), key)
File "/usr/lib/python2.7/dist-packages/urwid/listbox.py", line 999, in keypress
key = focus_widget.keypress((maxcol,),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 2271, in keypress
key = w.keypress((mc,) + size[1:], key)
AttributeError: 'Text' object has no attribute 'keypress'
This bug report looks very similar to https://bugs.debian.org/814090,
but seems unrelated on a first glance.
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (990, 'unstable'), (900, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (201, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: i386 (i686)
Kernel: Linux 4.16.0-trunk-686-pae (SMP w/2 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
Versions of packages wicd-curses depends on:
ii python 2.7.15~rc1-1
ii python-urwid 2.0.1-2
ii wicd-daemon 1.7.4+tb2-6
Versions of packages wicd-curses recommends:
ii sudo 1.8.21p2-3
wicd-curses suggests no packages.
Versions of packages wicd depends on:
ii wicd-daemon 1.7.4+tb2-6
Versions of packages wicd-cli depends on:
ii python 2.7.15~rc1-1
ii wicd-daemon 1.7.4+tb2-6
Versions of packages wicd-cli recommends:
ii sudo 1.8.21p2-3
Versions of packages wicd-gtk depends on:
ii python 2.7.15~rc1-1
ii python-glade2 2.24.0-5.1+b1
ii python-gtk2 2.24.0-5.1+b1
ii wicd-daemon 1.7.4+tb2-6
Versions of packages wicd-gtk recommends:
ii menu 2.1.47+b1
ii python-notify 0.1.1-4
Versions of packages wicd-daemon depends on:
ii adduser 3.117
ii dbus 1.12.6-2
ii debconf 1.5.66
ii dhcpcd5 6.10.1-1
ii iputils-ping 3:20161105-1
ii isc-dhcp-client 4.3.5-4
ii lsb-base 9.20170808
ii psmisc 23.1-1
ii pump 0.8.24-7.1
ii python 2.7.15~rc1-1
ii python-dbus 1.2.6-1
ii python-gobject-2 2.28.6-13+b1
ii python-wicd 1.7.4+tb2-6
ii udhcpc 1:1.27.2-2
ii wireless-tools 30~pre9-12+b1
ii wpasupplicant 2:2.6-15
Versions of packages wicd-daemon recommends:
ii rfkill 2.31.1-0.5
Versions of packages wicd-daemon suggests:
ii pm-utils 1.4.1-17
Versions of packages python-wicd depends on:
ii net-tools 1.60+git20161116.90da8a0-2
ii python 2.7.15~rc1-1
Versions of packages python-wicd suggests:
ii ethtool 1:4.15-1
ii iproute2 4.15.0-3
-- debconf information:
* wicd/users:
More information about the pkg-wicd-maint
mailing list