Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541936 - net-misc/wicd-1.7.3: wicd-curses doesn't work with dev-python/urwid-1.3.0
Summary: net-misc/wicd-1.7.3: wicd-curses doesn't work with dev-python/urwid-1.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Kahle (RETIRED)
URL: https://bugs.launchpad.net/wicd/+bug/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-02 19:22 UTC by Michał Górny
Modified: 2015-08-06 08:09 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-03-02 19:22:17 UTC
Traceback (most recent call last):
  File "/usr/share/wicd/curses/wicd-curses.py", line 1307, in <module>
    main()
  File "/usr/share/wicd/curses/wicd-curses.py", line 1224, in main
    ui.run_wrapper(run)
  File "/usr/lib64/python2.7/site-packages/urwid/display_common.py", line 757, in run_wrapper
    return fn()
  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 1234, in run
    app = appGUI()
  File "/usr/share/wicd/curses/wicd-curses.py", line 754, in __init__
    self.update_status()
  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 924, in update_status
    self.set_status):
  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 177, in check_for_wireless
    ('$C', ip))
  File "/usr/share/wicd/curses/wicd-curses.py", line 974, in set_status
    self.update_ui()
  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 1156, in update_ui
    input_data = ui.get_input_nonblocking()
AttributeError: 'Screen' object has no attribute 'get_input_nonblocking'

Looks like an unfortunate API change.
Comment 1 Thomas Kahle (RETIRED) gentoo-dev 2015-03-06 19:58:06 UTC
Reported upstream.
Comment 2 calculuspenguin 2015-08-05 22:45:36 UTC
I haven't tested this, but Arch has this patch in their build that looks like it would fix it up.

https://projects.archlinux.org/svntogit/packages.git/tree/trunk/wicd-1.7.3-urwid-1.3.0.patch?h=packages/wicd
Comment 3 Thomas Kahle (RETIRED) gentoo-dev 2015-08-06 08:09:16 UTC
Due to a situation I can not test this either.  The deamon must run to start wicd-curses, but I can't start the deamon on that machine.  I've looked at the source code of urwid-1.2.2 and the API that the patch uses seems to be there already.  So I hope it will fly.  Please reopen if it does not work with urwid-1.2.2.

Thanks for finding the patch!

+  06 Aug 2015; Thomas Kahle <tomka@gentoo.org>
+  +files/wicd-1.7.3-urwid-1.3.0.patch, +wicd-1.7.3-r1.ebuild:
+  Fix python implementation deps and urwid-1.3.0 compat (523030, 541936)