Wicd-curses crashes if key contains accents (utf-8 encoding)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wicd |
Fix Released
|
Medium
|
David Paleino | ||
wicd (Debian) |
Fix Released
|
Unknown
|
Bug Description
When I try to connect to a network with an accent in the wpa pass phrase, wicd-client said wrong password and when I try to configure this network under wicd-curses, it crashes :
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
return func(*args, **kargs)
File "/usr/share/
self.
File "/usr/share/
self.diag = WirelessSetting
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
wireless.
File "/usr/lib64/
return str(text)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 3: ordinal not in range(128)
I'm using Slackware64 -current and wicd-1.7.0
my wicd-log when I use wicd-client :
2011/02/14 11:53:08 :: Connecting to wireless network Aurelien
2011/02/14 11:53:09 :: Putting interface down
2011/02/14 11:53:09 :: Releasing DHCP leases...
2011/02/14 11:53:09 :: Setting false IP...
2011/02/14 11:53:09 :: Stopping wpa_supplicant
2011/02/14 11:53:09 :: Flushing the routing table...
2011/02/14 11:53:09 :: Putting interface up...
2011/02/14 11:53:11 :: Generating psk...
2011/02/14 11:53:11 :: Attempting to authenticate...
2011/02/14 11:53:46 :: wpa_supplicant authentication may have failed.
2011/02/14 11:53:46 :: connect result is Failed
2011/02/14 11:53:46 :: exiting connection thread
2011/02/14 11:53:47 :: Sending connection attempt result bad_pass
There is no log for wicd-curse.
I have the same issue under xterm, urxvt, tty, root or my user.
Sorry for my english.
Related branches
Changed in wicd (Debian): | |
status: | Unknown → Confirmed |
Changed in wicd: | |
milestone: | none → 1.7.1 |
Changed in wicd: | |
status: | Confirmed → Fix Committed |
Changed in wicd (Debian): | |
status: | Confirmed → Fix Released |
Changed in wicd: | |
status: | Fix Committed → Fix Released |
I had this reported in Debian.
I'll work on this ASAP.