Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295033 - ncurses support net-misc/wicd-1.6.2.2 broken with dev-python/urwid-0.9.9
Summary: ncurses support net-misc/wicd-1.6.2.2 broken with dev-python/urwid-0.9.9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-29 12:39 UTC by Nikolaj Šujskij
Modified: 2009-12-01 01:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolaj Šujskij 2009-11-29 12:39:37 UTC
net-misc/wicd-1.6.2.2.ebuild declares:

ncurses? ( >=dev-python/urwid-0.9.8.4 )

But now there's dev-python/urwid-0.9.9 in Portage (~amd64), and it seems to change API:

% wicd-curses
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/lib64/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/lib64/wicd/curses_misc.py", line 384, in build_combobox
    self.set_w(w)
AttributeError: 'WiredComboBox' object has no attribute 'set_w'

Downgrade to dev-python/urwid-0.9.8.4 fixes problem.

I suggest changing dependency to something like
ncurses? ( ~dev-python/urwid-0.9.8.4 )
Or block urwid 0.9.9
Comment 1 Rahul Jain 2009-11-30 23:09:15 UTC
I would just change the dependency to <=dev-python/urwid-0.9.8.4
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-12-01 01:32:02 UTC
+  01 Dec 2009; Jeremy Olexa <darkside@gentoo.org> -wicd-1.5.9-r1.ebuild,
+  -wicd-1.6.2.ebuild, wicd-1.6.2.2.ebuild, +wicd-1.7.0_alpha1.ebuild,
+  metadata.xml:
+  Removed old versions. Limit urwid dep on 1.6.2.2 (bug #295033). Version
+  bump to 1.7.0_alpha1 which has major tray changes and many minor changes
+  including an ability to not install the gtk UI (bug #293538)

Fixed.