FS#17946 - [wicd] Icon does not show / wicd-curses does not run on a tty

Attached to Project: Arch Linux
Opened by Mauro Santos (R00KIE) - Thursday, 21 January 2010, 16:44 GMT
Last edited by Isenmann Daniel (ise) - Saturday, 30 January 2010, 10:38 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Isenmann Daniel (ise)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
1) Wicd's icon does not show on xfce, the name of the icon is now wicd-gtk but the desktop files still as a reference to wicd-client. Also the desktop file does not cleanly pass desktop-file-validate. The attached .desktop file works for me and cleanly passes the validation.

2) I'm not sure if it is a bug or not but wicd-curses doesn't run on a tty, however it does run fine in a terminal, like xfce's terminal or xterm.

Additional info:
wicd 1.7.0-1

Steps to reproduce:
1) Look at the Network submenu of xfce's menu, there is no icon for wicd

2) Switch into a tty and try to run wicd-curses, it fails with the following errors:

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:

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/share/wicd/curses/wicd-curses.py", line 1039, in <module>
main()
File "/usr/share/wicd/curses/wicd-curses.py", line 978, 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/share/wicd/curses/wicd-curses.py", line 89, in wrapper
return func(*args, **kargs)
File "/usr/share/wicd/curses/wicd-curses.py", line 986, in run
app = appGUI()
File "/usr/share/wicd/curses/wicd-curses.py", line 577, in __init__
self.update_status()
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 720, in update_status
self.set_status):
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 159, in check_for_wireless
('$C', wireless_ip))
File "/usr/share/wicd/curses/wicd-curses.py", line 772, in set_status
self.update_ui()
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 913, in update_ui
input_data = ui.get_input_nonblocking()
File "/usr/lib/python2.6/site-packages/urwid/raw_display.py", line 339, in get_input_nonblocking
return self._input_iter.next()
File "/usr/lib/python2.6/site-packages/urwid/raw_display.py", line 352, in _run_input_iter
codes = self._get_gpm_codes() + \
File "/usr/lib/python2.6/site-packages/urwid/raw_display.py", line 405, in _get_gpm_codes
codes.extend(self._encode_gpm_event())
File "/usr/lib/python2.6/site-packages/urwid/raw_display.py", line 444, in _encode_gpm_event
s = self.gpm_mev.stdout.readline()
AttributeError: 'NoneType' object has no attribute 'stdout'
This task depends upon

Closed by  Isenmann Daniel (ise)
Saturday, 30 January 2010, 10:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with pkgversion -2
Comment by Doug Penner (DarwinSurvivor) - Thursday, 21 January 2010, 23:12 GMT
I have opened a bug on the wicd tracker regarding this issue:
https://bugs.launchpad.net/wicd/+bug/510931
Comment by Gerardo Exequiel Pozzi (djgera) - Friday, 22 January 2010, 03:38 GMT
Upstream says:

"Andrew Psaltis wrote 4 hours ago: #4

This is not a bug in wicd-curses, but a bug in urwid. The urwid developer already has a fix in his code repository, and it will be present in the next urwid release (as for when that is going to happen is unknown to me)

As a workaround, please install (and enable) gpm on your system."
Comment by Isenmann Daniel (ise) - Tuesday, 26 January 2010, 12:11 GMT
New version is out of python-urwid 0.9.9.1
I will update the package asap and then this bug should be fixed.
Comment by Ignacio Galmarino (igalmarino) - Tuesday, 26 January 2010, 15:31 GMT
Wicd icon is not displayed either in kde 4.3

Loading...