Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#24136 - [wicd] doesn't display 5Ghz channel correctly

Attached to Project: Arch Linux
Opened by kanghaiyang (luckydog) - Saturday, 07 May 2011, 01:59 GMT
Last edited by Allan McRae (Allan) - Saturday, 28 April 2012, 16:02 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Isenmann Daniel (ise)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The current channel_pattern in wicd/wnettools.py can only display one/two digits, but in 5ghz channel, the channel number is three digits.

The patch to fix the problem:

--- wicd/wnettools.py 2011-02-06 17:33:59 +0000
+++ wicd/wnettools.py 2011-05-07 01:03:06 +0000
@@ -45,7 +45,7 @@
_re_mode = (re.I | re.M | re.S)
essid_pattern = re.compile('.*ESSID:"?(.*?)"?\s*\n', _re_mode)
ap_mac_pattern = re.compile('.*Address: (.*?)\n', _re_mode)
-channel_pattern = re.compile('.*Channel:?=? ?(\d\d?)', _re_mode)
+channel_pattern = re.compile('.*Channel:?=? ?(\d*)', _re_mode)
strength_pattern = re.compile('.*Quality:?=? ?(\d+)\s*/?\s*(\d*)', _re_mode)
altstrength_pattern = re.compile('.*Signal level:?=? ?(\d+)\s*/?\s*(\d*)', _re_mode)
signaldbm_pattern = re.compile('.*Signal level:?=? ?(-\d\d*)', _re_mode)
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 28 April 2012, 16:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  Upstream report fix released in 1.7.1
Comment by Jelle van der Waa (jelly) - Saturday, 07 May 2011, 10:11 GMT
please report the patch upstream, so everyone can use this fix
Comment by Isenmann Daniel (ise) - Sunday, 08 May 2011, 14:14 GMT

Loading...