Bug 789380 - Urwid 1.0.0 breaks wicd (and probably other things)
Summary: Urwid 1.0.0 breaks wicd (and probably other things)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: wicd
Version: 16
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 781791 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-10 16:06 UTC by spiffytech
Modified: 2012-03-02 13:06 UTC (History)
8 users (show)

Fixed In Version: wicd-1.7.1-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-28 15:36:25 UTC
Type: ---


Attachments (Terms of Use)

Description spiffytech 2012-02-10 16:06:37 UTC
Description of problem:
wicd-curses crashes when a keystroke is entered:

EXCEPTION! Please report this to the maintainer and file a bug report with the backtrace below:
Traceback (most recent call last):
  File "/usr/share/wicd/curses/wicd-curses.py", line 904, in call_update_ui
    self.update_ui(True)                                
  File "/usr/share/wicd/curses/wicd-curses.py", line 89, in wrapper
    return func(*args, **kargs)
  File "/usr/share/wicd/curses/wicd-curses.py", line 915, in update_ui
    self.handle_keys(input_data[1])
  File "/usr/share/wicd/curses/wicd-curses.py", line 884, in handle_keys
    if urwid.is_mouse_event(k):
AttributeError: 'module' object has no attribute 'is_mouse_event'


Version-Release number of selected component (if applicable):
python-urwid 1.0.0
wicd-curses 1.7.0


How reproducible:
100% reproducible


Steps to Reproduce:
1. Run wicd-curses
2. Hit a key
3. Watch it die
  
Actual results:
It dies


Expected results:
It doesn't die

Additional info:
This may be related to this[0] (resolved) Debian bug, in which the upgrade to urwid 1.0.0 broke lots of things that depended on it. Maybe the fix can be ported over?

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645681

Comment 1 David Cantrell 2012-02-10 19:31:27 UTC
This looks like it's fixed in wicd-1.7.1 final.  I'm updating rawhide to that, but will prepare an update for F-16 with the patch.

Comment 2 David Cantrell 2012-02-10 19:51:58 UTC
*** Bug 781791 has been marked as a duplicate of this bug. ***

Comment 3 David Cantrell 2012-02-28 15:36:25 UTC
No time to do an F-16 update, marking this as CLOSED RAWHIDE.

Comment 4 xaphir 2012-03-02 13:06:29 UTC
I'm looking for some clarification on this because this bug has been a problem for some time now.  This was a problem in F15.  Are we going to see a fix for this in F16, and if so, when?

Also I've been monitoring the builds of wicd at:

http://koji.fedoraproject.org/koji/packageinfo?packageID=10509

None of those builds for Fedora fixes this problem.  Specifically, I've tested up to wicd-1.7.1-0.3.b2.fc17 and there has been no change of behavior here; I continue to get the error as reported by Brian Cottingham.


Note You need to log in before you can comment on or make changes to this bug.