Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384761 - net-misc/wicd - wicd-curses client fail hard with urwid-1.0.0.
Summary: net-misc/wicd - wicd-curses client fail hard with urwid-1.0.0.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Thomas Kahle (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-28 08:39 UTC by Piotr Karbowski (RETIRED)
Modified: 2011-10-02 11:50 UTC (History)
3 users (show)

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


Attachments
patch for wicd-curses (wicd-urwid10.patch,895 bytes, text/plain)
2011-10-01 10:59 UTC, Morozov Alexandr
Details
extremely new patch for wicd to work with all urwids (urwid10.patch,1.20 KB, text/plain)
2011-10-01 18:43 UTC, Morozov Alexandr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Karbowski (RETIRED) gentoo-dev 2011-09-28 08:39:42 UTC
wicd-curses fail after any keyboard or mouse click with new urwid-1.0.0, it does work ok with 0.9.9.1.

Error log:

% wicd-curses

Traceback (most recent call last):
  File "/usr/share/wicd/curses/wicd-curses.py", line 905, 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 916, in update_ui
    self.handle_keys(input_data[1])
  File "/usr/share/wicd/curses/wicd-curses.py", line 885, in handle_keys
    if urwid.is_mouse_event(k):
AttributeError: 'module' object has no attribute 'is_mouse_event'
Comment 1 Morozov Alexandr 2011-10-01 10:59:02 UTC
Created attachment 288425 [details]
patch for wicd-curses

This function in urwid.util now. So here very big patch for /usr/share/wicd/curses/wicd-curses.py.
Comment 2 Thomas Kahle (RETIRED) gentoo-dev 2011-10-01 12:32:54 UTC
(In reply to comment #1)
> Created attachment 288425 [details]
> patch for wicd-curses
> 
> This function in urwid.util now. So here very big patch for
> /usr/share/wicd/curses/wicd-curses.py.

Will this patch break using urwid-0.9.9.1 ?  I'll check back with upstream.
Comment 3 Morozov Alexandr 2011-10-01 12:55:39 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Created attachment 288425 [details]
> > patch for wicd-curses
> > 
> > This function in urwid.util now. So here very big patch for
> > /usr/share/wicd/curses/wicd-curses.py.
> 
> Will this patch break using urwid-0.9.9.1 ?  I'll check back with upstream.

I think it will break.
Comment 4 Thomas Kahle (RETIRED) gentoo-dev 2011-10-01 16:18:25 UTC
+*wicd-1.7.1_beta2-r7 (01 Oct 2011)
+
+  01 Oct 2011; Thomas Kahle <tomka@gentoo.org> wicd-1.7.0.ebuild,
+  wicd-1.7.0-r1.ebuild, wicd-1.7.1_beta2-r3.ebuild, wicd-1.7.1_beta2-r4.ebuild,
+  wicd-1.7.1_beta2-r6.ebuild, +wicd-1.7.1_beta2-r7.ebuild,
+  +files/wicd-1.7.1_beta2-urwid-1.0.patch:
+  Bump urwid dep in -r7, restrict urwid in all other versions (Bug 384761)
+
Comment 5 Thomas Kahle (RETIRED) gentoo-dev 2011-10-01 16:19:24 UTC
(In reply to comment #4)
> +*wicd-1.7.1_beta2-r7 (01 Oct 2011)
> +
> +  01 Oct 2011; Thomas Kahle <tomka@gentoo.org> wicd-1.7.0.ebuild,
> +  wicd-1.7.0-r1.ebuild, wicd-1.7.1_beta2-r3.ebuild,
> wicd-1.7.1_beta2-r4.ebuild,
> +  wicd-1.7.1_beta2-r6.ebuild, +wicd-1.7.1_beta2-r7.ebuild,
> +  +files/wicd-1.7.1_beta2-urwid-1.0.patch:
> +  Bump urwid dep in -r7, restrict urwid in all other versions (Bug 384761)
> +

Uups.  To quick with my enter.  I ment to say: Fixed in -r7 which depends on >=urwid-1.0, while all other now depend on <urwid-1.0.
Thanks for reporting and thanks for the patch.
Comment 6 Morozov Alexandr 2011-10-01 18:43:46 UTC
Created attachment 288461 [details]
extremely new patch for wicd to work with all urwids

Guys, here is a patch, that drop restriction on urwid version.
Comment 7 Thomas Kahle (RETIRED) gentoo-dev 2011-10-01 19:49:33 UTC
(In reply to comment #6)
> Created attachment 288461 [details]
> extremely new patch for wicd to work with all urwids
> 
> Guys, here is a patch, that drop restriction on urwid version.

Yes that's possible, thanks.  I'll wait a bit to see what upstream does though.
It might be time to snapshopt a 2.0 version.  These guys will never ever release anything it seems.
Comment 8 Nikolaj Šujskij 2011-10-02 07:01:12 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Created attachment 288461 [details]
> > extremely new patch for wicd to work with all urwids
> > 
> > Guys, here is a patch, that drop restriction on urwid version.
> 
> Yes that's possible, thanks.  I'll wait a bit to see what upstream does though.
> It might be time to snapshopt a 2.0 version.  These guys will never ever
> release anything it seems.

Development was stalled: https://launchpad.net/wicd/+announcement/6738
But restarted recently: https://launchpad.net/wicd/+announcement/8934