wicd cannot handle an essid made of only numbers

Bug #453641 reported by Anish Bhatt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wicd
Fix Released
Medium
Dan O'Reilly

Bug Description

Wicd fails to connect to an network with an essid composed of only numbers. The bug is 2 places, first of which is already fixed in 1.6 bzr branch. I am attaching a patch for the second one.

Bug is in wicd 1.6.2.2

Trace is as follows :

2009/10/16 14:49:25 :: Traceback (most recent call last):
2009/10/16 14:49:25 :: File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
2009/10/16 14:49:25 :: self.run()
2009/10/16 14:49:25 :: File "/usr/lib/python2.6/site-packages/wicd/networking.py", line 330, in run
2009/10/16 14:49:25 :: self._connect()
2009/10/16 14:49:25 :: File "/usr/lib/python2.6/site-packages/wicd/networking.py", line 854, in _connect
2009/10/16 14:49:25 :: self.generate_psk_and_authenticate(wiface)
2009/10/16 14:49:25 :: File "/usr/lib/python2.6/site-packages/wicd/networking.py", line 71, in wrapper
2009/10/16 14:49:25 :: return func(self, *__args, **__kargs)
2009/10/16 14:49:25 :: File "/usr/lib/python2.6/site-packages/wicd/networking.py", line 911, in generate_psk_and_authenticate
2009/10/16 14:49:25 :: self.network['psk'] = wiface.GeneratePSK(self.network)
2009/10/16 14:49:25 :: File "/usr/lib/python2.6/site-packages/wicd/wnettools.py", line 1060, in GeneratePSK
2009/10/16 14:49:25 :: return misc.RunRegex(key_pattern, misc.Run(cmd))
2009/10/16 14:49:25 :: File "/usr/lib/python2.6/site-packages/wicd/misc.py", line 118, in Run
2009/10/16 14:49:25 :: close_fds=fds, cwd='/', env=tmpenv)
2009/10/16 14:49:25 :: File "/usr/lib/python2.6/subprocess.py", line 621, in __init__
2009/10/16 14:49:25 :: errread, errwrite)
2009/10/16 14:49:25 :: File "/usr/lib/python2.6/subprocess.py", line 1126, in _execute_child
2009/10/16 14:49:25 :: raise child_exception
2009/10/16 14:49:25 :: TypeError: coercing to Unicode: need string or buffer, int found

Revision history for this message
Anish Bhatt (anish7) wrote :
Revision history for this message
Dan O'Reilly (oreilldf) wrote :

Thanks, I've committed the patch.

Changed in wicd:
assignee: nobody → Dan O'Reilly (oreilldf)
importance: Undecided → Medium
milestone: none → 1.6.3
status: New → Fix Committed
Changed in wicd:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.