wicd-curses crashes with AttributeError: 'WiredComboBox' object has no attribute 'set_w'

Bug #490416 reported by Rahul Jain
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
wicd
Fix Released
Low
Andrew Psaltis

Bug Description

Version: wicd-1.6.2.2
Distribution: Gentoo

rahul@googly ~ $ wicd-curses

EXCEPTION! Please report this to the maintainer and file a bug report with the backtrace below:

EXCEPTION! Please report this to the maintainer and file a bug report with the backtrace below:
Traceback (most recent call last):
  File "/usr/lib/wicd/wicd-curses.py", line 1055, in <module>
    main()
  File "/usr/lib/wicd/wicd-curses.py", line 986, in main
    ui.run_wrapper(run)
  File "/usr/lib/python2.6/site-packages/urwid/raw_display.py", line 234, in run_wrapper
    return fn()
  File "/usr/lib/wicd/wicd-curses.py", line 89, in wrapper
    return func(*args, **kargs)
  File "/usr/lib/wicd/wicd-curses.py", line 994, in run
    app = appGUI()
  File "/usr/lib/wicd/wicd-curses.py", line 524, in __init__
    self.update_netlist(force_check=True,firstrun=True)
  File "/usr/lib/wicd/wicd-curses.py", line 89, in wrapper
    return func(*args, **kargs)
  File "/usr/lib/wicd/wicd-curses.py", line 645, in update_netlist
    self.wiredCB.get_body().build_combobox(self.frame,ui,3)
  File "/usr/lib/wicd/curses_misc.py", line 384, in build_combobox
    self.set_w(w)
AttributeError: 'WiredComboBox' object has no attribute 'set_w'

rahul@googly ~ $ python --version
Python 2.6.4

Revision history for this message
Andrew Psaltis (nacl) wrote :

There are API changes in urwid 0.9.9 that broke wicd-curses.

You need to downgrade to 0.9.8.4 and it should work. wicd 1.7.0 will support all recent urwid versions, and support has already been committed to the bzr repository.

Changed in wicd:
assignee: nobody → Andrew Psaltis (nacl)
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
David Paleino (dpaleino) wrote :

Unfortunately, us distributors can't just stop development of other pieces of software (read: python-urwid) just for wicd.

Here's a patch to apply to 1.6.2.2.

David

Revision history for this message
Andrew Psaltis (nacl) wrote :

This was fixed in the 1.7 release.

Changed in wicd:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.