Comment 7 for bug 1434238

Revision history for this message
Axel Beckert (xtaran) wrote : Re: wicd-curses crashed with AttributeError in keypress(): 'Text' object has no attribute 'keypress'

Control: tag -1 + help
Control: retitle -1 wicd-curses: crashes with "AttributeError in keypress(): 'Text' object has no attribute 'keypress'" if wired connection is shown and the first keypress happens only after several seconds

Hi together,

<email address hidden> wrote:
> AttributeError: 'Text' object has no attribute 'keypress'

Valentin Heinz wrote:
> AttributeError: 'Text' object has no attribute 'keypress'

Christian Heinrich wrote:
> AttributeError: 'Text' object has no attribute 'keypress':A1
> Master    1

deenes wrote on Launchpad:
> AttributeError: 'Text' object has no attribute 'keypress'

I've just uploaded an updated wicd package to Debian Unstable which
fixes many outstanding issues in Debian and Ubuntu.

Unfortunately I haven't yet found a bug fix for this issue.

I though could at least trace it down so far that I can reliably
reproduce it and know what circumstance need to be present:

Requirements:

* The wired interface needs to be shown, i.e. either "Always show
  wired interface" is on or the wired interface has link.

How to reproduce reliably:

* Start wicd-curses and don't press any keys.
* Wait until "wired-default" is no more highlighted, i.e. no more
  displayed inverted.
* Press more or less any key. ("H" for help does not immediately
  crash, but first shows the help and crashes when you quit the help
  dialog.)

Probably the right way to tackle this is to find out what unhighlights
and hence unselects the wired-default connection (and instead selects
something which can't receive keypresses) and then make it stop doing
that.

But I've so far not yet found what unselects the wired connection in
the TUI. Any help (further debugging, patches, suggestions) is
appreciated here.

  Regards, Axel
--
 ,''`. | Axel Beckert <email address hidden>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
  `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE