Fail to generate PSK with non ascii chars in wpa password

Bug #390680 reported by Nyha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wicd
Fix Released
Low
Dan O'Reilly

Bug Description

Wicd 1.6 on Arch Linux and Gentoo

Password contains Swedish letters å and ö

Wicd.log show:
2009/06/22 15:33:33 :: Putting interface up...
2009/06/22 15:33:33 :: Generating psk...
2009/06/22 15:33:33 :: Exception in thread Thread-5:
2009/06/22 15:33:33 :: Traceback (most recent call last):
2009/06/22 15:33:33 :: File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
2009/06/22 15:33:33 :: self.run()
2009/06/22 15:33:33 :: File "/usr/lib/python2.6/site-packages/wicd/networking.py", line 834, in run
2009/06/22 15:33:33 :: self.generate_psk_and_authenticate(wiface)
2009/06/22 15:33:33 :: File "/usr/lib/python2.6/site-packages/wicd/networking.py", line 71, in wrapper
2009/06/22 15:33:33 :: return func(self, *__args, **__kargs)
2009/06/22 15:33:33 :: File "/usr/lib/python2.6/site-packages/wicd/networking.py", line 891, in generate_psk_and_authenticate
2009/06/22 15:33:33 :: self.network['psk'] = wiface.GeneratePSK(self.network)
2009/06/22 15:33:33 :: File "/usr/lib/python2.6/site-packages/wicd/wnettools.py", line 1021, in GeneratePSK
2009/06/22 15:33:33 :: cmd = [wpa_pass_path, network['essid'], str(network['key'])]
2009/06/22 15:33:33 :: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe5' in position 1: ordinal not in range(128)
2009/06/22 15:33:33 ::

Nyha (nyhafyha)
description: updated
Andrew Psaltis (nacl)
Changed in wicd:
milestone: none → 1.6.2
Dan O'Reilly (oreilldf)
Changed in wicd:
assignee: nobody → Dan O'Reilly (oreilldf)
status: New → In Progress
Dan O'Reilly (oreilldf)
Changed in wicd:
status: In Progress → Fix Committed
Changed in wicd:
importance: Undecided → Low
Dan O'Reilly (oreilldf)
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.